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

628 Fabric OS commands
Performs a functional test of internal and external transmit and receive paths at full speed.
Synopsis
spinsilk [-nmegs count][-lb_mode mode][-spd_mode mode][-verbose mode][-ports
itemlist]
Availability
admin
Description
This command verifies the functional operation of the switch by setting up the routing hardware so that
frames received by port M are retransmitted through port N. Likewise frames received by port N are
retransmitted through port M. Each port M sends one frame to its partner port N through an external fiber
cable, exercising all of the switch components.
NOTE: The spinSilk command cannot be executed on an operational switch. You must first disable the
switch using the switchDisable command.
The cables can be connected to any port combination with the condition that the cables and SFPs
connected are of the same technology. For example, a short-wavelength SFP port must be connected to
another short-wavelength SFP port through a short-wavelength cable.
Optimum test coverage occurs with lb_mode 1,
M->M loopback plugs and splbmode disabled. In this
case every port will exchange frames with every other port and all of the ASIC to ASIC connections are
tested.
The frames are continuously transmitted and received in all ports in parallel. The port LEDs flicker green
rapidly while the test is running.
At each pass, the frame is created from a different data type. There are seven data types:
CSPAT: 0x7e, 0x7e, 0x7e, 0x7e, ...
BYTE_LFSR: 0x69, 0x01, 0x02, 0x05, ...
CHALF_SQ: 0x4a, 0x4a, 0x4a, 0x4a, ...
QUAD_NOT: 0x00, 0xff, 0x00, 0xff, ...
CQTR_SQ: 0x78, 0x78, 0x78, 0x78, ...
CRPAT: 0xbc, 0xbc, 0x23, 0x47, ...
RANDOM: 0x25, 0x7f, 0x6e, 0x9a, ...
If seven passes are requested, the seven different data types are used in the test. If eight passes are
requested, the first seven frames use unique data types, and the eighth is the same as the first.
spinSilk modes
These are the test modes. These modes can be used together to test specific ports:
Loopback mode
SFP mode
spinSilk