Send documentation comments to mdsfeedback-doc@cisco.com
1-17
Cisco MDS 9000 Family Command Reference
OL-8413-07, Cisco MDS SAN-OS Release 3.x
Chapter 1 CLI Overview
Navigating Through CLI Commands
Entering CLI Commands
You can configure the software in one of two ways:
• You can create the configuration for the switch interactively by issuing commands at the CLI
prompt.
• You can create an ASCII file containing a switch configuration and then load this file on the required
system. You can then use the CLI to edit and activate the file. (Refer to the Cisco MDS 9000 Family
CLI Configuration Guide for further information.)
Viewing Switch Configurations
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.
You can also gather specific information on the entire switch configuration by issuing the relevant show
commands. Configurations are displayed based 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 1-4 to 1-10 display a few show command examples.
Example 1-4 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
Example 1-5 Displays the Software and Hardware Version
switch# show version
Cisco Storage Area Networking Operating System (SAN-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2006, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained herein are owned by
other third parties and are used and distributed under license.
Some parts of this software may be covered under the GNU Public
License or the GNU Lesser General Public License. A copy of
each such license is available at
http://www.gnu.org/licenses/gpl.html and
http://www.gnu.org/licenses/lgpl.html