Cisco Catalyst 2000 Configuration Handbook page 24

Catalyst series lan switching
Table of Contents

Advertisement

User interface features.
2.
a. Entering commands:
Switch>, Switch#, Switch(config)#
Switch>, Switch#, Switch(config)#
Commands can be entered from any mode (EXEC, global config, interface con-
fig, subinterface config, vlan and so on). To enable a feature or parameter, type
the command and its options normally, as in command. To disable a command
that is in effect, begin the command with no, followed by the command. The
commands that are in effect can be seen by using the show running-config
command in privileged mode. Note that some commands and parameters are set
by default and are not shown as literal command lines in the configuration
listing.
Commands and their options can also be abbreviated with as few letters as possi-
ble without becoming ambiguous. To enter the interface configuration mode for
Ethernet 0, for example, you can abbreviate the command interface fastethernet
0 as int fa 0.
You can edit a command line using the Left and Right Arrow keys to move with-
in the line. If additional characters are typed, the remainder of the line to the
right is spaced over. You can use the Backspace and Delete keys to make correc-
tions.
Note If the switch displays a console informational or error message while you are typ-
ing a command line, you can press the Ctrl-l or Ctrl-r key to redisplay the line and contin-
ue editing. You can also configure the lines (console, vty, or aux) to use logging synchro-
nous. This causes the switch to automatically refresh the lines after the switch output. You
might have to wait for the switch to see output; if you issue debug commands with logging
synchronous enabled, you might have to wait for the switch to finish the command (such
as a ping) before you see the output.
b. Context-sensitive help.
You can enter a question mark (?) anywhere in a command line to get additional
information from the switch. If the question mark is typed alone, all available
commands for that mode display. Question marks can also be typed at any place
after a command, a keyword, or an option. If the question mark follows a space,
all available keywords or options display. If the question mark follows another
word without a space, a list of all available commands beginning with that sub-
string displays. This can be helpful when an abbreviated command is ambiguous
and flagged with an error.
An abbreviated command might also be typed, followed by the Tab key. The
command name expands to its full form if it is not ambiguous.
Chapter 1: CLI Usage 3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents