Saving History Commands; Command Line Error Information - H3C S5500-EI series Operation Manual

Hide thumbs Also See for S5500-EI series:
Table of Contents

Advertisement

Operation Manual – System Maintaining and Debugging
H3C S5500-EI Series Ethernet Switches
Enter <Ctrl+C> when information display
pauses
<Ctrl+E>
<PageUp>
<PageDown>

1.2.7 Saving History Commands

The CLI can automatically save the commands that have been used. You can 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 log buffer for the current user interface (For
the detailed description of the history-command max-size command, refer to Login
Commands). The following table lists the operations that you can perform.
Follow these steps to access history commands:
View the history
commands
Access the previous
history command
Access the next history
command
Note:
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 use
<Ctrl+P> and <Ctrl+N> instead.

1.2.8 Command Line Error Information

The commands are executed only if they have no syntax error. Otherwise, error
information is reported.
Action
To do...
Use the key/command...
display
history-command
Up-arrow key or <Ctrl+P>
Down-arrow key or
<Ctrl+N>
Table 1-7
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.
lists some common errors.
1-16
Chapter 1 Basic Configurations
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.

Advertisement

Table of Contents
loading

Table of Contents