Entering Cli Commands; Viewing Switch Configurations - Cisco MDS 9000 series Command Reference Manual

Hide thumbs Also See for MDS 9000 series:
Table of Contents

Advertisement

Chapter 1
CLI Overview
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

Entering CLI Commands

You can configure the software in one of two ways:

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
Example 1-4
switch# show interface fc1/1
fc1/1 is up
Example 1-5
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
OL-8413-07, Cisco MDS SAN-OS Release 3.x
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.)
1-4
to
1-10
display a few show command examples.
Displays Details on the Specified Interface
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
Displays the Software and Hardware Version
Navigating Through CLI Commands
Cisco MDS 9000 Family Command Reference
1-17

Advertisement

Table of Contents
loading

Table of Contents