
You may 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 press
Ctrl+P
or
Ctrl+N
instead.
Note that:
z
The commands saved in the history command buffer are in the same format in which you typed the
commands. If you typed an incomplete command, the command saved in the history command
buffer is also an incomplete one.
z
If you execute the same command repeatedly, the device 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 current-configuration
respectively, the system saves them as two
commands.
z
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 command buffer for the
current user interface (For more information about the
history-command max-size
command,
see
Login Configuration).
Undo Form of a Command
The
undo
form of a command typically restores the default, disables a function, or removes a
configuration.
Most of configuration commands have their own
undo
form.
For example, the
info-center enable
command is used to enable the information center, while the
undo info-center enable
command is used to disable the information center.
Controlling CLI Display
Controlling Multi-Screen Display
If the output information spans multiple screens, each screen pauses after displayed. Then, you can
perform one of the following operations to proceed.
Action
Function
Press
Space
Displays the next screen.
Press
Enter
Displays the next line.
Press
Ctrl+C
Stops the display and the command execution.
Press
<Ctrl+E>
Moves the cursor to the end of the current line.
1-15