S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
2-11
Cisco MDS 9000 Family CLI Configuration Guide
OL-16184-01, Cisco MDS SAN-OS Release 3.x
Chapter 2 Before You Begin
Managing the Switch Configuration
To list keywords or arguments, enter a question mark in place of a keyword or argument. Include a space
before the question mark. This form of help is called command syntax help, because it reminds you
which keywords or arguments are applicable based on the commands, keywords, and arguments you
have already entered.
switch#
config ?
terminal Configure the system from the terminal
Tip
If you are having trouble entering a command, check the system prompt and enter the question mark (?)
for a list of available commands. You might be in the wrong command mode or using incorrect syntax.
Managing the Switch Configuration
This section includes the following topics:
•
Displaying the Switch Configuration, page 2-11
•
Saving a Configuration, page 2-14
•
Clearing a Configuration, page 2-14
Displaying the Switch Configuration
You can view the ASCII form of the configuration file when required. To view the current configuration
tree from the EXEC prompt, issue the
show running-config
command. If the running configuration is
different from the startup configuration, issue the
show startup-config
command to view the ASCII
version of the current startup configuration that was used to boot the switch if a
copy run start
command
was not issued after the reboot. Use the
show startup-config
command to view the contents of the
current startup configuration.
You can also gather specific information on the entire switch configuration by issuing the relevant
show
commands. Configurations are displayed based on a specified feature, interface, module, or VSAN.
Available
show
commands for each feature are briefly described in this section and listed at the end of
each chapter.
Examples
2-2
to
2-8
display a few
show
command examples.
Example 2-2
Displays Details on the Specified Interface
switch#
show interface fc1/1
fc1/1 is up
Hardware is Fibre Channel, 20:01:ac:16:5e:4a:00:00
vsan is 1
Port mode is E
Speed is 1 Gbps
Beacon is turned off
FCID is 0x0b0100
0 frames input, 0 bytes, 0 discards
0 runts, 0 jabber, 0 too long, 0 too short
0 input errors, 0 CRC, 0 invalid transmission words
0 address id, 0 delimiter
0 EOF abort, 0 fragmented, 0 unknown class
0 frames output, 0 bytes, 0 discards
Received 0 OLS, 0 LRR, 0 NOS, 0 loop inits
Transmitted 0 OLS, 0 LRR, 0 NOS, 0 loop inits