
12
Login management commands
The device supports the FIPS mode that complies with NIST FIPS 140-2 requirements. Support for
features, commands, and parameters might differ in FIPS mode and non-FIPS mode. For more
information about FIPS mode, see
Security Configuration Guide
.
Some login management commands are available in both user line view and user line class view. For
these commands, the device uses the following rules to determine the settings to be activated:
•
A setting in user line view is applied only to the user line. A setting in user line class view is
applied to all user lines of the class.
•
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 view takes effect immediately and affects the online user. A setting in user
line class view does not affect online users. It takes effect only for new login users.
activation-key
Use
activation-key
to define a shortcut key for starting a terminal session.
Use
undo activation-key
to restore the default.
Syntax
activation-key
key-string
undo activation-key
Default
Pressing
Enter
starts a terminal session.
Views
User line view, user line class view
Predefined user roles
network-admin
Parameters
key-string
: Specifies the shortcut key. It can be a character (case sensitive), or an ASCII code value
in the range of 0 to 127. For example,
activation-key 65
defines the shortcut key
A
. If you configure
activation-key a
, the shortcut key is
a
.
Usage guidelines
This command is not supported in VTY line view or VTY line class view.
This command is available in both user line view and user line class view. 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.
To display the shortcut key you have defined, use the
display current-configuration | include
activation-key
command.
Examples
# Configure character
s
as the shortcut key for starting a terminal session on the AUX line.
<Sysname> system-view
[Sysname] line aux 0