Lock-Key - HP Enterprise FlexFabric 12900E Series Command Reference Manual

Hide thumbs Also See for Enterprise FlexFabric 12900E Series:
Table of Contents

Advertisement

lock-key

Use
lock-key
and enables unlocking authentication.
Use
undo lock-key
Syntax
lock-key key-string
undo lock-key
Default
No user line locking key is set.
Views
User line view
User line class view
Predefined user roles
network-admin
Parameters
key-string
value in the range of 0 to 127. For example, if you configure
If you configure
individual characters, see the standard ASCII code chart. For information about ASCII code values
of combined keys that use the Ctrl key, see
Usage guidelines
As a best practice, specify a combined key as the user line locking key. If you specify a single
character as the key, the character acts only as the user line locking key. You cannot type the
character for any commands, keywords, or arguments.
Pressing the user line locking key is equivalent to executing the
command.
This command takes effect immediately.
To display the current user line locking key, use the
include lock-key
Examples
# Set the user line locking key to Ctrl+A for VTY line 0.
<Sysname> system-view
[Sysname] line vty 0
[Sysname-line-vty0] lock-key 1
[Sysname-line-vty0] quit
To verify the configuration:
1.
Press Ctrl+A.
[Sysname]
Please press Enter to unlock the screen.
2.
Press Enter and enter the login password.
Password:
to set the user line locking key. Pressing this shortcut key locks the current user line
to restore the default.
: Specifies a shortcut key. It can be a character (case sensitive), or an ASCII code
, the shortcut key is a. For information about ASCII code values of
lock-key a
command.
lock-key 1
Table
7.
display current-configuration |
65
, the shortcut key is Ctrl+A.
lock reauthentication

Advertisement

Table of Contents
loading

Table of Contents