beautypg.com

To display the uptime for a switch, Viewing port information, To view the status of a port – HP Brocade 4Gb SAN Switch for HP BladeSystem p-Class User Manual

Page 168

background image

168 Working with diagnostic features

To display the uptime for a switch:

1.

Connect to the switch and log in as admin.

2.

Issue the

uptime

command:

:

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, the reason for the last reboot, 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.

Viewing port information

Use the commands that follow to view information about ports.

To view the status of a port:

1.

Connect to the switch and log in as admin.

2.

Issue the

portshow

command, specifying the number that corresponds to the port you are

troubleshooting. In this example, the status of port 2 is shown:

Refer to the HP StorageWorks Fabric OS 4.x command reference guide for additional

portshow

command information, such as the syntax for slot or port numbering.

switch:admin> uptime

4:43am up 1 day, 12:32, 1 user, load average: 1.29, 1.31, 1.27

switch:admin>

switch:admin> portshow 2

port 2 info

Configuration Current

Name : port 2

State: STARTED UP

Type : FC FC

Link Status: ENABLED DOWN

Topology: P-P P-P

Speed: AN AN

LinkCost: AUTO

WWN: 20:02:00:05:1e:12:f2:00

Licensed : YES

Diag result : PASSED

inFrames: 0

outFrames: 0

inOctets: 0

outOctets: 0

discards: 0

switch:admin>