R2511-HP MSR Router Series Fundamentals Command Reference(V5)
31
User view
Default command level
2: System level
Parameters
all: Specifies all Web users.
user-id: Web user ID, a hexadecimal number of eight digits.
user-name: Web user name, a string of 1 to 80 characters.
Examples
# Log out all Web users.
<Sysname> free web-users all
Related commands
display web users
history-command max-size
Use history-command max-size to set the size of the command history buffer for a user interface.
Use undo history-command max-size to restore the default.
Syntax
history-command max-size size-value
undo history-command max-size
Default
The buffer of a user interface saves 10 history commands at most.
Views
User interface view
Default command level
2: System level
Parameters
size-value: Specifies the maximum number of history commands the buffer can store, in the range of 0 to
256.
Usage guidelines
Each user interface uses a separate command history buffer to save commands successfully executed by
its user. The size of the buffer determines how many history commands the buffer can store.
To view stored history commands on your user interface, press the up arrow key or down arrow key or
execute the display history-command command.
Terminating the CLI session clears the commands in the history buffer.
Examples
# Set the size of the command history buffer to 20 for user interface Console 0.
<Sysname> system-view
[Sysname] user-interface console 0










