History-Command Max-Size - HP 6125XLG Command Reference Manual

Blade
Table of Contents

Advertisement

Idx
10
+ 11
Following are more details.
VTY 0
VTY 1
+
F
2.
If the operations of the user on VTY 1 impact your operations, log out the user.
<Sysname> free user-interface vty 1
Are you sure to free line vty1? [Y/N]:y
[OK]

history-command max-size

Use history-command max-size to set the size of the command history buffer for a user line.
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 line saves up to 10 history commands.
Views
User line view, user line class view
Predefined user roles
network-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.
LINE
Idle
VTY 0
00:10:49
VTY 1
00:00:00
:
Location: 192.168.1.12
:
Location: 192.168.1.26
: Current operation user.
: Current operation user works in async mode.
Time
Pid
Jun 11 11:27:32
320
Jun 11 11:39:40
334
27
Type
TEL
TEL

Advertisement

Table of Contents
loading

Table of Contents