HP StorageWorks Fabric OS 6.x administrator guide (5697-7344, March 2008)

290 Working with Diagnostic Features
To display switch information:
1. Connect to the switch and log in as admin.
2. Enter the switchShow command, which displays the following information for a switch:
switchname—The switch name.
switchtype—The switch model and firmware version numbers.
switchstate—The switch state: Online, Offline, Testing, or Faulty.
switchrole—The switch role: Principal, Subordinate, or Disabled.
switchdomain—The switch Domain ID.
switchid—The embedded port D_ID of the switch.
switchwwn—The switch World Wide Name.
switchbeacon—The switch beaconing state: either ON or OFF.
The switchShow command also displays the following information for ports on the specified switch:
Module type—The SFP type if an SFP is present.
Port speed—The speed of the Port (1G, 2G, 4G, N1, N2, N4, or AN). The speed can be fixed,
negotiated, or auto-negotiated.
Port state—The port status.
Comment—Information about the port. This section may be blank or display the WWN for an
F_Port or an E_Port, the trunking state, or upstream or downstream status.
The details displayed for each switch differ on different switch models. For more information see the
switchShow command in the Fabric OS Command Reference.
To display the uptime for a switch:
1. Connect to the switch and log in as admin.
2. Enter the uptime command:
switch:admin> uptime
4:43am up 1 day, 12:32, 1 user, load average: 1.29, 1.31, 1.27
switch:admin>
The uptime command displays the length of time the system has been in operation, the total
cumulative amount of uptime since the system was first powered-on, the date and time of the last reboot
(applies only to Fabric OS 3.x and 2.6.x systems), the reason for the last reboot (applies only to Fabric
OS 3.x and 2.6.x systems), and the load average over the past one minute (1.29 in the preceding
example), five minutes (1.31 in the example), and 15 minutes (1.27 in the example). The reason for the
last switch reboot is also recorded in the system message log.