R0106-HP MSR Router Series Fundamentals Command Reference(V7)
61
• protocol inbound
• screen-length
• set authentication password
• shell
• terminal type
• user-role
Examples
# Set the user connection timeout to 15 minutes in VTY line class view.
<Sysname> system-view
[Sysname] line class vty
[Sysname-line-class-vty] idle-timeout 15
# In console line class view, configure character s as the shortcut key for starting a terminal session.
<Sysname> system-view
[Sysname] line class console
[Sysname-line-class-console] activation-key s
[Sysname-line-class-console] quit
# In console line view, restore the default shortcut key for starting a terminal session.
[Sysname] line console 0
[Sysname-line-console0] undo activation-key
Alternatively:
[Sysname-line-console0] activation-key 13
To verify the configuration:
1. Exit the console session.
[Sysname-line-console0] return
<Sysname> quit
2. Log in again through the console 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