70
[Sysname-line-class-vty] idle-timeout 15
# In AUX line class view, configure the character s as the terminal session activation key.
<Sysname> system-view
[Sysname] line class aux
[Sysname-line-class-aux] activation-key s
[Sysname-line-class-aux] quit
# In the view of AUX line 0, restore the default terminal session activation key.
[Sysname] line aux 0
[Sysname-line-aux0] undo activation-key
Alternatively, you can use the following command:
[Sysname-line-aux0] activation-key 13
To verify the configuration:
1. Exit the session on AUX line 0.
[Sysname-line-aux0] return
<Sysname> quit
2. Log in again through the user line.
The following message appears:
Press ENTER to get started.
3. Press Enter.
Pressing Enter does not start a session.
4. Enter s.
A terminal session is started.
<Sysname>
Related commands
line
lock
Use lock to lock the current user line and set the password for unlocking the line.
Syntax
lock
Default
The system does not lock any user lines.
Views
User view
Predefined user roles
network-admin
Usage guidelines
This command is not supported in FIPS mode.
This command locks the current user line to prevent unauthorized users from using the line. You
must set the password for unlocking the line as prompted. The user line is locked after you enter the
password and confirm the password.
To unlock the user line, press Enter and enter the password you set.