beautypg.com

Undo form of a command, Controlling cli display – H3C Technologies H3C S3600 Series Switches User Manual

Page 33

background image

1-17

To do…

Use the key/command…

Result

Access the previous
history command

Up arrow key or Ctrl+P

Displays the previous history
command, if any

Access the next history
command

Down arrow key or Ctrl+N

Displays the next history command, if
any

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.

This manual is related to the following products: