31
[Sysname-line-class-vty] idle-timeout 15
# In AUX line class view, configure character
s
as the shortcut key for starting a terminal session.
<Sysname> system-view
[Sysname] line class aux
[Sysname-line-class-aux] activation-key s
[Sysname-line-class-aux] quit
# In AUX 0 line view, restore the default shortcut key for starting a terminal session.
[Sysname] line aux 0
[Sysname-line-aux0] undo activation-key
Alternatively:
[Sysname-line-aux0] activation-key 13
To verify the configuration:
1.
Exit the console session.
[Sysname-line-aux0] return
<Sysname> quit
2.
Log in again through the AUX 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. This method prevents unauthorized users from using the user
line.
Syntax
lock
Default
By default, the system does not lock any user line.
Views
User view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
This command is not supported in FIPS mode.
After executing the
lock
command, enter the password for unlocking the user line and confirm the
password by entering it again.