beautypg.com

Negating the effect of commands, Command completion – Planet Technology WGSD-8000 User Manual

Page 158

background image

User’s Manual of WGSD-1022/WGSD-8000

- 158 –

ƒ

To assist in using the CLI, there is an assortment of editing features. The following features are described:

ƒ

Terminal Command Buffer

ƒ

Command

Completion

ƒ

Keyboard

Shortcuts

Every time a command is entered in the CLI, it is recorded on an internally managed Command History buffer. Commands are

stored in the buffer which is maintained on a First In First Out (FIFO) basis. These commands can be recalled, reviewed,

modified, and reissued. This buffer is not preserved across device resets.

Keyword

Source or destination

Up-arrow key

Ctrl+P

Recalls commands in the history buffer, beginning with the most recent command.

Repeats the key sequence to recall successively older commands.

Down-arrow

key

Returns to more recent commands in the history buffer after recalling commands with

the up-arrow key. Repeating the key sequence will recall successively more recent

commands.

By default, the history buffer system is enabled, but it can be disabled at any time. For information about the command syntax to

enable or disable the history buffer, see history.

There is a standard default number of commands that are stored in the buffer. The standard number of 10 commands can be

increased to 256. By configuring 0, the effect is the same as disabling the history buffer system. For information about the

command syntax for configuring the command history buffer, see history size.

To display the history buffer, see show history.

Negating the Effect of Commands

For many configuration commands, the prefix keyword no can entered to cancel the effect of a command or reset the

configuration to the default value. This guide describes the negation effect for all applicable commands.

Command Completion

If a command is entered and it is not complete, if the command is invalid, or if some parameters of the command are invalid

or missing, the appropriate error message is displayed. This assists in entering the correct command. By pressing the

button, an incomplete command is entered. If the characters already entered are not enough for the system to identify a

single matching command, press "?" to display the available commands matching the characters already entered.

Incorrect or incomplete commands are automatically re-entered next to the cursor. If a parameter must be added, the parameter

can be added to the basic command already displayed next to the cursor. The following example indicated that the command

interface ethernet

requires the parameter .