The commands in this chapter apply to the Cisco MDS 9000 Family of multilayer directors and fabric
switches. All commands are shown here in alphabetical order regardless of command mode. See the
“Command Modes” section to determine the appropriate mode for each command. For more
information, refer to the Cisco MDS 9000 Family Configuration Guide.
• show aaa authentication, page 20-4
• show aaa groups, page 20-5
• show arp, page 20-6
• show banner motd, page 20-7
• show boot auto-copy, page 20-9
• show boot, page 20-8
• show callhome, page 20-10
• show cdp, page 20-12
• show cimserver, page 20-16
• show clock, page 20-17
• show cores, page 20-18
• show debug logfile, page 20-19
• show environment, page 20-20
• show fabric-binding, page 20-22
• show fc2, page 20-27
• show fcalias, page 20-30
• show fcanalyzer, page 20-31
• show fcc, page 20-32
• show fcdomain, page 20-33
• show fcdroplatency, page 20-35
• show fcflow stats, page 20-36
• show fcfwd, page 20-37
• show fcip profile, page 20-38
• show fcns database, page 20-39
• show fcns statistics, page 20-43
78-16088-01, Cisco MDS SAN-OS Release 1.3
Cisco MDS 9000 Family Command Reference
20-1
• show fcroute, page 20-44
• show fcs, page 20-47
• show fcsp, page 20-51
• show fctimer, page 20-53
• show fdmi, page 20-54
• show fdmi, page 20-54
• show ficon, page 20-57
• show file, page 20-63
• show flogi database, page 20-64
• show fspf, page 20-66
• show hardware, page 20-69
• show hosts, page 20-71
• show incompatibility system, page 20-72
• show install all impact, page 20-73
Chapter 20 Show Commands
• show install all status, page 20-75
• show in-order-guarantee, page 20-77
• show interface, page 20-78
• show ip access-list, page 20-85
• show ip route, page 20-86
• show ip routing, page 20-87
• show ips arp, page 20-88
• show ips ip route, page 20-89
• show ips stats, page 20-90
• show ips status, page 20-93
• show iscsi global, page 20-94
• show iscsi initiator, page 20-95
• show iscsi session, page 20-97
• show iscsi stats, page 20-99
• show iscsi virtual-target, page 20-103
• show isns, page 20-104
• show ivr, page 20-106
• show kernel core, page 20-110
• show license, page 20-111
• show line, page 20-113
20-2
• show logging, page 20-115
• show module, page 20-120
• show ntp, page 20-122
• show port-channel, page 20-124
Cisco MDS 9000 Family Command Reference
78-16088-01, Cisco MDS SAN-OS Release 1.3
Chapter 20 Show Commands
• show port-security, page 20-126
• show processes, page 20-129
• show qos, page 20-132
• show radius-server, page 20-134
• show rlir, page 20-135
• show role, page 20-139
• show rscn, page 20-140
• show running-config, page 20-142
• show scsi-target, page 20-145
• show snmp, page 20-148
• show span session, page 20-150
• show sprom, page 20-152
• show ssh, page 20-155
• show startup-config, page 20-157
• show switchname, page 20-161
• show system, page 20-162
• show system health, page 20-165
• show tacacs-server, page 20-168
• show tech-support, page 20-169
• show telnet server, page 20-173
• show terminal, page 20-174
• show tlport, page 20-175
• show trunk protocol, page 20-177
• show user-account, page 20-178
• show users, page 20-179
• show version, page 20-180
• show vrrp, page 20-183
• show vsan, page 20-185
• show wwn, page 20-188
• show zone, page 20-189
• show zoneset, page 20-193
78-16088-01, Cisco MDS SAN-OS Release 1.3
Cisco MDS 9000 Family Command Reference
20-3
show aaa authentication
show aaa authentication
To display configured authentication information, use the show aaa authentication command.
show aaa authentication
Syntax DescriptionThis command has no arguments or keywords.
DefaultsNone.
Command ModesEXEC mode.
Command HistoryThis command was introduced in Cisco MDS SAN-OS Release 1.3(1).
switch# show aaa authentication
default: group TacServer local none
console: local
iscsi: local
dhchap: local
20-4
Cisco MDS 9000 Family Command Reference
78-16088-01, Cisco MDS SAN-OS Release 1.3
Chapter 20 Show Commands
show aaa groups
To display configured server groups, use the show aaa groups command.
show aaa groups
Syntax DescriptionThis command has no arguments or keywords.
DefaultsNone.
Command ModesEXEC mode.
Command HistoryThis command was introduced in Cisco MDS SAN-OS Release 1.3(1).
show aaa groups
Usage GuidelinesNone.
ExamplesTo display configured server groups.
switch# show aaa groups
radius
TacServer
78-16088-01, Cisco MDS SAN-OS Release 1.3
Cisco MDS 9000 Family Command Reference
20-5
show arp
show arp
To display Address Resolution Protocol (ARP) entries, use the show arp command.
show arp
Syntax DescriptionThis command has no arguments or keywords.
DefaultsNone.
Command ModesEXEC mode.
Command HistoryThis command was introduced in Cisco MDS SAN-OS Release 1.0(2).
Chapter 20 Show Commands
Usage GuidelinesNone.
ExamplesThis displays the ARP table.
switch# show arp
Protocol Address Age (min)Hardware Addr Type Interface
Internet 171.1.1.1 0 0006.5bec.699c ARPA mgmt0
Internet 172.2.0.1 40000.0c07.ac01 ARPA mgmt0
Related CommandsCommandDescription
clear arp-cacheClears the arp-cache table entries.
20-6
Cisco MDS 9000 Family Command Reference
78-16088-01, Cisco MDS SAN-OS Release 1.3
Chapter 20 Show Commands
show banner motd
To display a configured message of the day (MOTD) banner, use the show banner moted command.
show banner motd
Syntax DescriptionThis command has no arguments or keywords.
DefaultsNone.
Command ModesEXEC mode.
Command HistoryThis command was introduced in Cisco MDS SAN-OS Release 1.3(4).
show banner motd
Usage GuidelinesThe configured MOTD banner is displayed before the login prompt on the terminal whenever a user logs
in to a Cisco MDS 9000 Family switch.
ExamplesThe following example displays the configured banner message.
switch# show banner motd
Testing the MOTD Feature
The configured message is visible the next time you log in to the switch:
Testing the MOTD Feature
switch login:
Related CommandsCommandDescription
banner motdConfigures the required banner message.
78-16088-01, Cisco MDS SAN-OS Release 1.3
Cisco MDS 9000 Family Command Reference
20-7
show boot
show boot
Chapter 20 Show Commands
To display the boot variables or modules, use the show boot command.
variable-nameSpecifies the variable. Maximum length is 80 characters.
sup-1Displays the upper sup configuration.
sup-2Displays the lower sup configuration.
variablesDisplays the list of boot variables.
DefaultsNone.
Command ModesEXEC mode.
Command HistoryThis command was modified in Release 1.2(2).
Usage GuidelinesNone.
ExamplesThe following example displays the current contents of the boot variable.
switch# show boot
kickstart variable = bootflash:/kickstart-image
system variable = bootflash:/system-image
Module 2
asm-sfn variable = bootflash:/asm-image
20-8
The following example displays the images on the specified ASM module.
switch# show boot module
Module 2
asm-sfn variable = bootflash:/asm-image
The following example displays a list of all boot variables. The ASM-SFN boot variable is used for the
ASM.
switch# show boot variables
List of boot variables are:
asm-sfn
system
kickstart
Cisco MDS 9000 Family Command Reference
78-16088-01, Cisco MDS SAN-OS Release 1.3
Chapter 20 Show Commands
show boot auto-copy
To display state of the auto-copy feature, use the show boot auto-copy command.
show boot auto-copy [list]
show boot auto-copy
Syntax Description
list Displays the list of files to be auto-copied
DefaultsNone.
Command ModesEXEC mode.
Command HistoryThis command was introduced in Cisco MDS SAN-OS Release 1.2(1).
Usage GuidelinesNone.
ExamplesThe following example displays the current state of the auto-copy feature.
switch# show boot auto-copy
Boot variables Auto-Copy ON
The following example displays the ilc1.bin image being copied to the standby supervisor module's
bootflash, and once this is successful, the next file will be lasilc1.bin. This command only displays files
on the active supervisor module.
switch# show boot auto-copy list
File: /bootflash/ilc1.bin
Bootvar: ilce
File:/bootflash/lasilc1.bin
Bootvar: lasilc
The following example displays a typical message when the auto-copy option is disabled or if no files
are copied.
switch# show boot auto-copy list
No file currently being auto-copied
78-16088-01, Cisco MDS SAN-OS Release 1.3
Cisco MDS 9000 Family Command Reference
20-9
show callhome
show callhome
To display related Call Home information configured on a switch, use the show callhome command.
show callhome [destination-profile {profile | full-txt-destination | short-txt-destination |
Chapter 20 Show Commands
XML-destination} | transport-email]
Syntax Description
destination-profileDisplays Call Home destination profile information for the specified
profile.
profileSpecifies a profile name. Maximum length is 32 characters.
full-txt-destinationSpecifies the full-txt-destination destination profile.
short-txt-destinationSpecifies the short-txt-destination destination profile.
XML-destinationSpecifies the XML-destination destination profile.
transport-emailDisplays Call Home e-mail transport information.
DefaultsNone.
Command ModesEXEC mode.
Command HistoryThis command was introduced in Cisco MDS SAN-OS Release 1.0(2).
Usage GuidelinesNone.
ExamplesThe following example displays configured callhome information.
switch# show callhome
callhome enabled
Callhome Information:
contact person name:who@where
contact person's email:person@place.com
contact person's phone number:310-408-4000
street addr:1234 Picaboo Street, Any city, Any state, 12345
site id:Site1ManhattanNewYork
customer id:Customer1234
contract id:Andiamo1234
switch priority:0
The following example displays destination profile information.
switch# show callhome destination-profile
XML destination profile information
maximum message size:250000
email addresses configured:
findout@.cisco.com
Short-txt destination profile information
maximum message size:4000
full-txt destination profile information
maximum message size:250000
email addresses configured:
person2@company2.com
The following example displays the full-text profile.
switch# show callhome destination-profile profile full-txt-destination
full-txt destination profile information
maximum message size:250000
email addresses configured:
person2@company2.com
The following example displays the short-text profile.
switch# show callhome destination-profile profile short-txt-destination
Short-txt destination profile information
maximum message size:4000
email addresses configured:
person2@company2.com
show callhome
The following example displays the XML destination profile.
switch# show callhome destination-profile profile XML-destination
XML destination profile information
maximum message size:250000
email addresses configured:
findout@.cisco.com
The following example displays e-mail and SMTP information.
switch# show callhome transport-email
from email addr:user@company1.com
reply to email addr:pointer@company.com
return receipt email addr:user@company1.com
smtp server:server.company.com
smtp server port:25
78-16088-01, Cisco MDS SAN-OS Release 1.3
Cisco MDS 9000 Family Command Reference
20-11
show cdp
show cdp
Chapter 20 Show Commands
To display CDP parameters configured globally or for a specific interface, use the show cdp command.
show cdp {all | entry [all | name cdp-name] | global | interface [gigbitethernet slot/port |
name cdp-nameDisplays CDP entries that match a specified name. Maximum length is 256
globalDisplays global CDP parameters.
interfaceDisplays CDP parameters for an interface.
gigabitethernet
slot/port
mgmt 0Specifies the Ethernet management interface.
neighborsDisplays all CDP neighbors.
detailDisplays detailed information for all CDP neighbors
interfaceDisplays CDP information for neighbors on a specified interface.
traffic Displays CDP traffic statistics for an interface.
DefaultsNone
Command ModesEXEC
characters.
Specifies the Gigabit Ethernet interface at the slot number and port number
separated by a slash (/).
Command HistoryThis command was introduced in Cisco MDS SAN-OS Release 1.1(1).
Usage GuidelinesThis command is allowed only on the active supervisor module in the Cisco MDS 9500 Series.
ExamplesThe following example displays all CDP capable interfaces and parameters.
switch# show cdp all
GigabitEthernet4/1 is up
CDP enabled on interface
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
GigabitEthernet4/8 is down
CDP enabled on interface
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
mgmt0 is up
Cisco MDS 9000 Family Command Reference
20-12
78-16088-01, Cisco MDS SAN-OS Release 1.3
Chapter 20 Show Commands
CDP enabled on interface
Sending CDP packets every 100 seconds
Holdtime is 200 seconds
The following example displays all CDP neighbor entries.
switch# show cdp entry all
---------------------------------------Device ID:069038747(Kiowa3)
Entry address(es):
IP Address: 172.22.92.5
Platform: WS-C5500, Capabilities: Trans-Bridge Switch
Interface: mgmt0, Port ID (outgoing port): 5/22
Holdtime: 136 sec
Version:
WS-C5500 Software, Version McpSW: 2.4(3) NmpSW: 2.4(3)
Copyright (c) 1995-1997 by Cisco Systems
Advertisement Version: 1
The following example displays the specified CDP neighbor.
switch# show cdp entry name 0
---------------------------------------Device ID:0
Entry address(es):
IP Address: 0.0.0.0
Platform: DS-X9530-SF1-K9, Capabilities: Host
Interface: GigabitEthernet4/1, Port ID (outgoing port): GigabitEthernet4/1
Holdtime: 144 sec
show cdp
Version:
1.1(0.144)
Advertisement Version: 2
Duplex: full
The following example displays global CDP parameters.
switch# show cdp global
Global CDP information:
CDP enabled globally
Sending CDP packets every 60 seconds
Sending a holdtime value of 180 seconds
Sending CDPv2 advertisements is enabled
The following example displays CDP parameters for the management interface.
switch# show cdp interface mgmt 0
mgmt0 is up
CDP enabled on interface
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
The following example displays CDP parameters for the Gigabit Ethernet interface.
switch# show cdp interface gigabitethernet 4/1
GigabitEthernet4/1 is up
CDP enabled on interface
Sending CDP packets every 80 seconds
Holdtime is 200 seconds
78-16088-01, Cisco MDS SAN-OS Release 1.3
Cisco MDS 9000 Family Command Reference
20-13
show cdp
Chapter 20 Show Commands
The following example displays CDP Neighbors (brief).
switch# show cdp neighbors
Capability Codes: R - Router, T - Trans-Bridge, B - Source-Route-Bridge
S - Switch, H - Host, I - IGMP, r - Repeater
Device ID Local Intrfce Hldtme Capability Platform Port ID
0 Gig4/1 135 H DS-X9530-SF1- Gig4/1
069038732(Kiowa2 mgmt0 132 T S WS-C5500 8/11
069038747(Kiowa3 mgmt0 156 T S WS-C5500 6/20
069038747(Kiowa3 mgmt0 158 T S WS-C5500 5/22
The following example displays CDP neighbors (detail).
switch# show CDP neighbor detail
---------------------------------------Device ID:0
Entry address(es):
IP Address: 0.0.0.0
Platform: DS-X9530-SF1-K9, Capabilities: Host
Interface: GigabitEthernet4/1, Port ID (outgoing port): GigabitEthernet4/1
Holdtime: 162 sec
Version:
1.1(0.144)
Advertisement Version: 2
Duplex: full
---------------------------------------Device ID:069038732(Kiowa2)
Entry address(es):
IP Address: 172.22.91.5
Platform: WS-C5500, Capabilities: Trans-Bridge Switch
Interface: mgmt0, Port ID (outgoing port): 8/11
Holdtime: 132 sec
Version:
WS-C5500 Software, Version McpSW: 2.4(3) NmpSW: 2.4(3)
Copyright (c) 1995-1997 by Cisco Systems
Advertisement Version: 1
The following example displays the specified CDP neighbor (detail).
switch# show CDP neighbors interface gigabitethernet 4/1 detail
---------------------------------------Device ID:0
Entry address(es):
IP Address: 0.0.0.0
Platform: DS-X9530-SF1-K9, Capabilities: Host
Interface: GigabitEthernet4/1, Port ID (outgoing port): GigabitEthernet4/1
Holdtime: 144 sec
Version:
1.1(0.144)
20-14
Advertisement Version: 2
Duplex: full
Cisco MDS 9000 Family Command Reference
78-16088-01, Cisco MDS SAN-OS Release 1.3
Chapter 20 Show Commands
The following example displays CDP traffic statistics for the management interface.
To display the Common Information Models (CIM) configurations and settings, use the show cimserver
command.
show cimserver [certificateName | HttpsStatus | HttpStatus | status]
Chapter 20 Show Commands
Syntax Description
certificateNameDisplays the installed Secure Socket Layer (SSL) certificate.
HttpsStatusDisplays the HTTP (non-secure) protocol settings for the CIM server.
HttpStatusDisplays the HTTPS (secure) protocol for the CIM server.
statusDisplays the CIM server status
DefaultsNone.
Command ModesEXEC mode.
Command HistoryThis command was introduced in Cisco MDS SAN-OS Release 1.3(1).
Usage GuidelinesNone.
ExamplesThe following example displays CIM server certificate files.
switch# show cimserver certificateName
cimserver certificate file name is servcert.pem
20-16
The following example displays the CIM server configuration.
switch# show cimserver
cimserver is enabled
cimserver Http is not enabled
cimserver Https is enabled
cimserver certificate file name is servcert.pem
The following example displays the CIM server HTTPS status.
switch# show cimserver httpsstatus
cimserver Https is enabled
The following example displays the CIM server HTTP status.
switch# show cimserver httpstatus
cimserver Http is not enabled
Cisco MDS 9000 Family Command Reference
78-16088-01, Cisco MDS SAN-OS Release 1.3
Chapter 20 Show Commands
show clock
To display the system date and time and verify the time zone configuration, use the show clock
command.
show clock
Syntax DescriptionThis command has no arguments or keywords.
DefaultsNone.
Command ModesEXEC mode.
show clock
Command HistoryThis command was introduced in Cisco MDS SAN-OS Release 1.0(2).
Usage GuidelinesNone.
ExamplesThe following example displays the system date, time, and time zone configuration.
switch# show clock
Fri Mar 14 01:31:48 UTC 2003
78-16088-01, Cisco MDS SAN-OS Release 1.3
Cisco MDS 9000 Family Command Reference
20-17
show cores
show cores
To display all the cores presently available for upload from active sup, use the show cores command.
show cores
Syntax DescriptionThis command has no arguments or keywords.
DefaultsNone.
Command ModesEXEC mode.
Command HistoryThis command was introduced in Cisco MDS SAN-OS Release 1.0(2).
Chapter 20 Show Commands
Usage GuidelinesNone.
ExamplesIn the following example, an FSPF core was generated on the active supervisor (slot 5), an FCC core on
the standby supervisor (slot 6) and acltcam and fib on module (slot 8).
switch# show cores
Module-num Process-name PID Core-create-time
---------- ------------ --- ---------------5 fspf 1524 Jan 9 03:11
6 fcc 919 Jan 9 03:09
8 acltcam 285 Jan 9 03:09
8 fib 283 Jan 9 03:08
20-18
Cisco MDS 9000 Family Command Reference
78-16088-01, Cisco MDS SAN-OS Release 1.3
Chapter 20 Show Commands
show debug logfile
To display the debug messages that are saved in the debug log file, use the show debug logfile command.
show debug logfile filename
show debug logfile
Syntax Description
filenameSpecifes the debug log file name. Maximum length is 80 characters.
DefaultsNone.
Command ModesEXEC mode.
Command HistoryThis command was introduced in Cisco MDS SAN-OS Release 1.0(2).
Usage GuidelinesNone.
ExamplesThe following example displays the debug messages in the specified debug log file.
switch# show debug logfile SampleFile
2004 Jun 28 00:14:17 snmpd[2463]: header_fspfLinkEntry : Sending GETNEXT request
for fspfLsrTable for vsanIndex =0,fspfLsrDomainId = 0, fspfLsrType = 0
2004 Jun 28 00:14:17 snmpd[2463]: header_fspfLinkEntry : Sending GETNEXT request
for fspfLsrTable for vsanIndex =0,fspfLsrDomainId = 0, fspfLsrType = 0
2004 Jun 28 00:14:17 snmpd[2463]: header_fspfLinkEntry : Recd rsp for GETNEXT fo
r entry (vsanIndex=1,fspfLsrDomainId = 10, fspfLsrType=0, fspfLinkIndex = 1,fspf
LinkNbrDomainId = 84, fspfLinkPortIndex = 67331,fspfLinkNbrPortIndex = 66064, fs
pfLinkType = 1,fspfLinkCost = 500
2004 Jun 28 00:14:17 snmpd[2463]: header_fspfLinkEntry : Sending GETNEXT request
for fspfLsrTable for vsanIndex =1,fspfLsrDomainId = 209, fspfLsrType = 0
2004 Jun 28 00:14:17 snmpd[2463]: header_fspfLinkEntry : Sending GETNEXT request
for fspfLsrTable for vsanIndex =16777216,fspfLsrDomainId = 3506438144, fspfLsr
Type = 0
2004 Jun 28 00:14:17 snmpd[2463]: header_fspfLinkEntry : Sending GETNEXT request
for fspfLsrTable for vsanIndex =33554432,fspfLsrDomainId = 4009754624, fspfLsr
Type = 16777216
78-16088-01, Cisco MDS SAN-OS Release 1.3
Cisco MDS 9000 Family Command Reference
20-19
show environment
show environment
To display all environment-related switch information (status of chassis clock, chassis fan modules,
power supply modules, power supply redundancy mode and power usage summary, module temperature
thresholds and alarm status, use the show environment command.
show environment [clock | fan | power | temperature]
Chapter 20 Show Commands
Syntax Description
clockDisplays status of chassis clock modules
fanDisplays status of chassis fan modules
powerDisplays status of power supply modules, power supply redundancy mode
and power usage summary.
temperatureDisplays module temperature thresholds and alarm status of temperature
sensors.
DefaultsNone.
Command ModesEXEC mode.
Command HistoryThis command was introduced in Cisco MDS SAN-OS Release 1.0(2).
Usage GuidelinesNone.
ExamplesThe following example displays the status and alarm states of the clock, fan, power supply and
temperature sensors.
switch# show environment
switch-180# show env
Clock:
---------------------------------------------------------Clock Model Hw Status
---------------------------------------------------------A DS-C9500-CL 0.0 ok/active
B DS-C9500-CL 0.0 ok/standby
20-20
Fan:
-----------------------------------------------------Fan Model Hw Status
-----------------------------------------------------Chassis WS-9SLOT-FAN 0.0 ok
PS-1 -- -- ok
PS-2 -- -- ok
Cisco MDS 9000 Family Command Reference
78-16088-01, Cisco MDS SAN-OS Release 1.3
Chapter 20 Show Commands
Temperature:
--------------------------------------------------------------Module Sensor MajorThresh MinorThres CurTemp Status
(Celsius) (Celsius) (Celsius)
--------------------------------------------------------------1 Outlet 75 60 38 ok
1 Intake 65 50 35 ok
5 Outlet 75 60 36 ok
5 Intake 65 50 36 ok
6 Outlet 75 60 40 ok
6 Intake 65 50 33 ok
9 Outlet 75 60 28 ok
9 Intake 65 50 40 ok
Power Supply:
----------------------------------------------------PS Model Power Power Status
(Watts) (Amp @42V)
----------------------------------------------------1 DS-CAC-2500W 1153.32 27.46 ok
2 WS-CAC-2500W 1153.32 27.46 ok
show environment
Mod Model Power Power Power Power Status
Requested Requested Allocated Allocated
(Watts) (Amp @42V) (Watts) (Amp @42V)