To display switch information – HP Brocade 4Gb SAN Switch for HP BladeSystem p-Class User Manual
Page 167
Fabric OS 5.0.0 procedures user guide 167
2.
Issue the
switchstatusshow
command:
For more information on how the overall switch status is determined, refer to the
switchstatuspolicyset
command in the HP StorageWorks Fabric OS 4.x command reference
guide.
To display switch information:
1.
Connect to the switch and log in as admin.
2.
Issue the
switchshow
command. This command displays the following information for a switch:
•
switchname
displays the switch name.
•
switchtype
displays the switch model and firmware version numbers.
•
switchstate
displays the switch state: Online, Offline, Testing, or Faulty.
•
switchrole
displays the switch role: Principal, Subordinate, or Disabled.
•
switchdomain
displays the switch Domain ID.
•
switchid
displays the embedded port D_ID of the switch.
•
switchwwn
displays the switch World Wide Name.
•
switchbeacon
displays 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: Displays information about the port. This section might be blank or display the WWN
for the F_Port or E_Port, trunking state upstream or downstream status.
The details displayed for each switch differ on different switch models. For more information refer to the
switchshow
command in the HP StorageWorks Fabric OS 4.x command reference guide.
switch:admin> switchstatusshow
[7505]: Read 1 license entries for generation 1.
[7505]: Read 1 license records.
Switch Health Report Report time: 05/21/2004
03:50:36 PM
Switch Name: SW3900
IP address: 10.33.54.176
SwitchState: MARGINAL
Duration: 863:23
Power supplies monitor MARGINAL
Temperatures monitor HEALTHY
Fans monitor HEALTHY
Flash monitor HEALTHY
Marginal ports monitor HEALTHY
Faulty ports monitor HEALTHY
Missing SFPs monitor HEALTHY
All ports are healthy
switch:admin>