Owner's Manual

Using the CLI 55
Negating the Effect of Commands
For many configuration commands, the prefix keyword
no
can be 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 <Tab> 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
<port-num>
.
Keyboard Shortcuts
The CLI has a range of keyboard shortcuts to assist in editing the CLI commands. The following
table describes the CLI shortcuts.
(config)#interface ethernet
missing mandatory parameter
(config)#interface ethernet
Keyboard Key Description
Up-arrow key Recalls commands in the history buffer, beginning with the most recent command. Repeat 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.
Ctrl+A Moves the cursor to the beginning of the command line.
Ctrl+E Moves the cursor to the end of the command line.
Ctrl+Z / End Returns back to the Privileged EXEC mode from all modes.
Backspace key Moves the cursor back one space.