R211x-HP Flexfabric 11900 Fundamentals Command Reference

29
Views
User line view, user line class view
Predefined user roles
network-admin
mdc-admin
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 line 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 line, press the up arrow key or down arrow key or execute
the display history-command command.
Terminating a CLI session clears the commands in the history buffer.
This command is available in both user line view and user line class view:
If the setting in user line view is not the default setting, the setting in user line view takes effect.
If the setting in user line view is the default setting but the setting in user line class view is not, the
setting in user line class view takes effect.
Examples
# Set the size of the command history buffer to 20 for user line AUX 1.
<Sysname> system-view
[Sysname] line aux 1
[Sysname-line-aux1] history-command max-size 20
idle-timeout
Use idle-timeout to set the session idle timeout.
Use undo idle-timeout to restore the default.
Syntax
idle-timeout minutes [ seconds ]
undo idle-timeout
Default
The idle-timeout interval is 10 minutes.
Views
User line view, user line class view
Predefined user roles
network-admin
mdc-admin