Lock - HPE D6020 Maintenance And Service Manual

Hide thumbs Also See for HPE D6020:
Table of Contents

Advertisement

A non-default setting in either view takes precedence over a default setting in the other view. A
non-default setting in user line view takes precedence over a non-default setting in user line
class view.
A setting in user line class view does not take effect for current online users. It takes effect only
for new login users.
Examples
# Set the CLI connection idle-timeout timer 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 the character s as the terminal session activation key.
<Sysname> system-view
[Sysname] line class console
[Sysname-line-class-console] activation-key s
[Sysname-line-class-console] quit
# In the view of console line 0, restore the default terminal session activation key.
[Sysname] line console 0
[Sysname-line-console0] undo activation-key
Alternatively, you can use the following command:
[Sysname-line-console0] activation-key 13
To verify the configuration:
1.
Exit the session on console line 0.
[Sysname-line-console0] 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
76

Advertisement

Table of Contents
loading

Table of Contents