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

636 Fabric OS commands
Runs a statistics counter diagnostic test.
Synopsis
statstest [-passcnt count][-ports itemlist]
Availability
admin
Description
Use this command to verify the 2 Gb/s ASIC statistics counter logic. It can run on every base port of the
quadrant and send the frame through internal loopback with no CRC data to induce the CRC error. This
command is also run from camTest.
This test covers the following statistics counter functionality:
The number of received frames with CRC errors that matched the SID-DID pair specified in the LINK
table. There are 16 of these statistics counters (0-15).
The number of received words in frames that matched the SID-DID pair specified in the LINK table.
There are 16 of these statistics counters (0-15).
The number of transmitted words in frames that matched the SID-DID pair specified in the LINK table.
There are 16 of these statistics counters (0-15).
The number of frames with CRC error that matched the corresponding ALI (0-127), respectively.
This command cannot be executed on an operational switch. You must first disable the switch using the
switchDisable command.
NOTE: There is a link table that stores 16 pairs of SID-DID address. Each of the SID-DID pairs is named a
link. This table is used for gathering statistics that match the link.
Operands
This command has the following optional operands:
Examples
To run a statistics counter test on a switch:
statsTest
-passcnt count Specify the number of times to perform this test. The default value
is 1.
-ports itemlist Specify a list of user ports to run the test. If omitted, all the user
ports in the switch are assumed. Refer to itemList for more
information about selecting ports.
switch:admin> statstest -passcnt 1 -ports 1/0-15
Running Statistics Counter Test ....... passed.