2-8
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 2 Command-Line Interfaces
MSFC Command-Line Interface
Accessing Command Help
Enter
help
or
?
in normal or privileged mode to see the commands that are available in those modes. On
selected commands, entering
help
or
?
after a command provides additional information, such as a
command usage description. Command usage, the help menu, and when appropriate, parameter ranges
are provided if you enter a command using the wrong number of arguments or inappropriate arguments.
Additionally, appending
help
or
?
to a command category displays a list of commands in that category.
MSFC Command-Line Interface
These sections describe the MSFC CLI:
•
Cisco IOS Command Modes, page 2-8
•
Cisco IOS Command-Line Interface, page 2-10
Note
In addition to the methods that are described in the
“Accessing the MSFC from the Switch” section on
page 2-3
, you can configure Cisco IOS software to support direct Telnet access to the MSFC. Refer to
“Configuring Authentication” in the
Cisco IOS Security Configuration Guide
at this URL:
http://www.cisco.com/en/US/docs/ios/12_1/security/configuration/guide/scdathen.html
Cisco IOS Command Modes
The Cisco IOS user interface is divided into many different modes. The commands that are available to
you depend on which mode you are currently in. To get a list of the commands in a given mode, type a
question mark (?) at the system prompt. For more information, see the “Getting a List of Cisco IOS
Commands and Syntax” section on page 2-10.
When you start a session on the switch, you begin in user mode, which is often called user EXEC mode.
Only a limited subset of the commands are available in EXEC mode. To have access to all commands,
you must enter privileged EXEC mode. Normally, you must type in a password to access privileged
EXEC mode. From privileged EXEC mode, you can type in any EXEC command or access global
configuration mode. Most of the EXEC commands are one-time commands, such as
show
commands,
which show the current configuration status, and
clear
commands, which clear counters or interfaces.
The EXEC commands are not saved across reboots of the switch.
The configuration modes allow you to make changes to the running configuration. If you later save the
configuration, these commands are stored across switch reboots. You must start at global configuration
mode. From global configuration mode, you can enter interface configuration mode, subinterface
configuration mode, and a variety of protocol-specific modes.
!aaa bbb
Add the string
bbb
to the end of the command beginning with the string
aaa
.
!?aaa bbb
Add the string
bbb
to the end of the command containing the string
aaa
.
Table 2-4
History Substitution Commands (continued)
Command
Function