Using the CLI 63
Keyboard Shortcuts
The CLI has a range of keyboard shortcuts to assist in editing the CLI commands. The following
table describes the CLI shortcuts.
CLI Command Conventions
When entering commands there are certain command entry standards that apply to all commands.
The following table describes the command conventions.
Keyboard Key Description
Up-arrow key Recalls commands from the history buffer, beginning with the most recent
command. Repeat the key sequence to recall successively older commands.
Down-arrow key Returns the most recent commands from 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 any mode.
Backspace key Moves the cursor back one space.
Convention Description
[ ] In a command line, square brackets indicates an optional entry.
{ } In a command line, curly brackets indicate a selection of compulsory
parameters separated by the
|
character. One option must be selected. For
example:
flowcontrol {auto|on|off}
means that for the
flowcontrol
command either
auto
,
on
or
off
must be selected.
Italic font
Indicates a parameter.
<Enter>
Any individual key on the keyboard. For example click
<Enter>
.
Ctrl+F4
Any combination keys pressed simultaneously on the keyboard.
Screen
Display
Indicates system messages and prompts appearing on the console.
all
When a parameter is required to define a range of ports or parameters
and all is an option, the default for the command is all when no
parameters are defined. For example, the command interface range port-
channel has the option of either entering a range of channels, or selecting
all. When the command is entered without a parameter, it automatically
defaults to all.