History-Command Max-Size - HPE D6020 Maintenance And Service Manual

Hide thumbs Also See for HPE D6020:
Table of Contents

Advertisement

VTY 0
:
Location: 192.168.1.12
VTY 1
:
Location: 192.168.1.26
+
: Current operation user.
F
: Current operation user works in async mode.
# Release VTY line 1.
<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 command history buffer for a user line stores 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 store commands successfully executed by
its user. The buffer size determines how many history commands the buffer can store.
To display history commands in the buffer for your session, press the up or down arrow key, or
execute the display history-command command. For more information about the command
history buffer, see Fundamentals Configuration Guide.
Terminating a CLI session clears the commands in the command history buffer.
The setting in user line view takes effect immediately for the current session. The setting in user line
class view takes effect for login sessions that are established after the setting is configured.
Examples
# Set the command history buffer size to 20 for the console line 0.
<Sysname> system-view
[Sysname] line console 0
[Sysname-line-console0] history-command max-size 20
69

Advertisement

Table of Contents
loading

Table of Contents