Saving History Commands - 3Com 4510G Configuration Manual

3com switch 4510g family
Table of Contents

Advertisement

Table 9-6 Display functions
Press Space when information display pauses
Press Enter when information display pauses
Press Ctrl+C when information display pauses
Ctrl+E
PageUp
PageDown

Saving History Commands

The CLI can automatically save the commands that have been used lately to the history buffer. You
can know the operations that have been executed successfully, invoke and repeatedly execute them
as needed. By default, the CLI can save up to ten commands for each user. You can use the
history-command max-size command to set the capacity of the history commands buffer for the
current user interface (For the detailed description of the history-command max-size command, refer
to Login Commands in the System Volume). In addition:
The CLI saves the commands in the format that you have input, that is, if you input a command in
its incomplete form, the saved history command is also incomplete.
If you execute a command for multiple times successively, the CLI saves the earliest one.
However, if you execute the different forms of a command, the CLI saves each form of this
command. For example, if you execute the display cu command for multiple times successively,
the CLI saves only one history command; if you execute the display cu command and then the
display current-configuration command, the CLI saves two history commands.
Follow these steps to access history commands:
To do...
View the history commands
Access the previous history
command
Access the next history
command
You may use arrow keys to access history commands in Windows 200X and XP Terminal or Telnet.
However, the up-arrow and down-arrow keys are invalid in Windows 9X HyperTerminal, because they
are defined in a different way. You can press Ctrl+P or Ctrl+N instead.
Action
Use the key/command...
display history-command
Up-arrow key or Ctrl+P
Down-arrow key or Ctrl+N
Continues to display information of the next
screen page.
Continues to display information of the next line.
Stops the display and the command execution.
Moves the cursor to the end of the current line.
Displays information on the previous page.
Displays information on the next page.
9-21
Function
Result
Displays the commands that
you have entered
Displays the earlier history
command, if there is any.
Displays the next history
command, if there is any.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents