![](/images/backgrounds/285774/hp-a3100-16-v2-ei-users-manual-54995216x1.png)
Follow a step below to access history commands:
To do… | Use the key/command… | Result | |
Display history commands | display | Displays valid history commands you | |
used | |||
|
| ||
|
|
| |
Display the previous history | Up arrow key or Ctrl+P | Displays the previous history command, if | |
command | any | ||
| |||
|
|
| |
Display the next history | Down arrow key or Ctrl+N | Displays the next history command, if any | |
command | |||
|
| ||
|
|
| |
|
|
|
NOTE:
You can use arrow keys to access history commands in Windows 200X and XP Terminal or Telnet. However, the up and down arrow keys are invalid in Windows 9X HyperTerminal, because they are defined differently. You can use Ctrl+P or Ctrl+N instead.
•The commands saved in the history command buffer are in the same format in which you typed the commands. If you type an incomplete command, the command saved in the history command buffer is also incomplete.
•If you execute the same command repeatedly, the switch saves only the earliest record. However, if you execute the same command in different formats, the system saves them as different commands. For example, if you execute the display cu command repeatedly, the system saves only one command in the history command buffer. If you execute the command in the format of display cu and display
•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 the
Follow these steps to configure the history buffer size:
To do… | Use the command… | Remarks | |
Enter system view | — | ||
|
|
| |
|
| ||
Enter user interface view | [ | — | |
|
| ||
|
|
| |
Set the maximum number of | Optional | ||
commands that can be saved in the | By default, the history buffer can | ||
history buffer | save up to 10 commands. | ||
| |||
|
|
| |
|
|
|
NOTE:
For more information about the
9