Accessing History Commands; Configuring The History Buffer Size - HP A5830 Series Configuration Manual

Hide thumbs Also See for A5830 Series:
Table of Contents

Advertisement

Accessing history commands

Use arrow keys to access history commands in Windows 200X and XP Terminal or Telnet.
In Windows 9X HyperTerminal, use Ctrl+P or Ctrl+N. They are defined differently and the up and down
arrow keys are invalid.
The commands saved in the history command buffer are in the same format in which you entered the
commands. If you enter an incomplete command, the command saved in the history command buffer is
also incomplete.
If the same command is executed repeatedly, the switch saves the earliest record. However, the same
command is executed in different formats. The system saves them as different commands. For example:
If display c is executed repeatedly, the system only saves one command in the history command
buffer.
If you execute the command in the format of display cu and display current-configuration
respectively, the system saves them as two separate commands.
By default, the CLI can save up to 10 commands for each user. To set the capacity of the history
command buffer for the current user interface, use history-command max-size command. For more
information about the history-command max-size command, see Fundamentals Command Reference.
Task...
Display history commands.
Display the previous history
command.
Display the next history
command.

Configuring the history buffer size

For more information about user-interface and history-command max-size, see Fundamentals Command
Reference.
Task...
1.
Enter system view,
2.
Enter user interface view,
3.
Set the maximum number of
commands that can be saved
in the history buffer.
Key/command...
display history-command [ |
{ begin | exclude | include }
regular-expression ]
Up arrow key or Ctrl+P
Down arrow key or Ctrl+N
Command...
system-view
user-interface { first-num1 [ last-
num1 ] | { aux | vty } first-num2
[ last-num2 ] }
history-command max-size size-
value
8
Result
Displays valid history commands you used.
Displays the previous history command, if
any.
Displays the next history command, if any.
Remarks
Optional,
By default, the history buffer can
save up to 10 commands.

Advertisement

Table of Contents
loading

Table of Contents