Table Of Contents
Show Commands
show aaa
show accesslist
show admin
show boot
show bootconfig
show buffers
show cdp
show cdp entry
show cdp interface
show cdp neighbors
show cdp traffic
show cli
show clock
show cluster
show cpu
show crash
show debug
show debug fcip
show debug fcswitch
show debug interface fc?
show debug interface ge?
show debug isns
show debug scsirouter
show devices
show diagnostics
show fcalias
show fcip
show fcswitch
show fcswitch eport
show fcswitch fabric
show fcswitch global-nameserver
show fcswitch linkstate
show fcswitch nameserver
show ha
show interface
show ip
show isns
show logging
show memory
show modules
show restrict
show route
show runningconfig
show savedconfig
show script
show scsirouter
show sessions
show slp
show snmp
show software version
show ssh
show ssh fingerprint
show stack
show static
show system
show task
show tech-support
show telnet
show version
show vlan
show vtp
show zone
show zoneset
Show Commands
This chapter covers the following commands:
•
show aaa
•
show accesslist
•
show admin
•
show boot
•
show bootconfig
•
show buffers
•
show cdp
•
show cdp entry
•
show cdp interface
•
show cdp neighbors
•
show cdp traffic
•
show cli
•
show clock
•
show cluster
•
show cpu
•
show crash
•
show debug
•
show debug fcip
•
show debug fcswitch
•
show debug interface fc?
•
show debug interface ge?
•
show debug isns
•
show debug scsirouter
•
show devices
•
show diagnostics
•
show fcalias
•
show fcip
•
show fcswitch
•
show fcswitch eport
•
show fcswitch fabric
•
show fcswitch global-nameserver
•
show fcswitch linkstate
•
show fcswitch nameserver
•
show ha
•
show interface
•
show ip
•
show isns
•
show logging
•
show memory
•
show modules
•
show restrict
•
show route
•
show runningconfig
•
show savedconfig
•
show script
•
show scsirouter
•
show sessions
•
show slp
•
show snmp
•
show software version
•
show ssh
•
show ssh fingerprint
•
show stack
•
show static
•
show system
•
show task
•
show tech-support
•
show telnet
•
show version
•
show vlan
•
show vtp
•
show zone
•
show zoneset
show aaa
To display AAA configuration information and operational statistics, use the show aaa command.
show aaa [from {filename | bootconfig | runningconfig}]
show aaa [stats]
Syntax Description
from filename
|
(Optional) The name of the configuration file where the AAA configuration is stored. This file must exist in the savedconfig directory.
|
from bootconfig
|
(Optional) Display the AAA information from the persistent saved configuration.
|
from runningconfig
|
(Optional) Display the AAA information from the currently running configuration.
|
stats
|
(Optional) Display the number of authentication requests received and sent since the storage router was last rebooted.
|
Defaults
If no from parameter is specified, the display shows information from the currently running configuration.
Command Modes
Administrator or Monitor.
Command History
Release
|
Modification
|
2.2.1
|
This command was introduced for the SN 5428.
|
3.2.1
|
This command was introduced for the SN 5428-2.
|
3.3.1
|
The from, bootconfig, and runningconfig keywords and the filename argument were added.
|
Usage Guidelines
Use this command to display the current AAA configuration for the storage router. Use the stats keyword to display usage statistics. Use the from bootconfig keywords to display the specified AAA configuration information as it exists in the current saved configuration, used when the storage router restarts. This may differ from the running configuration.
Examples
The following example output displays the current AAA authentication configuration for the storage router from the persistent saved configuration. The iSCSI default authentication list indicates that authentication first tries to contact TACACS+ servers. If no server is found, TACACS+ returns an error and AAA tries to use the local username database for authentication. If a match is found, the IP host is allowed access; if no match is found, the IP host is denied access. If this attempt returns an error, the IP host is not allowed access.
[SN5428-2A]# show aaa from bootconfig
aaa authentication iscsi default group tacacs+ local
username "fred" password "9 af4f2428498a41a31e237de1c4a9b9fcef"
username "pat" password "9 7ddbccc3d0daf013f4293c3d3bd94539dd"
username "kris" password "9 0607167520058771e66ab1d379d7e6505f"
username "adrian" password "9 0ad24a3b35dc296d894e512416d572b3ee"
radius-server retransmit 12
radius-server host 10.5.0.53 auth-port 1645
tacacs-server host 10.7.0.22 auth-port 49
The following is example output from the show aaa stats command:
[SN5428-2A]# show aaa stats
authentication requests received = 134
authentication responses sent = 134
authentication requests canceled = 0
authentication requests passed = 130
authentication requests failed = 4
IP Address port timeouts bad resps
--------------- ----- ---------- ----------
IP Address port timeouts bad resps
--------------- ----- ---------- ----------
Related Commands
Command
|
Description
|
aaa authentication enable
|
Configure AAA authentication services for Administrator mode access to the storage router via the CLI enable command.
|
aaa authentication iscsi
|
Configure the AAA authentication services to be used for iSCSI authentication.
|
aaa authentication login
|
Configure AAA authentication services for Monitor mode access to the storage router via the CLI.
|
aaa group server radius
|
Create a named group of RADIUS servers for AAA authentication services.
|
aaa group server tacacs+
|
Create a named group of TACACS+ servers for AAA authentication services.
|
debug aaa
|
Enable debugging for the AAA authentication services.
|
radius-server host
|
Configure remote RADIUS servers for AAA authentication services.
|
restore aaa
|
Restore AAA authentication services from the named configuration file.
|
save aaa
|
Save the current AAA configuration information.
|
tacacs-server host
|
Configure remote TACACS+ servers for AAA authentication services.
|
username password
|
Add a user name and optional password to the local username database.
|
show accesslist
To display a list of access lists or the contents of the named access list (or all access lists), use the show accesslist command.
show accesslist [name | all] [from {filename | bootconfig | runningconfig}]
Syntax Description
name
|
(Optional) The name of the access list.
|
all
|
(Optional) Display all access list entries.
|
from filename
|
(Optional) The name of the configuration file where the access list configuration is stored. This file must exist in the savedconfig directory.
|
from bootconfig
|
(Optional) Display the access list information from the persistent saved configuration.
|
from runningconfig
|
(Optional) Display the access list information from the currently running configuration.
|
Defaults
If no from parameter is specified, the display shows information from the currently running configuration.
Command Modes
Administrator or Monitor.
Command History
Release
|
Modification
|
2.2.1
|
This command was introduced for the SN 5428.
|
3.2.1
|
This command was introduced for the SN 5428-2.
|
Usage Guidelines
•
Use the show accesslist command to display a list of all access lists from the current running configuration.
•
Use the all keyword to display the contents of all access lists.
•
Use the from bootconfig keywords to display the specified access list information as it exists in the current saved configuration, used when the storage router restarts. This may differ from the running configuration.
Examples
To display a list of access lists, issue this command:
[SN5428-2A]# show accesslist
To display the contents of all access lists from the current running configuration, issue this command:
[SN5428-2A]# show accesslist all
To display the contents of all access lists as they exist in the current bootable configuration, issue this command:
[SN5428-2A]# show accesslist all from bootconfig
To display the contents of the access list named webserver2 from the current running configuration, issue this command:
[SN5428-2A]# show accesslist webserver2
To display the contents of the access list named webserver2 as it exists in the saved configuration file backup_1218, issue this command:
[SN5428-2A]# show accesslist webserver2 from backup_1218
Related Commands
show admin
To display the system administrator contact information, use the show admin command.
Syntax Description
This command has no arguments or keywords.
Defaults
None.
Command Modes
Administrator or Monitor.
Command History
Release
|
Modification
|
2.2.1
|
This command was introduced for the SN 5428.
|
3.2.1
|
This command was introduced for the SN 5428-2.
|
Usage Guidelines
The following information displays:
•
Contact name
•
E-mail address
•
Phone number
•
Pager number
Examples
The following example displays the system administrator contact information:
Administrator Contact Information
Email: phurley@abc123z.com
Pager: 123.456.3444 pin 2234
Related Commands
Command
|
Description
|
admin contactinfo
|
Configure the storage router administrator contact information.
|
show boot
To display system boot information and startup file parameters, use the show boot command.
show boot
Syntax Description
This command has no arguments or keywords.
Defaults
None.
Command Modes
Administrator or Monitor.
Command History
Release
|
Modification
|
2.2.1
|
This command was introduced for the SN 5428.
|
3.2.1
|
This command was introduced for the SN 5428-2.
|
Usage Guidelines
Use this command to view system boot information, such as the boot device type, path to the boot image, and path to the file containing the startup commands. The show boot command is designed for debug purposes, and should be used under the guidance of a Cisco Technical Support professional.
Examples
The following example displays system boot information:
Startup File: /ata0/NuSpeed.start
Related Commands
Command
|
Description
|
show software version
|
Display a list of software versions available on the storage router, including the currently running version and the version that will run the next time the storage router is restarted.
|
show bootconfig
To display the storage router's bootable configuration, or to save the commands used to create the bootable configuration to a file, use the show bootconfig command.
show bootconfig [to filename]
Syntax Description
to filename
|
(Optional) Save the bootable configuration as a series of CLI commands and descriptive text to the specified file. The file will be saved in the script directory.
|
Defaults
None.
Command Modes
Administrator or Monitor.
Command History
Release
|
Modification
|
2.2.1
|
This command was introduced for the SN 5428.
|
3.2.1
|
This command was introduced for the SN 5428-2.
|
Usage Guidelines
Use the to keyword to save the bootable configuration as a series of CLI commands and descriptive text in the specified file. This file is saved in the script directory and can be used as a basis to create command scripts to automate common tasks. Use the read script command to execute a command script.
Note
A saved configuration file requires editing before it can be used as a command script via the read script command.
Table 15-1 describes the significant elements that are displayed:
Table 15-1 Elements Displayed for the "show bootconfig" Command
Element
|
Description
|
AAA
|
Authentication, authorization, and accounting method configuration information.
|
ACCESSLIST
|
Access list description and entry information.
|
ADMIN
|
The storage router administrator contact information.
|
ADMIN LOGIN
|
The Administrator mode password.
|
CDP
|
Cisco Discovery Protocol configuration, including timer and holdtime settings.
|
CLUSTER
|
The name of the cluster to which this storage router belongs.
|
DNS
|
The name of any defined domain name servers.
|
FCIP
|
FCIP instance configuration information.
|
FC PORTS
|
Operational characteristics of the Fibre Channel interfaces.
|
FC SWITCH
|
Global Fibre Channel attributes.
|
FC ZONE
|
Zone configuration information.
|
FC ZONE ALIAS
|
Zone alias configuration information.
|
FC ZONE SET
|
Zone set configuration information.
|
GE
|
IP addresses and operational characteristics of the Gigabit Ethernet interfaces.
|
HA
|
HA configuration information.
|
HA Port
|
IP address and operational characteristics of the HA interface.
|
LOGGING ROUTE FACILTIY
|
The logging table.
|
Mgmt Port
|
IP address and operational characteristics of the management interface.
|
MONITOR LOGIN
|
The Monitor mode password.
|
RESTRICT
|
Storage router interface restrictions.
|
RIP
|
Routing Information Protocol (RIP) configuration information.
|
ROUTES
|
The routing table.
|
SCSIROUTER
|
Configuration information for each SCSI routing instance, including name, description, server interface and other instance-specific configuration information.
|
SNMP
|
The SNMP settings.
|
SNTP
|
Date and time information, including the address of any associated NTP server.
|
SOFTWARE
|
The default download location for storage router software.
|
SSH
|
Secure Shell (SSH) configuration information.
|
SYSLOG
|
Remote logging configuration information.
|
SYSTEM
|
Storage router name.
|
TELNET
|
Session timeout information.
|
VLAN
|
VLAN configuration information.
|
VTP DOMAIN
|
VTP domain name.
|
VTP MODE
|
VTP configuration mode.
|
Examples
The following is example output from the show bootconfig command, for a storage router deployed for SCSI routing:
[SN5428-2A]# show bootconfig
accesslist aegis 10.2.0.23/255.255.255.255
accesslist aegis 10.3.0.36/255.255.255.255
accesslist aegis 10.4.0.49/255.255.255.255
accesslist aegis iscsi-name ign.1987-05.com.cisco.08.80342789af73ebcdef123.xxx
accesslist aegis iscsi-name ign.1987-05.com.cisco.08.7125abc9af73ebcdef123.xxx
accesslist aegis iscsi-name ign.1987-05.com.cisco.08.1234abecf9876bac00034.xxx
accesslist aegis chap-username 12h7b.lab2.webservices
accesslist aegis chap-username dorothy
accesslist aegis chap-username lab2servp
scsirouter zeus authenticate "none"
scsirouter zeus primary "none"
scsirouter zeus reserve proxy disable
scsirouter zeus failover primary none
scsirouter zeus failover secondary none
scsirouter zeus lun reset no
scsirouter zeus serverIf ge1 10.1.0.45/255.255.255.0
scsirouter zeus target webserver2 wwpn "21:00:00:05:ae:03:6d:6e"
scsirouter zeus target webserver2 enabled
scsirouter zeus target webserver2 accesslist "aegis" rw
scsirouter zeus target webserver2 accesslist "any" ro
interface mgmt ip-address 10.1.10.244/255.255.255.0
interface ha ip-address 10.1.20.56/255.255.255.0
interface ge1 autonegotiation autodetect
interface ge1 mtusize 1500
interface ge1 vlan enable
interface ge2 autonegotiation autodetect
interface ge2 mtusize 1500
interface ge2 vlan enable
ip route 10.1.30.0/255.255.255.0 10.1.10.201
ip route 10.1.40.243/255.255.255.255 10.1.10.201
ip route 10.1.50.249/255.255.255.255 10.1.10.201
ip default-gateway 10.1.10.201
ip rip timers invalid 180
admin contactinfo name "pat"
admin password <password>
monitor password <password>
snmp-server community public ro
snmp-server community private rw
no snmp-server host all traps
no snmp-server sendauthtraps
snmp-server linkupdown mgmt
snmp-server linkupdown ge1
snmp-server linkupdown ge2
snmp-server linkupdown fc1
snmp-server linkupdown fc2
snmp-server linkupdown fc3
snmp-server linkupdown fc4
snmp-server linkupdown fc5
snmp-server linkupdown fc6
snmp-server linkupdown fc7
snmp-server linkupdown fc8
ip name-server 10.1.40.243 10.1.50.249
ip domain-name mystoragenet.com
software http url "http://www.cisco.com"
software http username "ciscocustomer" password "<password>"
software proxy username none
! ha configuration clustered
logging syslog 10.1.40.251
logging level notice from all to all
logging level info from all to logfile
cdp interface mgmt enable
fcswitch zoning default all
fcswitch zoning autosave enable
fcswitch zoning merge SW2
fcswitch domainid 1 force
no fcswitch domainid lock enable
fcswitch interop-credit 12
fcalias iscsi member wwpn 280000048aa58710
fcalias iscsi member wwpn 290000048aa58710
fcalias leto member wwpn 201b00491585c219
zone agamemnon member wwpn 201b00491585c219
zone agamemnon member fcalias leto
zoneset helen zone agamemnon
interface fc1 ms-enable enable
no interface fc1 al-fairness enable
interface fc1 fan-enable enable
interface fc1 ext-credit 0
interface fc1 mfs-bundle enable timeout 10
interface fc1 linkspeed auto
interface fc1 type gl-port
interface fc2 ms-enable enable
no interface fc2 al-fairness enable
interface fc2 fan-enable enable
interface fc2 ext-credit 0
interface fc2 mfs-bundle enable timeout 10
interface fc2 linkspeed auto
interface fc2 type gl-port
interface fc3 ms-enable enable
no interface fc3 al-fairness enable
interface fc3 fan-enable enable
interface fc3 ext-credit 0
interface fc3 mfs-bundle enable timeout 10
interface fc3 linkspeed auto
interface fc3 type gl-port
interface fc4 ms-enable enable
no interface fc4 al-fairness enable
interface fc4 fan-enable enable
interface fc4 ext-credit 0
interface fc4 mfs-bundle enable timeout 10
interface fc4 linkspeed auto
interface fc4 type gl-port
interface fc5 ms-enable enable
no interface fc5 al-fairness enable
interface fc5 fan-enable enable
interface fc5 ext-credit 0
interface fc5 mfs-bundle enable timeout 10
interface fc5 linkspeed auto
interface fc5 type gl-port
interface fc6 ms-enable enable
no interface fc6 al-fairness enable
interface fc6 fan-enable enable
interface fc6 ext-credit 0
interface fc6 mfs-bundle enable timeout 10
interface fc6 linkspeed auto
interface fc6 type gl-port
interface fc7 ms-enable enable
no interface fc7 al-fairness enable
interface fc7 fan-enable enable
interface fc7 ext-credit 0
interface fc7 mfs-bundle enable timeout 10
interface fc7 linkspeed auto
interface fc7 type gl-port
interface fc8 ms-enable enable
no interface fc8 al-fairness enable
interface fc8 fan-enable enable
interface fc8 ext-credit 0
interface fc8 mfs-bundle enable timeout 10
interface fc8 linkspeed auto
interface fc8 type gl-port
username "fred" password "9 af4f2428498a41a31e237de1c4a9b9fcef"
username "pat" password "9 7ddbccc3d0daf013f4293c3d3bd94539dd"
username "kris" password "9 0607167520058771e66ab1d379d7e6505f"
username "adrian" password "9 0ad24a3b35dc296d894e512416d572b3ee"
radius-server retransmit 12
radius-server host 10.5.0.53 auth-port 1645
radius-server host 10.6.0.61 auth-port 1645
radius-server host 10.7.0.62 auth-port 1645
tacacs-server host 10.7.0.22 auth-port 49
aaa group server radius "testradius"
aaa group server radius "testradius" server 10.5.0.53 auth-port 1645
aaa group server radius "testradius" server 10.6.0.61 auth-port 1645
aaa authentication iscsi default local group radius local-case
aaa authentication iscsi test group testradius local
aaa authentication enable default group radius enable
aaa authentication login default group radius monitor
The following example creates a command file called SN5428-2AScript1 in the script directory. It contains many of the CLI commands that were issued to create the current bootable configuration.
[SN5428-2A]# show bootconfig to SN5428-2AScript1
Related Commands
Command
|
Description
|
read script
|
Read and execute the CLI commands in the named script file.
|
restore all
|
Restore the contents of the named configuration file into memory.
|
save all
|
Save all configuration information
|
show runningconfig
|
Display the running configuration, or create a command file based on the running configuration.
|
show savedconfig
|
List the contents of the savedconfig directory or the contents of the named configuration file.
|
show script
|
Display the contents of the script directory or the contents of the named command file.
|
show buffers
To display buffer pool information for a variety of areas, use the show buffers command.
show buffers
Syntax Description
This command has no arguments or keywords.
Defaults
None.
Command Modes
Administrator or Monitor.
Command History
Release
|
Modification
|
2.2.1
|
This command was introduced for the SN 5428.
|
3.2.1
|
This command was introduced for the SN 5428-2.
|
Usage Guidelines
The display includes the number of free memory buffers for each pool, along with those currently allocated to various functions. The show buffers command is designed for debug purposes, and should be used under the guidance of a Cisco Technical Support professional.
Examples
The following is sample output from the show buffers command:
number of times failed to find headers: 0
number of times failed to find clusters: 0
number of times waited for space: 0
number of times drained protocols for space: 0
_______________________________________________________________________________
size clusters free usage low water
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
number of times failed to find headers: 0
number of times failed to find clusters: 0
number of times waited for space: 0
number of times drained protocols for space: 0
_______________________________________________________________________________
size clusters free usage low water
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
########## Output from CPP ##########
number of times failed to find headers: 0
number of times failed to find clusters: 0
number of times waited for space: 0
number of times drained protocols for space: 0
_______________________________________________________________________________
size clusters free usage low water
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
number of times failed to find headers: 0
number of times failed to find clusters: 0
number of times waited for space: 0
number of times drained protocols for space: 0
_______________________________________________________________________________
size clusters free usage low water
-------------------------------------------------------------------------------
128 4124 4124 367277 3946
-------------------------------------------------------------------------------
Related Commands
Command
|
Description
|
show stack
|
Display the memory stack on a per-task basis.
|
show tech-support
|
Display a variety of diagnostic information for use by Cisco Technical Support professionals.
|
show cdp
To display global Cisco Discovery Protocol (CDP) configuration information for the storage router, including timer and holdtime information, use the show cdp command.
show cdp
Syntax Description
This command has no arguments or keywords.
Defaults
None.
Command Modes
Administrator or Monitor.
Command History
Release
|
Modification
|
2.2.1
|
This command was introduced for the SN 5428.
|
3.2.1
|
This command was introduced for the SN 5428-2.
|
Usage Guidelines
This command displays current CDP configuration. Use this command to determine if CDP is enabled, and view packet timing and holdtime information. CDP allows network applications to learn device-type information and the SNMP agent address of neighboring devices.
Examples
The following example displays CDP configuration information for the storage router. It shows that CDP is enabled and packets are sent every minute. The storage router directs its neighbors to hold its CDP advertisements for 3 minutes (the default CDP holdtime value). The storage router is also enabled to send CDP version 2 advertisements.
Sending CDP packets every 60 seconds
Sending a holdtime value of 180 seconds
Sending CDPv2 advertisements are enabled
Table 15-2 describes the significant fields shown in the display.
Table 15-2 Description of Fields in the "show cdp" Command Output
Field
|
Definition
|
Sending CDP packets every nn seconds
|
The interval (in seconds) between transmissions of CDP advertisements. This field is controlled by the cdp timer command.
|
Sending a holdtime value of nn seconds
|
The amount of time (in seconds) the storage router directs a neighbor to hold the CDP advertisement before discarding it. This field is controlled by the cdp holdtime command.
|
Sending CDPv2 advertisements are enabled
|
Indicates that CDP version 2 advertisements are enabled.
|
Related Commands
Command
|
Description
|
cdp enable
|
Enable or disable CDP on the storage router.
|
cdp holdtime
|
Specify the amount of time the receiving device should hold a CDP packet from the storage router before discarding it.
|
cdp interface
|
Switch CDP on or off for the specified interface.
|
cdp timer
|
Specify the amount of time between transmissions of CDP packets from the storage router.
|
show cdp entry
|
Display information about a specific neighbor device listed in the CDP neighbors table.
|
show cdp interface
|
Display information about the storage router interfaces on which CDP is enabled.
|
show cdp neighbors
|
Display detailed information about neighboring devices discovered using CDP.
|
show cdp traffic
|
Display information about traffic between devices gathered using CDP.
|
show cdp entry
To display information about a specific neighboring device or all neighboring devices discovered using CDP, use the show cdp entry command.
show cdp entry {device-id | all}
Syntax Description
device-id
|
The device ID of the CDP neighbor about which you want information.
|
all
|
Display all CDP neighbors.
|
Defaults
None.
Command Modes
Administrator or Monitor.
Command History
Release
|
Modification
|
2.2.1
|
This command was introduced for the SN 5428.
|
3.2.1
|
This command was introduced for the SN 5428-2.
|
Usage Guidelines
Use this command to display operational information about CDP neighbors known to the storage router. Use show cdp neighbors command to display the device ID for the neighbor about which you want additional information.
Examples
The following is sample output from the show cdp entry command. Information about all neighboring devices is displayed, including device ID, address and protocol, platform, interface, holdtime, and version.
[SN5428-2A]# show cdp entry all
----------------------------------------
Device ID: SCA0428017Q(lab-SN5428-2A.mylab.com)
Platform: WS-C6509, Capabilities: Trans-Bridge Switch IGMP
Interface: ge2, Remote Port (outgoing port): 4/13
WS-C6509 Software, Version McpSW: 6.1(1b) NmpSW: 6.1(1b)
Copyright (c) 1995-2000 by Cisco Systems
Related Commands
Command
|
Description
|
cdp enable
|
Enable or disable CDP on the storage router.
|
cdp holdtime
|
Specify the amount of time the receiving device should hold a CDP packet from the storage router before discarding it.
|
cdp interface
|
Switch CDP on or off for the specified interface.
|
cdp timer
|
Specify the amount of time between transmissions of CDP packets from the storage router.
|
show cdp
|
Display global CDP configuration information for the storage router.
|
show cdp interface
|
Display information about the storage router interfaces on which CDP is enabled.
|
show cdp neighbors
|
Display detailed information about neighboring devices discovered using CDP.
|
show cdp traffic
|
Display information about traffic between devices gathered using CDP.
|
show cdp interface
To display information about the storage router interfaces on which CDP is enabled, use the show cdp interface command.
show cdp interface [if-name]
Syntax Description
if-name
|
Display CDP status and operational information for the specified interface. The following are valid interface names: mgmt, ha, ge1 and ge2.
|
Defaults
None.
Command Modes
Administrator or Monitor.
Command History
Release
|
Modification
|
2.2.1
|
This command was introduced for the SN 5428.
|
3.2.1
|
This command was introduced for the SN 5428-2.
|
Usage Guidelines
CDP can be enabled for all storage router interfaces, including the management, high availability, and Gigabit Ethernet interfaces. Use the show cdp interface command to display a brief summary of all interfaces on which CDP is enabled. To display status and operational information for a specific interface, add the interface name argument.
Examples
The following is example output from the show cdp interface command:
[SN5428-2A]# show cdp interface
The following is example output for the management interface (mgmt):
[SN5428-2A]# show cdp interface mgmt
Related Commands
Command
|
Description
|
cdp enable
|
Enable or disable CDP on the storage router.
|
cdp holdtime
|
Specify the amount of time the receiving device should hold a CDP packet from the storage router before discarding it.
|
cdp interface
|
Switch CDP on or off for the specified interface.
|
cdp timer
|
Specify the amount of time between transmissions of CDP packets from the storage router
|
show cdp
|
Display global CDP configuration information for the storage router.
|
show cdp entry
|
Display information about a specific neighbor device listed in the CDP neighbors table.
|
show cdp neighbors
|
Display detailed information about neighboring devices discovered using CDP.
|
show cdp traffic
|
Display information about traffic between devices gathered using CDP.
|
show cdp neighbors
To display detailed information about neighboring devices discovered using CDP, use the show cdp neighbors command.
show cdp neighbors [interface if-name] [detail]
Syntax Description
interface if-name
|
(Optional) Keyword and name of the interface connected to the neighbors for which you want information.
|
detail
|
(Optional) Display detailed information about a neighbor (or neighbors) including network address, enabled protocols, holdtime, and software version.
|
Defaults
None.
Command Modes
Administrator or Monitor.
Command History
Release
|
Modification
|
2.2.1
|
This command was introduced for the SN 5428.
|
3.2.1
|
This command was introduced for the SN 5428-2.
|
Usage Guidelines
Use the show cdp neighbors command to display brief or detailed information about neighboring devices discovered using CDP. Add the interface keyword and the interface name to limit the display to neighbors connected to that specific interface.
Use the detail keyword to display detailed information about all devices, or devices connected to the specified interface.
Examples
The following is example output from the show cdp neighbors command:
[SN5428-2A]# show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater
Device-ID Capability Platform Remote Port
--------------------------- ---------- --------------------- -----------
SCA05600126(kal6-lab-swa.cm TSI WS-C6509 4/16
SCA05600126(kal6-lab-swa.cm TSI WS-C6509 4/12
JAB04140GZC(kal6-lab-z4-swa TS WS-C2948 1/23
Table 15-3 describes the significant fields shown in the display.
Table 15-3 Description of Fields in the "show cdp neighbors" Command Output
Field
|
Description
|
Capability Codes
|
The type of device that can be discovered.
|
Device-ID
|
The name of the neighbor device and either the MAC address or the serial number of this device. This field is truncated after 27 characters.
|
Capability
|
The type of the device listed in the CDP Neighbors table. Possible values are:
• R—Router
• T—Transparent bridge
• B—Source-routing bridge
• S—Switch
• H—Host
• I—IGMP device
• r—Repeater
|
Platform
|
The product number of the device. This field is truncated after 21 characters.
|
Remote Port
|
The outgoing port information.
|
The following is sample output for one neighbor from the show cdp neighbors detail command. The output includes additional information about the neighbor, including network address, enabled protocols, and software version.
[SN5428-2A]# show cdp neighbors detail
----------------------------------------
Device ID: TRC0448016Q(lab-sn5428-2a.mlab.com)
Platform: WS-C6509, Capabilities: Trans-Bridge Switch IGMP
Interface: mgmt, Remote Port (outgoing port): 7/48
WS-C6509 Software, Version McpSW: 6.1(1b) NmpSW: 6.1(1b)
Copyright (c) 1995-2000 by Cisco Systems
VTP Management Domain: 'LAB-SN5428-2A'
----------------------------------------
Device ID: 000421b45a00(lab32)
Platform: SN5428-2, Capabilities: Router
Interface: mgmt, Remote Port (outgoing port): fei0
Cisco SN5428-2 Software Version 3.2.1
Table 15-4 describes the significant fields shown in the display.
Table 15-4 Description of Fields in the "show cdp neighbors detail" Command Output
Field
|
Description
|
Device-ID
|
The name of the neighbor device and either the MAC address or the serial number of this device.
|
Entry address(es)
|
A list of network addresses of neighbor devices.
|
IP address
|
The IP address of the neighboring device.
|
Platform
|
The product number of the device.
|
Capabilities
|
The device type of the neighbor. This device can be a router, a bridge, a transparent bridge, a source-routing bridge, a switch, a host, an IGMP device, or a repeater.
|
Interface
|
The storage router interface used to connect to this neighbor.
|
Remote Port
|
The outgoing port number.
|
Holdtime
|
The remaining amount of time (in seconds) the current device will hold the CDP advertisement from a sending device before discarding it.
|
Version
|
The software version of the neighbor device.
|
advertisement version
|
The CDP advertisement version.
|
VTP Management Domain
|
The name of the VTP management domain.
|
Native VLAN
|
The native VLAN identification number.
|
Duplex
|
The duplex state of the connection between the storage router and the neighbor device.
|
Related Commands
Command
|
Description
|
cdp enable
|
Enable or disable CDP on the storage router.
|
cdp holdtime
|
Specify the amount of time the receiving device should hold a CDP packet from the storage router before discarding it.
|
cdp interface
|
Switch CDP on or off for the specified interface.
|
cdp timer
|
Specify the amount of time between transmissions of CDP packets from the storage router.
|
show cdp
|
Display global CDP configuration information for the storage router.
|
show cdp entry
|
Display information about a specific neighbor device listed in the CDP neighbors table.
|
show cdp interface
|
Display information about the interfaces on which CDP is enabled.
|
show cdp traffic
|
Display information about traffic between devices gathered using CDP.
|
show cdp traffic
To display information about traffic between devices gathered using Cisco Discovery Protocol (CDP), use the show cdp traffic command.
show cdp traffic
Syntax Description
This command has no arguments or keywords.
Defaults
None.
Command Modes
Administrator or Monitor.
Command History
Release
|
Modification
|
2.2.1
|
This command was introduced for the SN 5428.
|
3.2.1
|
This command was introduced for the SN 5428-2.
|
Usage Guidelines
Use this command to view statistics about CDP traffic between the storage router and other devices.
Examples
The following is example output from the show cdp traffic command.
[SN5428-2A]# show cdp traffic
Total packets output: 4968, Input: 22329
Hdr syntax: 0, Chksum error: 0, Encaps failed: 0
No memory: 0, Invalid packet: 0, Fragmented: 0
CDP version 1 advertisements output: 1242, Input: 9911
CDP version 2 advertisements output: 3726, Input: 12418
Table 15-5 describes the fields shown in the display.
Table 15-5 Description of Fields in the "show cdp traffic" Command Output
Field
|
Description
|
Total packets output
|
The number of CDP advertisements sent by the storage router. This value is the sum of the "CDP version 1 advertisements output" and "CDP version 2 advertisements output" fields.
|
Input
|
The number of CDP advertisements received by the storage router. This value is the sum of the "CDP version 1 advertisements input" and "CDP version 2 advertisements input" fields.
|
Hdr syntax
|
The number of CDP advertisements with bad headers received by the storage router.
|
Chksum error
|
The number of times the verification operation failed on incoming CDP advertisements.
|
Encaps failed
|
The number of times CDP failed to send advertisements on an interface because of a failure caused by the bridge port of the storage router.
|
No memory
|
The number of times the storage router did not have sufficient memory to store the CDP advertisements in the advertisement cache table when the storage router attempted to assemble advertisement packets for transmission or to parse them when receiving them.
|
Invalid packet
|
The number of invalid CDP advertisements received and sent by the storage router.
|
Fragmented
|
The number of times fragments or portions of a single CDP advertisement were received by the storage router instead of the complete advertisement.
|
CDP version 1 advertisements output
|
The number of CDP version 1 advertisements sent by the storage router.
|
Input
|
The number of CDP version 1 advertisements received by the storage router.
|
CDP version 2 advertisements output
|
The number of CDP version 2 advertisements sent by the storage router.
|
Input
|
The number of CDP version 2 advertisements received by the storage router.
|
Related Commands
Command
|
Description
|
cdp enable
|
Enable or disable CDP on the storage router.
|
cdp holdtime
|
Specify the amount of time the receiving device should hold a CDP packet from the storage router before discarding it.
|
cdp interface
|
Switch CDP on or off for the specified interface.
|
cdp timer
|
Specify the amount of time between transmissions of CDP packets from the storage router.
|
show cdp
|
Display global CDP configuration information for the storage router.
|
show cdp entry
|
Display information about a specific neighbor device listed in the CDP neighbors table.
|
show cdp interface
|
Display information about the interfaces on which CDP is enabled.
|
show cdp neighbors
|
Display detailed information about neighboring devices discovered using CDP.
|
show cli
To display information about the command line interface (CLI), use the show cli command.
show cli [command-keyword] [command-keyword ... command keyword ...]
show cli status
Syntax Description
command-keyword
|
(Optional) The first keyword in the command displays the CLI command tree for all varieties of that command.
|
status
|
(Optional) Keyword used to display the status of the last CLI command.
|
Defaults
None.
Command Modes
Administrator or Monitor.
Command History
Release
|
Modification
|
2.2.1
|
This command was introduced for the SN 5428.
|
3.2.1
|
This command was introduced for the SN 5428-2.
|
Usage Guidelines
Use the show cli command to display the complete CLI command tree, along with helpful information about command parameters and arguments. Use the command-keyword arguments to display information about a specific set of commands, such as scsirouter or cdp commands. Only valid commands and keywords will be displayed.
The set of CLI commands and keywords that will be available to you depend on the level of authority associated with your CLI management session and the deployment option selected for the storage router during initial configuration.
Use the status keyword to display the status of the last CLI command that was issued. A status of "0" indicates that the command completed without errors. A status of "-13" indicates that the command syntax was invalid.
Examples
The following is example output from the show cli command, showing the CLI command tree information for the ping command.
[SN5428-2A]# show cli ping
ping Send ICMP pings to a host
<A.B.C.D | servername> IP address or hostname to ping
numpkts Number of packets to attempt
<npkts> Integer greater than zero (Default is 5)
<sn> Integer (64..4096), default is 64
<sn> Integer (64..4096), default is 64
Related Commands
Command
|
Description
|
help
|
Display information about how to use the CLI.
|
show clock
To display the current system date and time, use the show clock command.
show clock
Syntax Description
This command has no arguments or keywords.
Defaults
None.
Command Modes
Administrator or Monitor.
Command History
Release
|
Modification
|
2.2.1
|
This command was introduced for the SN 5428.
|
3.2.1
|
This command was introduced for the SN 5428-2.
|
Usage Guidelines
Use this command to display the storage router date and time setting.
Examples
The following is example output from the show clock command:
Thurs Mar 21 15:54:25 GMT+6 2002
Related Commands
Command
|
Description
|
clock set
|
Set the system clock to the given date and time.
|
clock timezone
|
Specify the storage router time zone information.
|
ntp peer
|
Specify the name or IP address of the NTP server with which the storage router will synchronize date and time.
|
setup time
|
Run the wizard to configure date and time information (including NTP server and time zone) associated with the storage router.
|
show cluster
To display operational information related to the high availability (HA) cluster, use the show cluster command.
show cluster
Syntax Description
This command has no arguments or keywords.
Defaults
None.
Command Modes
Administrator or Monitor.
Command History
Release
|
Modification
|
2.2.1
|
This command was introduced for the SN 5428.
|
3.2.1
|
This command was introduced for the SN 5428-2.
|
Usage Guidelines
Use this command to display cluster information for the storage router whether it is in standalone or clustered mode.
Examples
The following example displays cluster information. In this example, the storage router named SN 5428-2A belongs to a cluster.
[SN5428-2A]# show cluster
Last Change: Tue Mar 19 04:12:51 GMT+6 2002
IP Multicast Address: 224.0.0.101
Operating Message Version: V3
Detected Configuration Errors: None
HA Configuration: CLUSTERED
HA: up MGMT Port: up HA Port: up
System Name MGMT IP HA IP Last Heard From
SN5428-2A 10.1.10.244 10.1.20.56 Self
SN5428-2B 10.1.10.223 10.1.20.98 Tue Mar 18 05:17:43
Application Name Master on State Last Config Update
scsirouter/scsi1 SN5428-2A Master Mar 18 21:23:45
scsirouter/scsi2 SN5428-2B Slave Mar 18 23:21:10
AAA, Access List, password, & VLAN Management is on SN5428-2B
The following example displays cluster information about a standalone storage router:
[SN5428-2A]# show cluster
Last Change: Mon Nov 19 14:09:18 GMT+6 2001
IP Multicast Address: 224.0.0.101
Operating Message Version: V3
Detected Configuration Errors: None
HA Configuration: STANDALONE
HA: down MGMT Port: up HA Port: down
System Name MGMT IP HA IP Last Heard From
SN5428-2A 10.1.10.244 no IP address Self
Application Name Master on State Last Config Update
scsirouter/foo SN5428-2A Master Jan 19 13:05:33
AAA, Access List, password & VLAN Management is on SN5428-2A
Table 15-6 describes the fields shown in the display.
Table 15-6 Description of Fields in the "show cluster" Command Output
Field Name
|
Description
|
Cluster Name
|
The name of the HA cluster.
|
Cluster Changes
|
The number of cluster changes made to this storage router since it was initially configured, or since the last clear conf command was issued.
|
Last Change
|
The date and time of the last cluster configuration change.
|
IP Multicast Address
|
The IP address used for multicast communications. IANA has assigned the multicast IP address 224.0.0.101 to the Cisco SN 5400 Series of storage routers.
|
Operating Message Version
|
The version identifier for system messages, including HA messages exchanged between storage routers in a cluster.
|
Detected Configuration Errors
|
The total number of configuration errors, if any, detected by the system.
|
Local Node
|
The name of the storage router.
|
HA Configuration
|
Indicates the configuration of HA in the storage router. Valid configurations are STANDALONE or CLUSTERED.
|
HA
|
Indicates the state of the HA application in the storage router. Valid states are up or down. If the HA configuration is STANDALONE, the HA state should be down.
|
MGMT Port
|
Indicates the state of the physical management port. Valid states are up or down.
|
HA Port
|
Indicates the state of the physical HA port. Valid states are up or down.
|
Sent . . . heartbeats
|
Number of heartbeats transmitted on the HA network.
|
Recvd . . . heartbeats
|
Number of heartbeats received on the HA network.
|
Cluster Node List
|
A list of storage routers in the cluster.
|
System Name
|
The name of the storage router.
|
MGMT IP
|
The IP address of the cluster node management interface.
|
HA IP
|
The IP address of the cluster node HA interface.
|
Last Heard From
|
The date and time the cluster node was last heard from.
|
Application List
|
A list of applications running on the storage router.
|
Application Name
|
A list of all SCSI routing instances in the cluster.
|
Master on
|
The name of the storage router currently running this SCSI routing instance.
|
State
|
The state of the SCSI routing instance on this storage router.
|
Last Config Update
|
The date and time of the last configuration change to this SCSI routing instance.
|
AAA, Access List, password & VLAN management is on
|
The name of the storage router in the cluster that currently handles access list, VLAN, AAA, and password management functions.
|
Related Commands
Command
|
Description
|
save all
|
Save all configuration information.
|
save system
|
Save selected system configuration information.
|
setup cluster
|
Change the configuration of the high availability environment.
|
show ha
|
Display HA operational statistics for the storage router or for a specific application.
|
show system
|
Display selected system information, including system name.
|
show cpu
To display CPU utilization information, use the show cpu command.
show cpu
Syntax Description
This command has no arguments or keywords.
Defaults
None.
Command Modes
Administrator or Monitor.
Command History
Release
|
Modification
|
2.2.1
|
This command was introduced for the SN 5428.
|
3.2.1
|
This command was introduced for the SN 5428-2.
|
Usage Guidelines
Use this command to view the percentage of CPU utilization for the last five seconds, the last minute, and the last five minutes. The show cpu command is designed for debug purposes, and should be used under the guidance of a Cisco Technical Support professional.
Examples
The following is example output from the show cpu command:
CPU Utilization for last 5 seconds: 1%; last 1 minute: 2%; last 5 minutes: 2%
Related Commands
Command
|
Description
|
show buffers
|
Display information about buffer pools.
|
show memory
|
Display information about memory and related resources.
|
show stack
|
Display the memory stack on a per-task basis.
|
show tech-support
|
Display a variety of diagnostic information for use by Cisco Technical Support professionals.
|
show crash
To display saved crash trace information or current crash trace information, use the show crash command.
show crash [current]
Syntax Description
current
|
(Optional) Returns the current crash trace information for the running system.
|
Defaults
None.
Command Modes
Administrator or Monitor.
Command History
Release
|
Modification
|
2.2.1
|
This command was introduced for the SN 5428.
|
3.2.1
|
This command was introduced for the SN 5428-2.
|
Usage Guidelines
The default crash trace file is crash-cpp.txt in the log directory. This file is created if the storage router unexpectedly restarts. Use the current keyword to display the crash trace information as it exists for the currently running system. To save the command output, redirect the output of your console using the logging facilities for your specific console interface. Depending on your console interface and scroll buffer size, you may also be able to copy and paste the contents from your console into an ASCII text file.
The show crash command is designed for debug purposes and should only be used under the guidance of a Cisco Technical Support professional.
Examples
The following example displays the beginning of current crash trace information:
[SN5428-2A]# show crash current
# Crash Information (/ata4/log/tmpcrash.txt)
Cisco Systems Crash Trace
Time Stamp: Thu Mar 13 16:04:35 CST 2002
Software Version: 3.3.1-K9
VxWorks (for Galileo GT64260/MPC7410) version 5.4.1.
Kernel: WIND version 2.5.
Made on Dec 12 2002, 15:13:30.
ata=0,00(0,0):/ata0/vxWorks e=10.1.10.244:ffffff00 tn=lab2 s=/ata0/NuSpeed.start o=fei
In the following example, no saved crash trace information exists. This condition occurs when the command is issued and the storage router has never unexpectedly restarted.
# Crash Information (/ata4/log/crash-cpp.txt)
No crash information available
Related Commands
Command
|
Description
|
show buffers
|
Display information about buffer pools.
|
show memory
|
Display information about memory and related resources.
|
show stack
|
Display the memory stack on a per-task basis.
|
show tech-support
|
Display a variety of diagnostic information for use by Cisco Technical Support professionals.
|
show debug
To display a variety of debug information or perform specific troubleshooting activities, use the show debug command.
show debug {mailboxtrace | rawlundatabase} {fci? | all}
show debug portarray fci?
Syntax Description
fci?
|
The name of the internal Fibre Channel (FC) interface. Valid values are fci1 and fci2. When you type fci?, the CLI lists the interfaces available. You cannot specify a nonexistent interface.
|
all
|
Keyword used to display the specified debug information for all internal FC interfaces.
|
mailboxtrace
|
Display mailbox trace data.
|
portarray
|
Display all active virtual ports. This command is only available in systems deployed for transparent SCSI routing.
|
rawlundatabase
|
Display raw inquiry data from all discovered LUNs.
|
Defaults
None.
Command Modes
Administrator or Monitor.
Command History
Release
|
Modification
|
2.2.1
|
This command was introduced for the SN 5428.
|
2.3.1
|
The portarray keyword was added.
|
2.5.1
|
The all keyword was added.
|
3.2.1
|
This command was introduced for the SN 5428-2. For the SN 5428, the forcefcfwdump and lldrestartfcfw keywords were removed.
|
Usage Guidelines
Use this command to display debugging information for internal FC interfaces. The show debug command is designed for debug purposes and should be used under the guidance of a Cisco Technical Support professional.
Examples
The following example displays raw lun database information for all targets discovered on the internal FC interface fci1:
[SN5428-2_PR]# show debug rawlundatabase fci1
Entry Address = 0xd047ab4
fabricLoginFailureCode=0x0,fabricLoginExtendedCode=0x0,fabricLoginTimeoutCode=0x0
ReportLunsLLDStatus=0x0,ReportLunsLLDStatusModifier=0x0,ReportLunsSCSIStatus=0x0,ReportLun
sASCASCQ=0x0,ReportLunsLunCount=1
InquiryLLDStatus=0x0,InquiryLLDStatusModifier=0x0,InquiryLastLunWithLLDError=0x0,
InquirySCSIStatus=0x0,InquiryASCASCQ=0x0,InquiryLastLunWithSCSIStatusError=0x0
boolLunsNotSupported=0x0,InquiryLastLunNotSupported=0x0
loopId=0x0,masterState=0x6,slaveState=0x7,loggedIn=1,roles=1,valid=1,portId=0x104e1,scanLu
ns=0x0
numberLuns=0x1,reportAsyncEvent=0x0,node_wwn=0x20000004 0xae4122a6, port_wwn=0x21000004
0xae4322a6
lun=0, wwnn=0x20000020 0x37559b0e, reportAsyncEvent=0x0
stdInquiry data for lun=0x0
bytes0-7=0x00000332 0x8b00700a
vendorId=SEAGATE , product=ST318451FC , revision=0001 device Type=0x0
DeviceIdPage:bytes0-3= 0x0083000c,bytes4-7= 0x01030008,bytes8-11= 0x20000020
:bytes12-15= 0x37559b0e,bytes16-19=0x00800014,bytes20-23=0x33434330
S/N Page:bytes0-3= 0x00800014 s/n=3CC01M4K0000710367CX
Entry Address = 0xab1603c
fabricLoginFailureCode=0x0,fabricLoginExtendedCode=0x0,fabricLoginTimeoutCode=0x0
ReportLunsLLDStatus=0x0,ReportLunsLLDStatusModifier=0x0,ReportLunsSCSIStatus=0x0,ReportLun
sASCASCQ=0x0,ReportLunsLunCount=1
InquiryLLDStatus=0x0,InquiryLLDStatusModifier=0x0,InquiryLastLunWithLLDError=0x0,
InquirySCSIStatus=0x0,InquiryASCASCQ=0x0,InquiryLastLunWithSCSIStatusError=0x0
boolLunsNotSupported=0x0,InquiryLastLunNotSupported=0x0
loopId=0x1,masterState=0x6,slaveState=0x7,loggedIn=1,roles=1,valid=1,portId=0x101e2,scanLu
ns=0x0
numberLuns=0x1,reportAsyncEvent=0x0,node_wwn=0x20000004 0xae4304cd, port_wwn=0x22000004
0xae4304cd
lun=0, wwnn=0x20000004 0xae4304cd, reportAsyncEvent=0x0
stdInquiry data for lun=0x0
bytes0-7=0x00000312 0x8b00700a
vendorId=SEAGATE , product=ST318452FC , revision=0002 device Type=0x0
DeviceIdPage:bytes0-3= 0x0083000c,bytes4-7= 0x01030008,bytes8-11= 0x20000004
:bytes12-15= 0xae4304cd,bytes16-19=0x00700014,bytes20-23=0x43465630
S/N Page:bytes0-3= 0x00800014 s/n=3FZ0647A00a06216DVJ7
Entry Address = 0xcb1974c
fabricLoginFailureCode=0x0,fabricLoginExtendedCode=0x0,fabricLoginTimeoutCode=0x0
ReportLunsLLDStatus=0xbfc0,ReportLunsLLDStatusModifier=0x3801,ReportLunsSCSIStatus=0x7fcb,
ReportLunsASCASCQ=0x8c13,ReportLunsLunCou7
InquiryLLDStatus=0x5179,InquiryLLDStatusModifier=0x8492,InquiryLastLunWithLLDError=0x7a90,
InquirySCSIStatus=0xacea,InquiryASCASCQ=0x800b,InquiryLastLunWithSCSIStatusError=0xffe3
boolLunsNotSupported=0x38da7321,InquiryLastLunNotSupported=0xfc51
loopId=0x7e,masterState=0x6,slaveState=0x7,loggedIn=1,roles=0,valid=1,portId=0xfffffe,scan
Luns=0x1
numberLuns=0x0,reportAsyncEvent=0x0,node_wwn=0x10000002 0x3d071161, port_wwn=0x20000002
0x3a171241
Related Commands
Command
|
Description
|
debug scsirouter
|
Enable debugging for the named SCSI routing instance
|
debug scsirouter target
|
Enable debugging for a specific SCSI routing instance target and LUN combination.
|
show debug fcip
To display a variety of debug information or perform specific troubleshooting activities for FCIP instances, use the show debug fcip command.
show debug fcip name {mailboxtrace | packettrace}
Syntax Description
name
|
The name of the FCIP instance. Valid names are fcip1 and fcip2.
|
mailboxtrace
|
Display mailbox trace data.
|
packettrace
|
Display packet trace data.
Note The packet trace mask can be set for the current session using the debug fcip command. To retain the packet trace mask setting over a storage router restart, use the fcip destination config command.
|
Defaults
None.
Command Modes
Administrator.
Command History
Release
|
Modification
|
3.2.1
|
This command was introduced for the SN 5428-2.
|
Usage Guidelines
Use this command to display debugging information for FCIP instances. The show debug command is designed for debug purposes and should be used under the guidance of a Cisco Technical Support professional.
Examples
The following is example mailbox trace data for the FCIP instance named fcip1:
[SN5428-2A]# show debug fcip fcip1 mailboxtrace
linkState Down, linkIsUp FALSE
Peer 0.0.0.0, isConnected TRUE
Max IOCB Allocation 256, Max Frame Length 2112
Execution Throttle 16, Retry Count 8
Retry Delay 1, Inquiry Data 0
Risc Option 0x8000, Additional Firmware Option 0x10
Special Firmware Option 0x6000
FW_Rev 3.100.101, FW_State 0x4
mboxTracing Yes, cmdCount 0
requestQ: queue_base = 0xca92000
reqinptr = 28, reqoutptr = 0
reqInAbsAddress = 0xca92700, reqOutAbsAddress = 0xca92000
responseQ: queue_base = 0xca8c000
respinptr = 28, respoutptr = 28
respInAbsAddress = 0xca8c700, respOutAbsAddress = 0xca8c700
0009 9d40 0ca8 b000 0040 0000 0000 0000 0000
4000 1111 2222 3333 4444 5555 6666 7777 ffff
0009 9d80 0ca8 b000 0040 0000 0000 0000 0000
4000 1111 2222 3333 4444 5555 6666 7777 ffff
0009 9dc0 0ca8 b000 0040 0000 0000 0000 0000
4000 1111 2222 3333 4444 5555 6666 7777 ffff
0007 0800 0ca8 b000 0040 0000 0000 0000 0000
Related Commands
Command
|
Description
|
debug fcip
|
Enable debugging for the named FCIP instance.
|
fcip
|
Create an FCIP instance.
|
fcip destination config
|
Configure operational parameters for the named FCIP instance.
|
show fcip
|
Display configuration and operational information for the named FCIP instance.
|
show debug fcswitch
To display internal Fibre Channel (FC) interface parameters, use the show debug fcswitch command.
show debug fcswitch {all | brief | memory | tech-support}
show debug fcswitch clish text
Syntax Description
all
|
Display all interface parameters for internal FC interfaces fc0, fc15, fci1 and fci2, including all switch log entries.
|
brief
|
Display all interface parameters for internal FC interfaces fc0, fc15, fci1 and fci2. Includes only the last 5 switch log entries.
|
memory
|
Display memory usage for the integrated FC switch component.
|
tech-support
|
Display technical support information for the integrated FC switch component.
|
clish text
|
Display internal operational information for the integrated FC switch component. The text argument is any valid switch "show" command. If the text argument includes spaces, enclose it in quotation marks.
|
Defaults
None.
Command Modes
Administrator or Monitor.
Command History
Release
|
Modification
|
2.5.1
|
This command was introduced for the SN 5428, replacing the show debug fc command.
|
3.2.1
|
This command was introduced for the SN 5428-2.
|
Usage Guidelines
The show debug fcswitch command is designed for debug purposes, and should be used under the guidance of a Cisco Technical Support professional.
Use the show debug fcswitch brief or show debug fcswitch all commands to display initiator WWPN information (fci1 is initiator WWPN1 and fci2 is initiator WWPN2) and other parameters related to the internal FC interfaces.
Examples
The following example displays various configuration parameters for the internal FC interfaces, and the last five switch log entries:
[SN5428-2_PR]# show debug fcswitch brief
Interface WWPN switch port
--------- ----------------
--------- ----------------
---------------------- -----
Node WWN 100000021e071151
SysLogComp NameServer MgmtServer Zoning Switch Chassis Blade Port Eport Other
Display last 5 of 45 syslog entries
[41][Tue Mar 19 05:08:44.280 2002][C][Switch Management:0x3e061163.304.4][User interface
session 3 user cisco@OB-session3 has been ]
[42][Tue Mar 19 05:08:44.290 2002][C][Switch Management:0x3e061163.304.4][User interface
session <4> user <cisco@OB-session4> has t]
[43][Tue Mar 19 05:08:44.290 2002][C][Switch Management:0x3e061163.304.4][User interface
session 4 user cisco@OB-session4 has been ]
[44][Tue Mar 19 05:33:13.792 2002][C][Switch Management:0x3e061163.304.4][Successful login
user cisco@OB-session3 admin 1 address U]
[45][Tue Mar 19 05:33:13.793 2002][C][Switch Management:0x3e061163.304.4][User interface
session 3 has been opened]
[1][Tue Mar 19 03:10:11.057 2002][DI][Switch Log Client/0:0x3e061163.0.5][requesting
logging oper data]
[2][Tue Mar 19 03:10:11.059 2002][DI][Switch Log Client/0:0x3e061163.0.5][received,
DS_RESP_STATUS msg,id = -987127616, status = 0x]
[3][Tue Mar 19 03:10:36.797 2002][DI][Switch Log Client/0:0x3e061163.0.5][updating logging
oper data]
[4][Tue Mar 19 03:10:38.713 2002][DC][Management Server:0x3e0671163.314.6][pltdb.cc.620:
database version '2' does not match code ve]
Related Commands
Command
|
Description
|
fcswitch devlog
|
Specify logging parameters for the switch development log file.
|
fcswitch syslog
|
Specify logging parameters for the switch system log file.
|
show debug interface fc?
To display debug information for internal Fibre Channel (FC) interface switch ports, use the show debug interface fc? command.
show debug interface fc? [hosts | stats]
Syntax Description
fc?
|
Display debug information for the specified internal FC interface switch ports. When you type the show debug interface fc? command, the CLI lists the interfaces available. You cannot specify a nonexistent interface.
|
hosts
|
Keyword used to display FC hosts information.
|
stats
|
Keywords used to display statistics and configuration information.
|
Defaults
None.
Command Modes
Administrator or Monitor.
Command History
Release
|
Modification
|
2.5.1
|
This command was introduced for the SN 5428.
|
3.2.1
|
This command was introduced for the SN 5428-2.
|
Usage Guidelines
The show debug interface fc? command is designed for debug purposes, and should be used under the guidance of a Cisco Technical Support professional.
Examples
The following example displays debug information for the internal FC interface switch port fc0:
[SN5428-2_PR]# show debug interface fc0
Interface Stat IP/Netmask MAC Options
--------- ---- ------------------------ ------------ -------
fc0 up type Fibre Channel
Loopback Status Not Running
Al- Ext Fan- Link Loopback Mfs- Time Port- Port-
Interface Status fairness credit enable speed type bundle out type mode
--------- -------- -------- ------ -------- ----- -------- -------- ---- ------- ---------
fc0 enabled disabled 0 enabled 2Gb/s Unknown enabled 10 f-port
Related Commands
Command
|
Description
|
debug interface fc?
|
Enable IP packet tracing for the specified Gigabit Ethernet interface.
|
show debug interface ge?
To display IP packet trace buffer statistics and contents, use the show debug interface ge? command.
show debug interface ge? trace stats
show debug interface ge? trace [first nn | last nn]
show debug interface ge? trace hex [ascii] [first nn | last nn]
Syntax Description
ge?
|
Display IP trace information for the specified Gigabit Ethernet interface. When you type the show debug interface ge? command, the CLI lists the interfaces available. You cannot specify a nonexistent interface.
|
trace
|
Display the entire trace buffer, in hex.
|
trace stats
|
Display packet trace statistics and configuration information.
|
first nn
|
(Optional) Display the specified number of packets from the start of the trace buffer.
|
last nn
|
(Optional) Display the specified number of packets from the end of the trace buffer.
|
trace hex
|
Display packet trace in hex.
|
ascii
|
(Optional) Display packet trace in hex and ASCII.
|
Defaults
None.
Command Modes
Administrator.
Command History
Release
|
Modification
|
2.5.1
|
This command was introduced for the SN 5428.
|
3.2.1
|
This command was introduced for the SN 5428-2.
|
3.3.1
|
The hex and ascii keywords were added.
|
Usage Guidelines
To enable IP packet trace facilities for debugging Gigabit Ethernet interfaces, use the debug interface ge? command. The show debug interface ge? command is designed for debug purposes, and should be used under the guidance of a Cisco Technical Support professional.
Note
IP packet tracing must be disabled on the interface before the trace buffer can be displayed.
Examples
The following example disables IP packet tracing on the interface ge1 and then displays the full contents of the trace buffer:
[SN5428-2_PR]# no debug interface ge1 trace enable
[SN5428-2_PR]# show debug interface ge1 trace
1: RX, len 60, time 0.000
0000: 01 00 0c cc cc cc 00 08 7c 3c 3d 85 00 28 aa aa
0010: 03 00 00 0c 20 04 01 00 01 00 0b 64 61 76 65 74
0020: 68 6f 00 02 00 05 81 00 03 00 05 a5 00 04 00 0a
0030: 00 08 7c 3c 3d 85 00 00 00 00 00 00
Related Commands
Command
|
Description
|
debug interface ge?
|
Enable IP packet tracing for the specified Gigabit Ethernet interface.
|
show debug isns
To display iSNS PDU traced contents and statistics, use the show debug isns command.
show debug isns trace [first nn | last nn]
show debug isns trace hex [ascii] [first nn | last nn]
show debug isns trace stats
Syntax Description
trace
|
Display the entire decoded trace buffer.
|
trace stats
|
Display iSNS PDU trace statistics and configuration information.
|
trace hex
|
Display the iSNS PDU trace buffer in hex.
|
ascii
|
(Optional) Display iSNS PDU trace in hex and ASCII.
|
first nn
|
(Optional) Display the specified number of PDUs from the start of the trace buffer.
|
last nn
|
(Optional) Display the specified number of PDUs from the end of the trace buffer.
|
Defaults
None.
Command Modes
Administrator.
Command History
Release
|
Modification
|
3.4.1
|
This command was introduced.
|
Usage Guidelines
To enable iSNS PDU trace facilities for debugging purposes, use the debug isns command. The show debug isns command is designed for debug purposes, and should be used under the guidance of a Cisco Technical Support professional.
Note
iSNS PDU tracing must be disabled before the trace buffer can be displayed.
Examples
The following example disables iSNS PDU tracing and then displays the full contents of the trace buffer:
[SN5428-2_PR]# no debug isns trace enable
[SN5428-2_PR]# show debug isns trace
1: 10.1.51.125:3542 -> 10.1.0.194:3205, len 336, time 0.000
PDU: ver=1 funcId=1 (DevAttrReg) pduLen=324 flags=9c00 (Client,Replace,First,Last)
tid=579 sid=0
TLV: IScsiName : iqn.1987-05.com.cisco:00.2dad14af2d36.t1
EntityId : iqn.1987-05.com.cisco:06.cddb3e6f6fcc.g1
EntityId : iqn.1987-05.com.cisco:06.cddb3e6f6fcc.g1
IScsiName : iqn.1987-05.com.cisco:00.2dad14af2d36.t1
Related Commands
Command
|
Description
|
debug isns
|
Enable tracing of iSNS Protocol Data Units (PDUs).
|
isns enable
|
Enable communications and client registrations with an iSNS server.
|
isns refresh
|
Force a refresh of the iSNS server with device registrations.
|
show isns
|
Display iSNS configuration information, objects, or operational statistics.
|
show debug scsirouter
To display a variety of debug information or perform specific troubleshooting activities for SCSI routing instances, use the show debug scsirouter command.
show debug scsirouter {name | all} {scsitrace | tfemapping | tfestatus}
show debug scsirouter name tfestatus verbose
show debug scsirouter name target name [lun nn [scsitrace]]
show debug scsirouter name iscsitrace [hex [ascii]] [first nn | last nn]
show debug scsirouter name iscsitrace short [first nn | last nn]
show debug scsirouter name iscsitrace stats
Syntax Description
scsirouter name
|
The name of the SCSI routing instance.
|
all
|
Display information for all SCSI routing instances.
|
scsitrace
|
Display raw SCSI trace information for the specified SCSI routing instance or target and LUN combination.
|
tfemapping
|
Display target to physical device mapping information.
|
tfestatus
|
Display the status of the trace configuration for the specified SCSI routing instance.
|
verbose
|
Display detailed information (including management, target management and LUN management tables for all initiators) about the status of the trace configuration for the specified SCSI routing instance.
|
target name
|
The name of the target associated with the specified SCSI routing instance.
|
lun nn
|
The target LUN number.
|
iscsitrace
|
Display iSCSI trace facility output.
|
hex
|
Display iSCSI trace data in hex.
|
ascii
|
Display iSCSI trace data in hex and ASCII.
|
first nn
|
Display the specified number of Protocol Data Units (PDUs) from the start of the trace.
|
last nn
|
Display the specified number of PDUs from the end of the trace.
|
short
|
Display the trace data in a short format.
|
stats
|
Display iSCSI trace statistics.
|
Defaults
None.
Command Modes
Administrator or Monitor.
Command History
Release
|
Modification
|
2.2.1
|
This command was introduced for the SN 5428.
|
3.2.1
|
This command was introduced for the SN 5428-2.
|
3.3.1
|
The iscsitrace, hex, ascii, first, last and stats keywords were added.
|
3.4.1
|
The short keyword was added.
|
Usage Guidelines
To enable trace facilities for debugging SCSI routing instances, use the debug scsirouter command. The show debug scsirouter command is designed for debug purposes, and should be used under the guidance of a Cisco Technical Support professional.
Examples
The following example displays TFE status data for the SCSI routing instance named foo:
[SN5428-2_PR]# show debug scsirouter foo tfestatus
The following is example output displaying the target to physical device mapping information for the SCSI routing instance named zeus:
[SN5428-2A]# show debug scsirouter zeus tfemapping
TARGET:0x0:chimaera_apps addressMapType=MAP_TYPE_LUNMAP (lun mapping)
LUN:0x11: iSCSI2ByteLun=0x11, iScsiLun=0x0000000000000000, addressMapType=MAP_TYPE_WWNN
Lun ID Length=8 lun ID=0x200000204819137b 00
I: NO iSCSI Initiators Logged into target:0x0:chimaera_apps
LUN:0x18: iSCSI2ByteLun=0x18, iScsiLun=0x0000000000000000,
addressMapType=MAP_TYPE_WWPN_LUN
WWPN=0x22000020 0x37281505, secWWPN=0x22000020 0x37191505
I: NO iSCSI Initiators Logged into target:0x0:chimaera_apps
LUN:0x1f: iSCSI2ByteLun=0x1f, iScsiLun=0x0000000000000000,
addressMapType=MAP_TYPE_WWPN_LUN
WWPN=0x22000020 0x37447b0e, secWWPN=0x22000020 0x37559b0e
I: NO iSCSI Initiators Logged into target:0x0:chimaera_apps
TARGET:0x1:chimaera_eng addressMapType=MAP_TYPE_LUNMAP (lun mapping)
LUN:0x11: iSCSI2ByteLun=0x11, iScsiLun=0x0000000000000000, addressMapType=MAP_TYPE_WWNN
Lun ID Length=8 lun ID=0x20000004cf4304cd 00
I: NO iSCSI Initiators Logged into target:0x1:chimaera_eng
TARGET:0x2:pegasus_web addressMapType=MAP_TYPE_LUNMAP (lun mapping)
LUN:0x3: iSCSI2ByteLun=0x3, iScsiLun=0x0000000000000000,
addressMapType=MAP_TYPE_SERIAL_NUMBER
lunSerialNumber=LS09311I0000I947ZDB5
I: NO iSCSI Initiators Logged into target:0x2:pegasus_web
TARGET:0x3:pegasus_email addressMapType=MAP_TYPE_WWPN (target mapping)
WorldWidePortName = 0x22000020 0x371912da, Secondary WorldWidePortName 0x22000020
0x371912da
LUN:0x0: iSCSI2ByteLun=0x0, iScsiLun=0x0000000000000000,
addressMapType=MAP_TYPE_WWPN_LUN
WWPN=0x22000020 0x371912da, secWWPN=0x22000020 0x372642da
I: NO iSCSI Initiators Logged into target:0x3:pegasus_email
The following example of an iSCSI trace display for connections to and from the SCSI routing instance named sr1 shows a simple login exchange. The display is formatted in hex and ASCII.
[SN5428-2A]# show debug scsirouter sr1 iscsitrace hex ascii
1: 10.1.50.12:1912 -> 10.1.50.100:3260, len 252, time 0.000
0000: 43 87 00 00 00 00 00 cb 33 39 63 35 00 00 00 00 C.......39c5....
0010: 00 01 00 00 00 01 00 00 00 00 00 01 00 00 00 00 ................
0020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0030: 54 61 72 67 65 74 4e 61 6d 65 3d 69 71 6e 2e 31 TargetName=iqn.1
0040: 39 38 37 2d 30 35 2e 63 6f 6d 2e 63 69 73 63 6f 987-05.com.cisco
0050: 3a 30 30 2e 36 62 39 35 65 39 33 64 62 62 30 39 :00.6b95e93dbb09
0060: 2e 74 31 00 4d 61 78 52 65 63 76 44 61 74 61 53 .t1.MaxRecvDataS
0070: 65 67 6d 65 6e 74 4c 65 6e 67 74 68 3d 30 78 31 egmentLength=0x1
0080: 30 30 30 30 00 49 6e 69 74 69 61 6c 52 32 54 3d 0000.InitialR2T=
0090: 4e 6f 00 49 6e 69 74 69 61 74 6f 72 4e 61 6d 65 No.InitiatorName
00a0: 3d 69 73 63 73 69 2e 63 69 73 63 6f 2e 64 61 76 =iscsi.cisco.dav
00b0: 61 76 68 6f 2d 6c 6e 78 2e 63 69 73 63 6f 2e 63 avho-lnx.cisco.c
00c0: 6f 6d 00 49 6e 69 74 69 61 74 6f 72 41 6c 69 61 om.InitiatorAlia
00d0: 73 3d 64 61 76 61 76 68 6f 2d 6c 6e 78 2e 63 69 s=davavho-lnx.ci
00e0: 73 63 6f 2e 63 6f 6d 00 53 65 73 73 69 6f 6e 54 sco.com.SessionT
00f0: 79 70 65 3d 6e 6f 72 6d 61 6c 00 00 ype=normal..
2: 10.1.50.100:3260 -> 10.1.50.12:1912, len 132, time 0.000
0000: 23 87 00 00 00 00 00 54 33 39 63 35 00 00 00 01 #......T39c5....
0010: 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 01 ................
0020: 00 00 00 07 00 00 00 00 00 00 00 00 00 00 00 00 ................
0030: 54 61 72 67 65 74 50 6f 72 74 61 6c 47 72 6f 75 TargetPortalGrou
0040: 70 54 61 67 3d 31 00 4d 61 78 52 65 63 76 44 61 pTag=1.MaxRecvDa
0050: 74 61 53 65 67 6d 65 6e 74 4c 65 6e 67 74 68 3d taSegmentLength=
0060: 35 32 34 32 38 38 00 49 6e 69 74 69 61 6c 52 32 524288.InitialR2
0070: 54 3d 4e 6f 00 54 61 72 67 65 74 41 6c 69 61 73 T=No.TargetAlias
The following is example output displaying short iSCSI trace information for the SCSI routing instance named sr1:
[SN5428-2A]# show debug scsirouter sr1 iscsitrace short
1(0.000): 10.1.50.12:1233 10.1.50.101:3260 10000 LOGIN/I 260 T CSG=ON NSG=FFP
2(0.000): 10.1.50.101:3260 10.1.50.12:1233 10000 LOGIN-RSP 144 T CSG=ON NSG=FFP ver=0 OK
3(0.000): 10.1.50.12:1233 10.1.50.101:3260 1020000 SCSI-CMD 0 dlen=0
4(0.900): 10.1.50.101:3260 10.1.50.12:1233 1020000 SCSI-RSP 28 F stat=2
5(0.900): 10.1.50.12:1233 10.1.50.101:3260 2030000 SCSI-CMD 0 dlen=0
6(0.900): 10.1.50.101:3260 10.1.50.12:1233 2030000 SCSI-RSP 0 F stat=0
7(14.366): 10.1.50.12:1233 10.1.50.101:3260 3040000 TEXT 16
8(14.366): 10.1.50.101:3260 10.1.50.12:1233 3040000 TEXT-RSP 0
9(24.550): 10.1.50.12:1233 10.1.50.101:3260 4050000 NOP-OUT 1500 F
10(24.550): 10.1.50.101:3260 10.1.50.12:1233 4050000 NOP-IN 1500 F
11(28.050): 10.1.50.12:1233 10.1.50.101:3260 5060000 SCSI-CMD 0 F W dlen=512
12(33.900): 10.1.50.101:3260 10.1.50.110:1026 ffffffff NOP-IN 0 F ttt=0
13(33.900): 10.1.50.101:3260 10.1.50.110:1029 ffffffff NOP-IN 0 F ttt=0
14(33.900): 10.1.50.110:1026 10.1.50.101:3260 ffffffff NOP-OUT/I 0 ttt=0
15(33.900): 10.1.50.110:1029 10.1.50.101:3260 ffffffff NOP-OUT/I 0 ttt=0
16(34.200): 10.1.50.12:1233 10.1.50.101:3260 6070000 SCSI-CMD 0 F W dlen=512
17(34.200): 10.1.50.101:3260 10.1.50.12:1233 6070000 R2T 0 F offset=0 desDlen=512
18(34.200): 10.1.50.12:1233 10.1.50.101:3260 6070000 SCSI-DATA-OUT 512 F
19(34.216): 10.1.50.101:3260 10.1.50.12:1233 6070000 SCSI-RSP 0 F stat=0
20(35.700): 10.1.50.12:1233 10.1.50.101:3260 7080000 SCSI-CMD 0 F R dlen=512
21(35.700): 10.1.50.101:3260 10.1.50.12:1233 7080000 SCSI-DATA-IN 512 F
22(35.700): 10.1.50.101:3260 10.1.50.12:1233 7080000 SCSI-RSP 0 F stat=0
Related Commands
show devices
To display a list of devices found on the storage router Fibre Channel (FC) network, use the show devices command.
show devices [all | brief]
show devices [fc?] [lunid | serial]
show devices rediscover
Syntax Description
all
|
(Optional) Keyword used to display information for all devices on all FC interfaces.
|
brief
|
(Optional) Keyword used to limit the display to serial number information, including vendor and product, for all devices on all FC interfaces.
|
fc?
|
(Optional) Limit the display to devices on the named FC interface. Valid values are fc1 through fc8. When you type the show devices fc? command, the CLI lists the interfaces available. You cannot specify a nonexistent interface.
|
lunid
|
(Optional) Keyword used to limit the display to LUN information for the devices on the specified interface or all FC interfaces.
|
serial
|
(Optional) Keyword used to limit the display to serial number information, including vendor and product, for devices on the specified interface or all FC interfaces.
|
rediscover
|
(Optional) Begin a new discovery process on the FC network
|
Defaults
None.
Command Modes
Administrator or Monitor.
Command History
Release
|
Modification
|
2.2.1
|
This command was introduced for the SN 5428.
|
2.5.1
|
The all, brief, lunid and serial keywords were added.
|
3.2.1
|
This command was introduced for the SN 5428-2.
|
Usage Guidelines
Use this command to display information about all devices discovered on the named FC interface, or all FC interfaces. This information can be used when assigning targets to SCSI routing instances. The storage information includes the associated interface, WWPN, port ID, device type, LUN number, LUN ID type and LUN ID, capacity, vendor, product name, and LUN serial number.
The output of this command is limited to devices that are visible to the FC initiator interfaces (fci1 and fci2).
Use the rediscover keyword to clear the existing list of devices and begin a new discovery process on the FC network. Issue the show devices command again to display all discovered devices.
Caution 
The
show devices rediscover command flushes existing tables and forces a PLOGI to each device. If IP hosts are accessing a device, they will be required to wait until this process completes.
Examples
The following is example output from the show devices rediscover command, followed by the show devices command:
[SN5428-2A]# show devices rediscover
Fibre channel discovery kicked off!
[SN5428-2A]# show devices
Fabric Attached Devices detected
Interface WWPN PortId Device Type Lun Lunid Type Lunid
--------- ---------------- -------- ------------ ----- ----------------- -----
fc1 22000003be3203bc 0x101e2 Disk 0 IEEE Extended 20000003be3203bc
fc1 2200001026448a0d 0x101e1 Disk 0 IEEE Extended 2000001026448a0d
Interface WWPN Lun Capacity Vendor Product Serial
--------- ---------------- ----- -------- ------------ ------------ ------
fc1 22000003be3203bc 0 17GB SEAGATE ST207341EB 2DU0537A00006105FGJ6
fc1 2200001026448a0d 0 17GB SEAGATE ST207340EB 1BB00L3J0000600256DW
Table 15-7 describes the fields shown in the display.
Table 15-7 Description of Fields in the "show devices" Command Output
Field
|
Description
|
Interface
|
The FC interface associated with the storage.
|
WWPN
|
World Wide Port Name (WWPN) address.
|
Port Id
|
The port and domain ID, in hex.
|
Device Type
|
The type of physical device, for example Disk.
|
Lun
|
The physical LUN associated with the storage.
|
Lunid Type
|
The type of LUN, for example IEEE Extended.
|
Lunid
|
The unique LUN identifier, assigned when the LUN is discovered by the FC interface.
|
Lun Description Table
|
Information about the physical LUN.
|
Interface
|
The FC interface associated with the storage.
|
WWPN
|
WWPN address.
|
Lun
|
The physical LUN associated with the storage.
|
Capacity
|
The size of the storage resource, if applicable.
|
Vendor
|
The vendor of the storage resource.
|
Product
|
The product identifier.
|
Serial
|
The serial number of the storage resource.
|
The following is example output from the show devices brief command, which displays the LUN description table:
[SN5428-2A]# show devices brief
Interface WWPN Lun Capacity Vendor Product Serial
--------- ---------------- ----- -------- ------------ ---------- --------------------
fc1 22000003be3203bc 0 17GB SEAGATE ST207341EB 2DU0537A00006105FGJ6
fc1 2200001026448a0d 0 17GB SEAGATE ST207340EB 1BB00L3J0000600256DW
The following is example output from the show devices lunid command:
[SN5428-2A]# show devices lunid
Fabric Attached Devices detected
Interface WWPN PortId Device Type Lun Lunid Type Lunid
--------- ---------------- -------- ------------ ----- ----------------- -----------------
fc1 22000003be3203bc 0x101e2 DASD 0 IEEE Extended 20000003be3203bc
fc1 2200001026448a0d 0x101e1 DASD 0 IEEE Extended 2000001026448a0d
Related Commands
Command
|
Description
|
show fcswitch
|
Display global configuration information for storage router FC interfaces.
|
show interface
|
Display operational and configuration information about the specified interface or all interfaces.
|
show scsirouter
|
Display configuration and operational information about the named SCSI routing instance.
|
show diagnostics
To show that the hardware passed diagnostic tests on startup, use the show diagnostics command.
show diagnostics
Syntax Description
This command has no arguments or keywords.
Defaults
None.
Command Modes
Administrator or Monitor.
Command History
Release
|
Modification
|
2.2.1
|
This command was introduced for the SN 5428.
|
3.2.1
|
This command was introduced for the SN 5428-2.
|
Usage Guidelines
The show diagnostics command is designed for debug purposes and should be used under the guidance of a Cisco Technical Support professional.
Examples
The following is example output from the show diagnostics command:
[SN5428-2A]# show diagnostics
SN5428-2 Hardware Diagnostics Passed.
Related Commands
Command
|
Description
|
show tech-support
|
Display a variety of diagnostic information for use by Cisco Technical Support professionals.
|
show fcalias
To display information about aliases and their members, use the show fcalias command.
show fcalias {alias-name | all | brief}
Syntax Description
alias-name
|
The name of a specific alias entity. Only information about this alias entity will be displayed.
|
all
|
Display information about all alias entities.
|
brief
|
Show member information only for all alias entities.
|
Defaults
None.
Command Modes
Administrator or Monitor.
Command History
Release
|
Modification
|
2.5.1
|
This command was introduced for the SN 5428.
|
3.2.1
|
This command was introduced for the SN 5428-2.
|
Usage Guidelines
An alias is a collection of Fibre Channel (FC) devices, such as switches, initiators, storage and other storage routers, that can be zoned together. An alias is not a zone and cannot include a zone or another alias as a member.
Use the show fcalias command to display a list of members and member types for the specified alias. Use the brief keyword to limit the display to a list of members only.
A default alias of iscsi is provided that contains both initiators WWPN1 and WWPN2.
Examples
The following is example output from the show fcalias brief command:
[SN5428-2A]# show fcalias brief
-------------------- ------------
labgroupa 201c00591575c229
webservices 2201c723591b2038
Related Commands
Command
|
Description
|
delete fcalias
|
Delete the named alias or the specified alias member.
|
delete zone
|
Delete the specified Fibre Channel zone or the specified member of the zone from the zoning database.
|
delete zoneset
|
Delete the specified zone from the zone set or to delete the entire named zone set from the zoning database.
|
fcalias
|
Create an alias entity for use in Fibre Channel zoning.
|
fcalias member
|
Add the specified member to the named alias.
|
show zone
|
Display configuration and operational information for Fibre Channel fabric zones from the local zoning database.
|
show zoneset
|
Display configuration and operational information for Fibre Channel fabric zone sets.
|
zone
|
Create a Fibre Channel fabric zone.
|
zoneset
|
Create a Fibre Channel fabric zone set.
|
zoneset enable
|
Activate a zone set.
|
show fcip
To display configuration information and operational statistics related to the named FCIP instance or all instances, use the show fcip command.
show fcip {name | all} [from {filename | bootconfig | runningconfig}]
show fcip {name | all} [brief | stats]
Syntax Description
name
|
The name of the FCIP instance. Valid names are fcip1 and fcip2.
|
all
|
Display the requested information for all FCIP instances.
|
from filename
|
(Optional) The name of the saved configuration file containing the specified FCIP instance information. This file must exist in the savedconfig directory.
|
from bootconfig
|
(Optional) Display the requested configuration information from the persistent saved configuration.
|
from runningconfig
|
(Optional) Display the requested configuration information from the currently running configuration.
|
brief
|
(Optional) Display status and brief configuration information.
|
stats
|
(Optional) Display accumulated operational information for the FCIP instance. This display shows statistics accumulated since the named FCIP instance became active or statistics were last cleared, whichever is more recent.
|
Defaults
When no from parameters are specified, the information displayed is from the currently running configuration.
Command Modes
Administrator or Monitor
Command History
Release
|
Modification
|
3.3.1
|
This command was introduced for the SN 5428-2.
|
Usage Guidelines
The show fcip command displays the current link state, connection state, Fibre Channel firmware version and state, packet trace mask and mailbox trace state. This command also show protocol specific connection information, such as current TCP window sizes or the raw IP flow control and error statistics.
Use the stats keyword to display accumulated operational information of the specified FCIP instance. Operational statistics include the number of Fibre Channel link changes, network connects, asynchronous events, and Fibre Channel errors.
Examples
The following is example output from the show fcip command. In this example, the FCIP instance is configured to use a raw IP connection.
[SN5428-2A]# show fcip fcip1
Instance Device I/F Network I/F
-------- ---------- --------------
Destination Mode IpAddress IsConnected
----------- --------- --------------- -----------
remote1 raw 10.2.70.110 TRUE
pktTraceMask On, mask 0xffff
fcip1 Connection Information
----------------------------
Compression: On (previous 5 second ratio)
The following is example output from the show fcip command. In this example, the FCIP instance is configured to use a TCP server connection.
[SN5428-2A]# show fcip fcip2
Instance Device I/F Network I/F
-------- ---------- -----------
fcip2 fci2 ge2 10.1.40.42
Destination LocalMode IpAddress IsConnected
----------- --------- --------------- -----------
remote2 tcpserver 10.2.50.51 TRUE
pktTraceMask On, mask 0xffff
fcip1 Connection Information
----------------------------
maxRxTcpWindowSize 262144
txTcpCongestionWindowSize 268800
maxTxTcpWindowSize 262144
Table 15-8 describes the fields in the display:
Table 15-8 Description of Fields in the "show fcip" Command Output
Field
|
Description
|
Instance
|
The name of the FCIP instance.
|
Device I/F
|
The internal Fibre Channel interface associated with this FCIP instance.
|
Network I/F
|
The Gigabit Ethernet interface and IP address associated with this FCIP instance.
|
Description
|
The FCIP instance description, if any.
|
Destination
|
The alias for the FCIP peer destination. The system assigns the alias remote1 to the destination of the FCIP instance, fcip1, and remote2 to the destination of the FCIP instance, fcip2.
|
Mode
|
The connection protocol type used by this FCIP instance.
|
IpAddress
|
The IP address of the peer FCIP instance.
|
IsConnected
|
The state of the connection between this FCIP instance and its peer.
|
LinkState
|
The state of the link.
|
Trace Status
|
Operational information about FCIP traces.
|
pktTraceMask
|
The trace mask.
|
mboxTracing
|
Indicates if tracing is turned on for the FCIP instance.
|
mboxCmdCount
|
The number of commands that have been traced.
|
Connection Information
|
Configuration and operational information about the FCIP instance connection to the peer.
|
idlePingDelay
|
The number of seconds before a keep-alive packet is sent across an idle connection.
|
Compression
|
Indicates if compression is on for FCIP traffic to and from this destination. If compression is on, the transmit compression ratio is displayed in the subsequent field.
|
Send
|
The previous five second compression ratio for FCIP traffic sent to this destination.
|
txAck
|
The number of the last transmitted acknowledgement (ACK).
|
txSeq
|
The last transmitted sequence number.
|
rxAck
|
The number of the last received ACK.
|
rxSeq
|
The last received sequence number.
|
peerNeedsAck
|
The current number of unacknowledged frames.
|
WackQ
|
The head and tail pointers of non-acknowledged packets.
|
WackQCnt
|
The total number of packets waiting for ACKs.
|
WackQExtra
|
The number of packets acknowledged but not returned from the Gigabit Ethernet driver.
|
frOut
|
The number of Fibre Channel (FC) frames that have been transmitted on the Gigabit Ethernet interface, but not yet acknowledged.
|
frOutHiWater
|
The maximum number of frames that can be outstanding on a raw IP connection.
|
bcOut
|
The total number of FC octets transmitted on the Gigabit Ethernet interface, but not yet acknowledged.
|
bcOutHiWater
|
The maximum number of bytes that can be outstanding on a raw IP connection.
|
burstOut
|
The number of bytes given to the Gigabit Ethernet interface, but not returned.
|
burstOutHiWater
|
The maximum number of bytes that can be transmitted on a raw IP connection.
|
outFlowCtrlQ
|
The head and tail pointers of queued packets waiting on Gigabit Ethernet transmit flow control.
|
frIn
|
The number of FC frames given to the FC interface.
|
frInHiWater
|
The maximum number of frames, received from a raw IP connection, that can be sent to the FC interface.
|
inFlowCtrlQ
|
The head and tail pointers of queued packets waiting on FC transmit flow control.
|
blockMaxSize
|
The maximum block size, if blocking FC frames.
|
oosPktQ
|
The head and tail pointers of packets received out-of-sequence, waiting for in- sequence packets.
|
ipProtocol
|
The value of the IP protocol used in the IP header.
|
reXmitCnt
|
The maximum number of times a packet can be retransmitted, before it is discarded.
|
reXmitMaxTO
|
The maximum amount of time, in ticks, that can be used for any one retransmission, before the packet is discarded.
|
reXmitTimeOutIncr
|
The amount of time, in ticks, to add to a packet's time out value before retransmitting the packet
|
reXmitInitialTimeOut
|
The initial amount of time, in ticks, to delay before retransmitting a packet.
|
reXmitTotalTimeOut
|
The maximum amount of time, in ticks, that a packet is kept alive, before it is discarded.
|
Millisecond values
|
The retransmission intervals, based on the error recovery algorithm.
|
tcpPort
|
The TCP port number. The TCP server listens to this port; the TCP client connects to this port.
|
rxTcpWindowSize
|
The current maximum number of outstanding bytes that can be received on a TCP connection.
|
maxRxTcpWindowSize
|
The configured maximum number of outstanding bytes that can be received on a TCP connection.
|
txTcpWindowSize
|
The configured maximum number of outstanding bytes that can be transmitted on a TCP connection.
|
txTcpCongestionWindowSize
|
The size of the congestion controlled window, in bytes.
|
maxTxTcpWindowSize
|
The current maximum number of outstanding bytes that can be transmitted on a TCP connection. This is the largest window that the peer has offered.
|
The following is example output from the show fcip brief command:
[SN5428-2A]# show fcip fcip1 brief
Instance Device I/F Network I/F
-------- ---------- --------------
Destination Mode IpAddress IsConnected
----------- --------- --------------- -----------
remote1 tcpclient 10.2.70.110 TRUE
The following is example output from the show fcip stats command:
[SN5428-2A]# show fcip all stats
Destination Address 10.1.40.170
Network connections established 1
Network flow controlled 1
Destination Address 10.1.50.53
Network connections established 1
Network flow controlled 1
Related Commands
Command
|
Description
|
clear counters fcip
|
Reset accumulated operational statistics for the specified SCSI routing instance.
|
fcip
|
Create an FCIP instance.
|
fcip description
|
Add user-defined identification information to the named FCIP instance.
|
fcip destination config
|
Configure operational parameters for the named FCIP instance.
|
fcip destination raw
|
Add a peer destination to the named FCIP instance, with a connection type of raw IP.
|
fcip destination tcpclient
|
Add a peer destination to the named FCIP instance, with a connection type of TCP/IP. The named FCIP instance initiates the TCP connection.
|
fcip destination tcpserver
|
Add a peer destination to the named FCIP instance, with a connection type of TCP/IP. The named FCIP instance listens for the TCP connection from the named destination.
|
fcip networkif
|
Assign a Gigabit Ethernet interface and IP address to the named FCIP instance.
|
restore fcip
|
Restore the named SCSI routing instance from the named configuration file.
|
save fcip
|
Save configuration information for the named FCIP instance.
|
show fcswitch
To display global configuration information for storage router Fibre Channel (FC) interfaces, use the show fcswitch command.
show fcswitch
Syntax Description
This command has no arguments or keywords.
Defaults
None.
Command Modes
Administrator or Monitor.
Command History
Release
|
Modification
|
2.5.1
|
This command was introduced for the SN 5428.
|
3.2.1
|
This command was introduced for the SN 5428-2.
|
Usage Guidelines
This command displays global configuration information, including error detect timeout value and resource allocation timeout value, for all FC interfaces.
Examples
The following example displays global configuration information for all FC interfaces:
SN5428-2A]# show fcswitch
------------------------------------ -----
Distributed Services timeout (dstov) 5000
Fabric Services timeout (fstov) 1000
Error Detect timeout (edtov) 2000
Resource Allocation timeout (ratov) 10000
Buffer to Buffer Credit (interop) 12
Initiator WWPN1 280000023e081120
Initiator WWPN2 290000023e081120
Related Commands
Command
|
Description
|
clear fcswitch
|
Clear the switch log files of all entries or clear stored zoning configuration information.
|
delete zone
|
Delete the specified Fibre Channel zone or the specified member of the zone from the zoning database.
|
delete zoneset
|
Delete the specified zone from the zone set or delete the entire named zone set from the zoning database.
|
fcswitch domainid
|
Set the domain ID for the storage router, to be used for FC switched fabric zoning.
|
fcswitch dstov
|
Specify the amount of time the storage router is to wait for Fibre Channel Distributed Services.
|
fcswitch edtov
|
Specify an error detect timeout value for all Fibre Channel interfaces.
|
fcswitch enable
|
Enable all FC interfaces.
|
fcswitch fstov
|
Specify the fabric stability timeout value.
|
fcswitch interop-credit
|
Set the data buffer credit capacity for all FC ports.
|
fcswitch ratov
|
Specify a Fibre Channel resource allocation timeout value for the storage router.
|
fcswitch zoning autosave
|
Enable the storage router to save zoning changes received from switches in the fabric.
|
fcswitch zoning default
|
Select the level of communication between the storage router and devices in the fabric where there is no active zone set.
|
fcswitch zoning merge
|
Set zoning merge compliance.
|
show debug fcswitch
|
Display internal Fibre Channel interface parameters.
|
show interface
|
Display operational and configuration information for the specified interface or all interfaces.
|
show fcswitch eport
|
Display FSPF protocol information.
|
show fcswitch fabric
|
Display information about the Fibre Channel fabric.
|
show fcswitch global-nameserver
|
Display the Fibre Channel fabric nameserver database.
|
show fcswitch linkstate
|
Display information about the storage router link state database.
|
show fcswitch nameserver
|
Display the local Fibre Channel nameserver database.
|
show zone
|
Display configuration and operational information for Fibre Channel fabric zones from the local zoning database.
|
show zoneset
|
Display configuration and operational information for Fibre Channel fabric zone sets.
|
zone
|
Create a Fibre Channel fabric zone.
|
zoneset
|
Create a Fibre Channel fabric zone set.
|
zoneset enable
|
Activate a zone set.
|
show fcswitch eport
To display Fabric Shortest Path First (FSPF) protocol information for the Fibre Channel (FC) fabric, use the show fcswitch eport command.
show fcswitch eport {all | brief}
Syntax Description
all
|
Display complete FSPF information for all switches in the fabric.
|
brief
|
Display abbreviated FSPF information for all switches in the fabric.
|
Defaults
None.
Command Modes
Administrator or Monitor.
Command History
Release
|
Modification
|
2.5.1
|
This command was introduced for the SN 5428.
|
3.2.1
|
This command was introduced for the SN 5428-2.
|
Usage Guidelines
Use this command to show FSPF information for all switches in the fabric.
Examples
The following is example output from the show fcswitch eport brief command:
[SN5428-2A]# show fcswitch eport brief
Domain Id Node WWN Source Port Hops Cost Age Incarnation Links
--------- ------------------ ----------- ---- ----- ----- ----------- ----
99 100000059ba69821 255 0 0 580 80000024 0
Table 15-9 describes the fields in the display:
Table 15-9 Description of Fields in the "show fcswitch eport brief" Command Output
Field
|
Description
|
Domain Id
|
The domain ID of the storage router or switch in the fabric.
|
Node WWN
|
The node's World Wide Name.
|
Source Port
|
The node's source port number.
|
Hops
|
The number of hops to the specified node.
|
Cost
|
The calculated cost.
|
Age
|
The age of the entry.
|
Incarnation
|
The link state incarnation number.
|
Links
|
The number of links associated with this node.
|
Related Commands
Command
|
Description
|
clear fcswitch
|
Clear the switch log files of all entries or clear stored zoning configuration information.
|
fcswitch domainid
|
Set the domain ID for the storage router, to be used for FC switched fabric zoning.
|
fcswitch enable
|
Enable all FC interfaces.
|
restore fcswitch
|
Restore Fibre Channel configuration information from the named configuration file.
|
save fcswitch
|
Save all Fibre Channel configuration, including global configuration settings and zoning information.
|
show debug fcswitch
|
Display internal Fibre Channel interface parameters.
|
show fcswitch
|
Display global configuration information for storage router FC interfaces.
|
show fcswitch fabric
|
Display information about the Fibre Channel fabric.
|
show fcswitch linkstate
|
Display information about the storage router link state database.
|
show fcswitch fabric
To display information about the Fibre Channel (FC) fabric, use the show fcswitch fabric command.
show fcswitch fabric {all | brief}
Syntax Description
all
|
Display complete information for all domains in the fabric.
|
brief
|
Display abbreviated information for all domains in the fabric.
|
Defaults
None.
Command Modes
Administrator or Monitor.
Command History
Release
|
Modification
|
2.5.1
|
This command was introduced for the SN 5428.
|
3.2.1
|
This command was introduced for the SN 5428-2.
|
Usage Guidelines
Use this command to display all nodes available in the fabric, along with associated domain ID and node ID.
Examples
The following is output from the show fcswitch fabric brief command:
[SN5428-2A]# show fcswitch fabric brief
--------- ------- -------------------------------
99 fffc4f 100000059ba69821
Related Commands
Command
|
Description
|
clear fcswitch
|
Clear the switch log files of all entries or clear stored zoning configuration information.
|
delete zone
|
Delete the specified Fibre Channel zone or the specified member of the zone from the zoning database.
|
delete zoneset
|
Delete the specified zone from the zone set or delete the entire named zone set from the zoning database.
|
fcswitch domainid
|
Set the domain ID for the storage router, to be used for FC switched fabric zoning.
|
fcswitch dstov
|
Specify the amount of time the storage router is to wait for Fibre Channel Distributed Services.
|
fcswitch edtov
|
Specify an error detect timeout value for all Fibre Channel interfaces.
|
fcswitch enable
|
Enable all FC interfaces.
|
fcswitch fstov
|
Specify the fabric stability timeout value.
|
fcswitch interop-credit
|
Set the data buffer credit capacity for all FC ports.
|
fcswitch ratov
|
Specify a Fibre Channel resource allocation timeout value for the storage router.
|
fcswitch zoning autosave
|
Enable the storage router to save zoning changes received from switches in the fabric.
|
fcswitch zoning default
|
Select the level of communication between the storage router and devices in the fabric where there is no active zone set.
|
fcswitch zoning merge
|
Set zoning merge compliance.
|
show debug fcswitch
|
Display internal Fibre Channel interface parameters.
|
show interface
|
Display operational and configuration information for the specified interface or all interfaces.
|
show fcswitch
|
Display global configuration information for storage router FC interfaces.
|
show fcswitch eport
|
Display FSPF protocol information.
|
show fcswitch global-nameserver
|
Display the Fibre Channel fabric nameserver database.
|
show fcswitch linkstate
|
Display information about the storage router link state database.
|
show fcswitch nameserver
|
Display the local Fibre Channel nameserver database.
|
show zone
|
Display configuration and operational information for Fibre Channel fabric zones from the local zoning database.
|
show zoneset
|
Display configuration and operational information for Fibre Channel fabric zone sets.
|
zone
|
Create a Fibre Channel fabric zone.
|
zoneset
|
Create a Fibre Channel fabric zone set.
|
zoneset enable
|
Activate a zone set.
|
show fcswitch global-nameserver
To display the Fibre Channel (FC) fabric nameserver database, use the show fcswitch global-nameserver command.
show fcswitch global-nameserver {all | brief}
Syntax Description
all
|
Display the fabric nameserver database.
|
brief
|
Display abbreviated information from the fabric nameserver database.
|
Defaults
None.
Command Modes
Administrator or Monitor.
Command History
Release
|
Modification
|
2.2.1
|
This command was introduced for the SN 5428.
|
3.2.1
|
This command was introduced for the SN 5428-2.
|
Usage Guidelines
All devices in a fabric are assigned a unique 24-bit public address by the fabric. The fabric also maintains a database of all the devices and their addresses. The database is called the fabric nameserver, and is used by host connections to determine the devices that they can communicate with.
Use this command to display the fabric nameserver database.
Examples
The following is example output from the show fcswitch global-nameserver brief command. A table of information, including domain ID, displays for each switch in the fabric.
[SN5428-2A]# show fcswitch global-nameserver brief
Port Id Port Type Port Number Port WWN Port IP Address
------- ------- --------------- ----------------- -----------------
010000 N 0 280000054227b610 00000000
0105c1 NL 5 21000003be64e2aa 00000000
0105c2 NL 5 21000003be64e2ac 00000000
0105c3 NL 5 21000003be3a6dc1 00000000
0105c4 NL 5 21000003be64e03b 00000000
0105c5 NL 5 21000003be64e25c 00000000
0105c6 NL 5 21000003be64e252 00000000
010f00 N 15 290000054227b610 00000000
8 entries found for domain id 1
Port Id Port Type Port Number Port WWN Port IP Address
------- ------- --------------- ---------------- -----------------
ef0000 N Unknown 280000012c061100 00000000
ef02ef NL Unknown 210000d07a031e24 00000000
ef04d1 NL Unknown 21000003be64e2a5 00000000
ef04d2 NL Unknown 21000003be64e22e 00000000
ef04d3 NL Unknown 21000003be64e2a2 00000000
ef04d4 NL Unknown 21000003be64e225 00000000
ef04d5 NL Unknown 21000003be64e206 00000000
ef04d6 NL Unknown 21000003be64e220 00000000
ef04d9 NL Unknown 21000003be64e22a 00000000
ef04da NL Unknown 21000003be64e2a8 00000000
ef04dc NL Unknown 2100001026b4105d 00000000
ef04e0 NL Unknown 2100001026b4087a 00000000
ef0f00 N Unknown 290000021c061100 00000000
13 entries found for domain id 239
Related Commands
Command
|
Description
|
clear fcswitch
|
Clear the switch log files of all entries or clear stored zoning configuration information.
|
delete zone
|
Delete the specified Fibre Channel zone or the specified member of the zone from the zoning database.
|
delete zoneset
|
Delete the specified zone from the zone set or delete the entire named zone set from the zoning database.
|
fcswitch domainid
|
Set the domain ID for the storage router, to be used for FC switched fabric zoning.
|
fcswitch dstov
|
Specify the amount of time the storage router is to wait for Fibre Channel Distributed Services.
|
fcswitch edtov
|
Specify an error detect timeout value for all Fibre Channel interfaces.
|
fcswitch enable
|
Enable all FC interfaces.
|
fcswitch fstov
|
Specify the fabric stability timeout value.
|
fcswitch interop-credit
|
Set the data buffer credit capacity for all FC ports.
|
fcswitch ratov
|
Specify a Fibre Channel resource allocation timeout value for the storage router.
|
fcswitch zoning autosave
|
Enable the storage router to save zoning changes received from switches in the fabric.
|
fcswitch zoning default
|
Select the level of communication between the storage router and devices in the fabric where there is no active zone set.
|
fcswitch zoning merge
|
Set zoning merge compliance.
|
show debug fcswitch
|
Display internal Fibre Channel interface parameters.
|
show interface
|
Display operational and configuration information for the specified interface or all interfaces.
|
show fcswitch
|
Display global configuration information for storage router FC interfaces.
|
show fcswitch eport
|
Display FSPF protocol information.
|
show fcswitch fabric
|
Display information about the Fibre Channel fabric.
|
show fcswitch linkstate
|
Display information about the storage router link state database.
|
show fcswitch nameserver
|
Display the local Fibre Channel nameserver database.
|
show zone
|
Display configuration and operational information for Fibre Channel fabric zones from the local zoning database.
|
show zoneset
|
Display configuration and operational information for Fibre Channel fabric zone sets.
|
zone
|
Create a Fibre Channel fabric zone.
|
zoneset
|
Create a Fibre Channel fabric zone set.
|
zoneset enable
|
Activate a zone set.
|
show fcswitch linkstate
To display information about the storage router link state database, use the show fcswitch linkstate command.
show fcswitch linkstate database
Syntax Description
database
|
Display current link information for all Fibre Channel (FC) ports.
|
Defaults
None.
Command Modes
Administrator or Monitor.
Command History
Release
|
Modification
|
2.5.1
|
This command was introduced for the SN 5428.
|
3.2.1
|
This command was introduced for the SN 5428-2.
|
Usage Guidelines
Use this command to display link state information for each FC interface, including the initiator interfaces (fc0 and fc15).
Examples
The following is output from the show fcswitch linkstate command:
[SN5428-2A]# show fcswitch linkstate database
Local Node WWN 100000059ba69821
Local Port WWN 200f00059ba69821
Remote Node WWN 100000059ba69820
Remote Port WWN 290000059ba69820
Remote Agent Address 00000000
Remote Connection Id 0000ef
Local Node WWN 100000059ba69821
Local Port WWN 200000059ba69821
Remote Node WWN 100000059ba69820
Remote Port WWN 280000059ba69820
Remote Agent Address 00000000
Remote Connection Id 4f0000
Local Node WWN 100000059ba69821
Local Port WWN 200100059ba69821
Remote Node WWN 2000002037559b0e
Remote Port WWN 2200002037559b0e
Remote Agent Address 00000000
Remote Connection Id 0000e1
Local Node WWN 100000059ba69821
Local Port WWN 200100059ba69821
Remote Node WWN 20000004cf4304cd
Remote Port WWN 22000004cf4304cd
Remote Agent Address 00000000
Remote Connection Id 0000e2
Local Node WWN 100000059ba69821
Local Port WWN 200f00059ba69821
Remote Node WWN 100000059ba69820
Remote Port WWN 290000059ba69820
Remote Agent Address 00000000
Remote Connection Id 4f0f00
Related Commands
Command
|
Description
|
clear fcswitch
|
Clear the switch log files of all entries or clear stored zoning configuration information.
|
delete zone
|
Delete the specified Fibre Channel zone or the specified member of the zone from the zoning database.
|
delete zoneset
|
Delete the specified zone from the zone set or delete the entire named zone set from the zoning database.
|
fcswitch domainid
|
Set the domain ID for the storage router, to be used for FC switched fabric zoning.
|
fcswitch dstov
|
Specify the amount of time the storage router is to wait for Fibre Channel Distributed Services.
|
fcswitch edtov
|
Specify an error detect timeout value for all Fibre Channel interfaces.
|
fcswitch enable
|
Enable all FC interfaces.
|
fcswitch fstov
|
Specify the fabric stability timeout value.
|
fcswitch interop-credit
|
Set the data buffer credit capacity for all FC ports.
|
fcswitch ratov
|
Specify a Fibre Channel resource allocation timeout value for the storage router.
|
fcswitch zoning autosave
|
Enable the storage router to save zoning changes received from switches in the fabric.
|
fcswitch zoning default
|
Select the level of communication between the storage router and devices in the fabric where there is no active zone set.
|
fcswitch zoning merge
|
Set zoning merge compliance.
|
show debug fcswitch
|
Display internal Fibre Channel interface parameters.
|
show interface
|
Display operational and configuration information for the specified interface or all interfaces.
|
show fcswitch
|
Display global configuration information for storage router FC interfaces.
|
show fcswitch eport
|
Display FSPF protocol information.
|
show fcswitch fabric
|
Display information about the Fibre Channel fabric.
|
show fcswitch global-nameserver
|
Display the Fibre Channel fabric nameserver database.
|
show fcswitch nameserver
|
Display the local Fibre Channel nameserver database.
|
show zone
|
Display configuration and operational information for Fibre Channel fabric zones from the local zoning database.
|
show zoneset
|
Display configuration and operational information for Fibre Channel fabric zone sets.
|
zone
|
Create a Fibre Channel fabric zone.
|
zoneset
|
Create a Fibre Channel fabric zone set.
|
zoneset enable
|
Activate a zone set.
|
show fcswitch nameserver
To display the local Fibre Channel (FC) nameserver database, use the show fcswitch nameserver command.
show fcswitch nameserver {all | brief}
Syntax Description
all
|
Display the local fabric nameserver database.
|
brief
|
Display abbreviated information from the local fabric nameserver database.
|
Defaults
None.
Command Modes
Administrator or Monitor.
Command History
Release
|
Modification
|
2.5.1
|
This command was introduced for the SN 5428.
|
3.2.1
|
This command was introduced for the SN 5428-2.
|
Usage Guidelines
All devices in a fabric are assigned a unique 24-bit public address by the fabric. The fabric also maintains a database of all the devices and their addresses. The database is called the fabric nameserver, and is used by host connections to determine the devices that they can communicate with.
Use this command to display the local fabric nameserver database.
Examples
The following is example output from the show fcswitch nameserver brief command:
[SN5428-2A]# show fcswitch nameserver brief
Port Id Port Type Port Number Port WWN Port IP Address
------- ------- --------------- ----------------- -------------------------------
4e0000 N 0 280000048aa58710 00000000
4e01d1 NL 1 2200001026448a0d 00000000
4e01d2 NL 1 22000003be3203bc 00000000
4e0e00 N 15 290000048aa58710 00000000
Related Commands
Command
|
Description
|
clear fcswitch
|
Clear the switch log files of all entries or clear stored zoning configuration information.
|
delete zone
|
Delete the specified Fibre Channel zone or the specified member of the zone from the zoning database.
|
delete zoneset
|
Delete the specified zone from the zone set or delete the entire named zone set from the zoning database.
|
fcswitch domainid
|
Set the domain ID for the storage router, to be used for FC switched fabric zoning.
|
fcswitch dstov
|
Specify the amount of time the storage router is to wait for Fibre Channel Distributed Services.
|
fcswitch edtov
|
Specify an error detect timeout value for all Fibre Channel interfaces.
|
fcswitch enable
|
Enable all FC interfaces.
|
fcswitch fstov
|
Specify the fabric stability timeout value.
|
fcswitch interop-credit
|
Set the data buffer credit capacity for all FC ports.
|
fcswitch ratov
|
Specify a Fibre Channel resource allocation timeout value for the storage router.
|
fcswitch zoning autosave
|
Enable the storage router to save zoning changes received from switches in the fabric.
|
fcswitch zoning default
|
Select the level of communication between the storage router and devices in the fabric where there is no active zone set.
|
fcswitch zoning merge
|
Set zoning merge compliance.
|
show debug fcswitch
|
Display internal Fibre Channel interface parameters.
|
show interface
|
Display operational and configuration information for the specified interface or all interfaces.
|
show fcswitch
|
Display global configuration information for storage router FC interfaces.
|
show fcswitch eport
|
Display FSPF protocol information.
|
show fcswitch fabric
|
Display information about the Fibre Channel fabric.
|
show fcswitch global-nameserver
|
Display the Fibre Channel fabric nameserver database.
|
show fcswitch linkstate
|
Display information about the storage router link state database.
|
show zone
|
Display configuration and operational information for Fibre Channel fabric zones from the local zoning database.
|
show zoneset
|
Display configuration and operational information for Fibre Channel fabric zone sets.
|
zone
|
Create a Fibre Channel fabric zone.
|
zoneset
|
Create a Fibre Channel fabric zone set.
|
zoneset enable
|
Activate a zone set.
|
show ha
To display HA configuration and status information and HA statistics for the storage router or selected applications and SCSI routing instances running in the HA environment, use the show ha command.
show ha all
show ha app {all | list} stats
show ha app nn {stats | failover list}
show ha node stats
Syntax Description
all
|
Display brief HA status and configuration information.
|
app all stats
|
Show HA statistics for all applications.
|
app list stats
|
Display a list of HA applications and brief HA statistics. This list includes application numbers.
|
app nn stats
|
Display HA statistics for the specified application number.
|
app nn failover list
|
Display the failover list for the specified SCSI routing instance.
|
node stats
|
Generate a display of HA statistics for the storage router.
|
Defaults
None.
Command Modes
Administrator or Monitor.
Command History
Release
|
Modification
|
2.2.1
|
This command was introduced for the SN 5428.
|
3.2.1
|
This command was introduced for the SN 5428-2.
|
Usage Guidelines
Use this command to help determine if there are communications problems within the high availability cluster. The show ha all command displays the state of the management and HA interfaces, and the status of the intelligent automatic failover feature.
To display statistics about all applications, issue this command:
[SN5428-2A]# show ha app all stats
To display a list of SCSI routing instances and other HA applications, with their creation dates and last time of fail over, issue this command:
[SN5428-2A]# show ha app list stats
Examples
The following is example output from the show ha command, using the app list keywords to display a list of applications and SCSI routing instances:
[SN5428-2A]# show ha app list stats
----------------------------HA APPLICATION LIST--------------------------
Type = cluster Created = Tue Mar 19 17:08:02 CDT 2002
(Number 01) cluster/myCluster Created = Tue Mar 19 17:08:03 CDT 2002
Activated = Tue Mar 19 17:08:03 CDT 2002
Last Failover = no failover yet
Type = scsirouter Created = Tue Mar 19 17:08:02 CDT 2002
(Number 02) scsirouter/myScsi1 Created = Wed Mar 20 16:36:02 CDT 2002
Activated = Wed Mar 20 16:36:07 CDT 2002
Last Failover = no failover yet
(Number 03) scsirouter/myScsi1 Created = Wed Mar 20 18:20:14 CDT 2002
Activated = Thu Mar 21 07:45:01 CDT 2002
Last Failover = Thu Mar 21 11:15:33 CDT 2002
-------------------------------------------------------------------------------
Table 15-10 describes the significant fields shown in the display.
Table 15-10 Description of Fields in the "show ha" Command Output
Field
|
Description
|
Type
|
The type of HA application or service.
|
Created
|
The date and time that the application or service type was created.
|
Number
|
The HA application or service number. This number is used in the show ha command with the app keyword to display information about that specific application or service.
|
Created
|
The date and time that the specific application or service was created.
|
Activated
|
The date and time that the specific application or service became active.
|
Last Failover
|
The date and time that the specific application or service last failed over.
|
The following is example output from the show ha command, using the app nn stats keyword and parameter to display operational statistics about the SCSI routing instance named foo:
[SN5428-2A]# show ha app 02 stats
----------------------------HA APPLICATION Number 2---------------------
Application Name = scsirouter/foo
Type = scsirouter Master Specifics: DataBase:
AppId = 0759e950 Node Id = 0042f1a7 ID = 597099c8
State = Master Preferred Slave = No Status = Up to Date
Eligibility = 00000003 Permanent Master = No Last Update =
Mon Apr 8 21:03:55 GMT 2002
HA Message Transmission Summary:
Total = 00000005 Multicasts = 00000002 Unicasts = 00000003
HA Message Reception Summary:
-------------------Message Breakdown------------------
Message Types Received Message Types Transmitted
Master Requests = 00000002 Master Requests = 00000001
Master Acks = 00000001 Master Acks = 00000002
Elections = 00000001 Elections = 00000001
Refusals = 00000000 Refusals = 00000000
Conflicts = 00000000 Conflicts = 00000000
Resolves = 00000000 Resolves = 00000000
Quits = 00000000 Quits = 00000000
Resignations = 00000000 Resignations = 00000001
Doas = 00000000 Doas = 00000000
Table 15-11 describes the significant fields shown in the display.
Table 15-11 Description of Fields in the "show ha app" Command Output
Field
|
Description
|
Application Name
|
The complete name of the HA application. The syntax is application-type/application name.
|
Type
|
The HA application type.
|
AppId
|
The HA application identification number.
|
State
|
The state of the HA application.
|
Eligibility
|
The failover eligibility indicator.
|
Master Specifics: Node Id
|
The ID of the node that is currently running the HA application.
|
Preferred Slave
|
Indicates if the storage router is the first node on the failover list for this HA application.
|
Permanent Master
|
Indicates if the storage router is defined as the primary for the HA application.
|
Database: ID
|
The ID of the internal database entry associated with this HA application.
|
Status
|
Indicates if the database is current or if there is an outstanding configuration update pending.
|
Last Update
|
The date and time of the last update to this HA application.
|
HA Message Transmission Summary
|
The number of HA messages that have been transmitted by this application. The Total value is the sum of the Broadcasts and the Unicasts.
|
HA Message Reception Summary
|
The total number of HA messages received by this application.
|
Message Breakdown
|
The number of each type of HA message that has been received and transmitted by this HA application. The following are HA message types:
• Master Requests
• Master Acks
• Elections
• Refusals
• Conflicts
• Resolves
• Quits
• Resignations
• Doas
|
Related Commands
Command
|
Description
|
failover eligibility
|
Enable intelligent automatic failover for all SCSI routing instances running on the storage router.
|
interface ha ip-address
|
Specify the HA interface IP address and subnet mask.
|
setup cluster
|
Change the configuration of the high availability environment.
|
show cluster
|
Display cluster-related operational statistics, including heartbeat information.
|
show interface
|
Display operational and configuration information for the specified interface or all interfaces.
|
show interface
To display operational characteristics and statistics for the storage router interfaces, use the show interface command. Statistics are cumulative since the last time the system was started.
show interface
show interface brief [expression]
show interface {if-name | all} [stats]
show interface if-name iscsilogins
Syntax Description
brief
|
Show basic operational characteristics for all interfaces, including status, IP address, and selected options.
|
expression
|
(Optional) Limit the display to selected options that matches this expression.
|
if-name
|
Show basic operational characteristics and configuration data for the specified interface. Valid interface names are listed in Table 15-12.
|
all
|
Display operational and configuration data for all interfaces.
|
stats
|
(Optional) Show operational statistics, such as number of input and output packets, for the specified interface.
|
iscsilogins
|
Show iSCSI host logins for the specified interface. This keyword is only valid when the storage router is deployed for transparent SCSI routing.
|
Defaults
None.
Command Modes
Administrator or Monitor.
Command History
Release
|
Modification
|
2.2.1
|
This command was introduced for the SN 5428.
|
2.3.1
|
The expression argument and the iscsilogins keyword were added.
|
3.2.1
|
This command was introduced for the SN 5428-2.
|
Usage Guidelines
•
Use the show interface command with no parameters to display the basic operational characteristics and configuration data for all interfaces.
•
Use the show interface brief command to display basic operational characteristics for each of the interfaces. This display includes status (up or down) information for the interface and selected operational options such as type of interface, MTU size, and speed. Use the expression argument to limit the display to options that match the expression.
•
Use the show interface if-name stats command to display operational statistics related to the specified interface. This information can include packets received and transmitted, collisions, octets, multicast packets, dropped and unsupported protocol, exception status IOCBs (such as LIP reset aborts, port unavailable or logged out, DMA errors, port configuration changed, command timeout, data overrun, write or read data underrun, and queue full), Fibre Channel (FC) errors, and other general events.
Table 15-12 Valid Interface Names
Interface Name
|
Description
|
fc?
|
The FC interface, for example fc1 or fc5.
|
fci?
|
The internal FC interface, for example fci1 or fci2.
|
ge?
|
The Gigabit Ethernet interface, for example, ge1 or ge2.
|
ha
|
The high availability interface.
|
mgmt
|
The management interface.
|
Examples
The following is example output from the show interface command:
[SN5428-2A]# show interface
Interface Stat IP/Netmask