112 Using the CLI
• Show Command
• Command Completion
• Short Form Commands
•Keyboard Shortcuts
• Operating on Multiple Objects (Range)
• Command Scripting
• CLI Command Notation Conventions
• Interface Naming Conventions
History Buffer
Every time a command is entered in the CLI, it is recorded in an internally managed Command
History buffer. Commands are stored in the buffer, which operates on a
First In First Out
(FIFO)
basis. These commands can be recalled, reviewed, modified, and reissued. This buffer is
not preserved after switch resets.
By default, the history buffer system is enabled, but it can be disabled at any time. The standard
number of 10 stored commands can be increased to 216. 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 the history-size command in the Line command
mode chapter of this guide.
Negating Commands
For many commands, the prefix keyword no is entered to cancel the effect of a command or
reset the configuration to the default value. All configuration commands have this capability.
This guide describes the negation effect for all commands to which it applies.
Show Command
The show command executes in the User Executive (EXEC) and Privileged Executive (EXEC)
modes.
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
<Ctrl>+<N>
Returns to more recent commands in the history buffer after recalling commands
with the up-arrow key. Repeating the key sequence recalls more recent commands in
succession.