27
VTY 0 :
Location: 192.168.0.10
VTY 1 :
Location: 192.168.0.5
+ : Current operation user.
F : Current operation user work in async mode.
•
If the operations of the user using VTY 1 affect the operations of the administrator, log out the user.
<Sysname> free user-interface vty 1
Are you sure to free user-interface vty1? [Y/N]:y
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 is in
the range of 0 to 256.
Description
Use the
history-command max-size
command to set the size of the history command buffer of the current
user interface.
Use the
undo history-command max-size
command 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. For more information about the
display history-command
command, see
Fundamentals Command Reference
.
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 aux 0
[Sysname-ui-aux0] history-command max-size 20
idle-timeout
Syntax
Summary of Contents for A7500 Series
Page 7: ...v Index 210 ...