HP M-series HA-Fabric Manager Software User Manual

Page 203

Advertising
background image

McDATA® 4Gb SAN Switch for HP p-Class BladeSystem user guide 203

Examples To run an internal or external port test, perform the following procedure:

1.

Enter the following command and press

Enter to start an Admin session.

admin start

2.

Enter the following command (x = port number) and press Enter to place the port in Diagnostics
mode.

set port x state diagnostics

3.

Choose the type of port loopback test to run. Enter the following command to run an internal
loopback test and press

Enter.

test port x internal

Enter the following command and press

Enter to run an external loopback test. A loopback plug

must be installed for this test to pass.

test port x external

4.

A series of test parameters are displayed on the screen. Press

Enter to accept each default

parameter value, or enter a new value for each parameter and press

Enter. The TestLength

parameter is the number of frames sent, the FrameSize (256 byte maximum in some cases)
parameter is the number of bytes in each frame, and the DataPattern parameter is the pattern in
the payload.

5.

After the test type has been chosen and the command executed, a message on the screen will
appear detailing the test results.

6.

After the test is run, put the port back into online state. Enter the following command (x = port
number) and press

Enter.

set port x state online

7.

Enter the following command and press

Enter to verify port is back online. The contents of the

AdminState field should display to be “Online”.

show port x

The online loopback (node-to-node) test requires that port be online and connected to a remote
device. To run the online loopback test, perform the following procedure:

1.

To start an Admin session, enter the following command and press

Enter.

admin start

2.

To run the online loopback test, enter the following command and press

Enter.

test port x online

3.

A series of test parameters are displayed on the screen. Press

Enter to accept each default

parameter value, or enter a new value for each parameter and press

Enter. The TestLength

parameter is the number of frames sent, the FrameSize (256 byte maximum in some cases)
parameter is the number of bytes in each frame, and the DataPattern parameter is the pattern in
the payload. Before running the test, make sure that the device attached to the port can handle
the test parameters.

McDATA4GbSAN (admin) #> test port x online

A list of attributes with formatting and current values will follow. Enter a
new value or simply press the ENTER key to accept the default value. If you
wish to terminate this process before reaching the end of the list press 'q'
or 'Q' and the ENTER key to do so.

TestLength (decimal value, 1-4294967295) [100 ]

FrameSize (decimal value, 36-2148) [256 ]

DataPattern (32-bit hex value or 'Default') [Default]

StopOnError (True/False) [False ]

Do you want to start the test? (y/n) [n]

4.

After all parameter values are defined, press

Y to start the test. After the command executes, a

message on the screen will appear detailing the test results.

See also

Set command

, page 156

Advertising
This manual is related to the following products: