2460 CHAPTER 164: USER INTERFACE CONFIGURATION COMMANDS
■ 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.
Description Use the
free user-interface command to disconnect with the specified user
interface.
Note that you cannot use this command to terminate your own connection.
Example # 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
Syntax history-command max-size size-value
undo history-command max-size
View User interface view
Parameter 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.
Description Use the
history-command max-size command to set the size of history
command buffer of the current user interface.
Use the
undo history-command max-size command to restore the default, or
10.
Example # 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
Syntax idle-timeout minutes [ seconds ]
undo idle-timeout
View User interface view