•
activation-key
•
auto-execute command
•
authentication-mode
•
command accounting
•
command authorization
•
escape-key
•
history-command max-size
•
idle-timeout
•
protocol inbound
•
screen-length
•
set authentication password
•
shell
•
terminal type
•
user-role
For commands that are available in both user line view and user line class view, the device uses the
following rules to determine the settings to be activated:
•
A setting in user line view applies only to the user line. A setting in user line class view applies 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 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] user-interface 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] user-interface 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] user-interface 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 console line.
The following message appears:
Press ENTER to get started.
104