H3C LS-3100-52P-OVS-H3 Operation Manual - page 1570
3-7
To do…
Use the command…
Remarks
Set the history command buffer
size
history-command max-size
value
Optional
The default history command
buffer size is 10. That is, a
history command buffer can
store up to 10 commands by
default.
Set the timeout time of the user
interface
idle-timeout minutes
[ seconds ]
Optional
The default timeout time of a
user interface is 10 minutes.
With the timeout time being 10
minutes, the connection to a
user interface is terminated if
no operation is performed in the
user interface within 10
minutes.
You can use the idle-timeout 0
command to disable the
timeout function.
Note that if you configure to authenticate the users in the password mode, the command level available
to users logging in to a switch depends on both the authentication-mode password command and the
user privilege level level command, as listed in
Table 3-5
.
Table 3-5 Determine the command level when users logging in to switches are authenticated in the
password mode
Scenario
Authentication
mode
User type
Command
Command level
The user privilege level level
command not executed
Level 0
Password
(authentication-mod
e password)
VTY users
The user privilege level level
command already executed
Determined by
the level
argument
Configuration Example
Network requirements
Assume that you are a level 3 AUX user and want to perform the following configuration for Telnet users
logging in to VTY 0:
z
Authenticate users logging in to VTY 0 using the local password.
z
Set the local password to 123456 (in plain text).
z
Commands of level 2 are available to users logging in to VTY 0.
z
Telnet protocol is supported.
z
The screen can contain up to 30 lines.
z
The history command buffer can contain up to 20 commands.
z
The timeout time of VTY 0 is 6 minutes.