Displaying switch information, Displaying the uptime for a switch – HP StorageWorks 2.128 SAN Director Switch User Manual

Page 131

Advertising
background image

Fabric OS 5.x administrator guide 131

For example:

For more information on how the overall switch status is determined, see the

switchStatusPolicySet

command in the HP StorageWorks Fabric OS 5.x command reference guide.

Displaying 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 WWN.

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: 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 for different switch models. For more information, see the

switchShow

command in the HP StorageWorks Fabric OS 5.x command reference guide.

Displaying the uptime for a switch

1.

Connect to the switch and log in as admin.

2.

Issue the

uptime

command.

switch:admin> switchstatusshow

Switch Health Report Report time: 03/21/2005 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

WWN monitor

HEALTHY

Standby CP monitor

HEALTHY

Blades monitor

HEALTHY

Flash monitor HEALTHY

Marginal ports monitor HEALTHY

Faulty ports monitor HEALTHY

Missing SFPs monitor HEALTHY

All ports are healthy

switch:admin>

Advertising