88
Use the
undo idle-timeout
command to restore the default.
The default idle-timeout is 10 minutes.
NOTE:
The system automatically terminates the user’s connection if there is no information
interaction between the device and the user in timeout time.
Setting idle-timeout to zero disables the timer and the connection is maintained whether it is
idle or not.
Examples
Set the idle-timeout timer to 1 minute and 30 seconds.
<Sysname> system-view
[Sysname] user-interface console 0
[Sysname-ui-console0] idle-timeout 1 30
lock
Syntax
lock
View
User view
Default Level
3: Manage level
Parameters
None
Description
Use the
lock
command to set a password to prevent unauthorized users from operating
under the active user interface.
After entering the
lock
command, you are prompted to input a password (up to 16
characters) and then confirm it by inputting the password again. The password is
successfully set only when you input the exact password during the confirmation. After
setting the password, you are required to input the password next time you enter the
system.
By default, this function is disabled.
Examples
Lock the active user interface.