HP StorageWorks Fabric OS 5.0.0 Command Reference Guide (AA-RW1MA-TE, May 2005)

130 Fabric OS commands
Examples
To run a functional test of all the ports on a switch:
-spd_mode mode Specify the speed mode for the test. This parameter is used only for Bloom and
Condor ASIC-based products, for which it controls the speed at which each port
is operated. For 1 Gb/s-only products it is ignored. The exact operation of each
mode 5 through 8 depends upon the loopback mode selected. When speed
modes 5 through 8 are used with cables, they must be connected even to odd or
the test will fail. Valid values are:
0 Run test at both 1 Gb/s, 2 Gb/s, and 4 Gb/s (default)
1 Set all port speeds to 1 Gb/s
2 Set all port speeds to 2 Gb/s
4 Set all port speeds to 4 Gb/s
For -lb_mode set to 0,1, the following speed modes is available to test the
speed negotiation:
3 Set all even ports speed to AN; set all odd ports speed to 1
Gb/s.
4 Set all even ports speed to AN; set all odd ports speed to 2
Gb/s.
5 Set all odd ports speed to AN; set all even ports speed to 1
Gb/s.
6 Set all odd ports speed to AN; set all even ports speed to 2
Gb/s.
For -lb_mode set to 2,3, the following speed modes are available to test FIFO
underrun:
3,5 Set all even ports speed to 2 Gb/s; set all odd ports speed to
1 Gb/s.
4,6 Set all even ports speed to 1 Gb/s; set all odd ports speed to
2 Gb/s.
-norestore
mode
Specify 1 to force the test to skip part of the POST cleanup
normally performed. This might be helpful during debug. This
parameter should normally be left at the default value of 0.
-ports
itemlist
Specify a list of user ports to test. By default, all the user ports
in the current switch will be used. Refer to itemList for more
information.
switch:admin> crossporttest -ports 1/0-1/15
Running crossporttest ..............
Ports Segmented (0)
Executing test ...
Test Complete: "crossporttest" Pass 10 of 10
Duration 0 hr, 0 min & 8 sec (0:0:8:725).
passed.