R3721-F3210-F3171-HP High-End Firewalls Getting Started Command Reference-6PW101

18
// To make configurations without interruption from the user using VTY 1, you can release the connection
established on VTY 1.
history-command max-size
Syntax
history-command max-size size-value
undo history-command max-size
View
User interface view
Default level
2: System level
Parameters
size-value: Specifies the maximum number of history commands that the buffer can store. The value
ranges from 0 to 256.
Description
Use history-command max-size to set the size of the history command buffer of the current user interface.
Use undo history-command max-size to restore the default.
By default, the buffer saves 10 history commands.
The history command buffer saves executed history commands per user interface and buffers for different
user interfaces do not affect each other. To display the commands that are stored in the history buffer, use
the display history-command command. To view the recently executed commands, press the upper
arrow or lower arrow key.
After you terminate the current session, the system automatically removes the commands saved in the
corresponding history buffer.
Examples
# Set the buffer to store 20 history commands at most.
<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