87
Parameters
size-value
: History buffer size in the range 0 to 256. It defaults to 10. 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.
The history buffer saves validated history commands individually per user interface and
buffers for different user interfaces do not affect each other. You can use the
display
history-command
command to display commands saved in the history buffer.
After you terminate the current session, the system automatically removes the
commands saved in the corresponding history buffer.
Examples
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
Default Level
2: System level
Parameters
minutes
: Specifies timeout time in minutes, in the range 0 to 35791, defaulting to 10
minutes.
seconds
: Specifies timeout time in seconds, in the range 0 to 59, defaulting to 0
seconds.
Description
Use the
idle-timeout
command to set the idle-timeout timer. When it expires, the user
connection is terminated.