2460
C
164: U
HAPTER
SER
Description
Example
history-command max-size
Syntax
View
Parameter
Description
Example
idle-timeout
Syntax
View
I
C
C
NTERFACE
ONFIGURATION
OMMANDS
For TTY user interfaces, the value range varies with devices, and normally starts
■
from 1.
For VTY user interfaces, the value ranges from 0 to 4.
■
Use the
free user-interface
interface.
Note that you cannot use this command to terminate your own connection.
# Terminate the connection with user interface VTY1.
<Sysname> free user-interface vty 1
Are you sure to free user-interface vty1? [Y/N]:y
<Sysname>
# Terminate the connection with user interface VTY 0.
<Sysname> free user-interface vty 0
% Not allowed to clear current UI!
history-command max-size size-value
undo history-command max-size
User interface view
size-value: History buffer size in the range 0 to 256. It defaults to 10, that is, up to
ten history commands can be stored.
Use the
history-command max-size
command buffer of the current user interface.
Use the
undo history-command max-size
10.
# Set the size of the history command buffer to 20.
<Sysname> system-view
[Sysname] user-interface console 0
[Sysname-ui-console0] history-command max-size 20
idle-timeout minutes [ seconds ]
undo idle-timeout
User interface view
command to disconnect with the specified user
command to set the size of history
command to restore the default, or