Saving History Commands; Command Line Error Information - 3Com 4500G Family Configuration Manual

24/48 port
Hide thumbs Also See for 4500G Family:
Table of Contents

Advertisement

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.

Command Line Error Information

The commands are executed only if they have no syntax error. Otherwise, error information is reported.
Table 2-4
lists some common errors.
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 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.
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.
2-7
Function
Result

Hide quick links:

Advertisement

Chapters

Table of Contents
loading

Table of Contents