Brocade Fabric OS Command Reference Manual - Supporting Fabric OS v5.3.0 (53-1000436-01, June 2007)

Fabric OS Command Reference Manual 511
53-1000436-01
portLoopbackTest
2
portLoopbackTest
Functional test of port N->N path.
Synopsis portloopbacktest [--slot number][-nframes count][-lb_mode mode][-spd_mode mode]
[-ports itemlist]
Description Use this command to verify the functional operation of the switch by sending frames from the port
N transmitter and looping them back into the same port N receiver. The loopback is done at the
parallel loopback path. The path exercised in this test does not include the media or the fiber
cable.
Only one frame is transmitted and received at a time. No external cable is required to run this test.
The port LEDs flicker green rapidly while the test is running.
Following is the test method:
Set all ports for parallel loopback.
Create a frame F of maximum data size (2,112 bytes).
Transmit frame F through port N.
Pick up the frame from the same port N.
Check the eight statistic error counters for nonzero values:
ENC_in, CRC_err, TruncFrm, FrmTooLong, BadEOF, Enc_out, BadOrdSet, DiscC3
Check if the transmit, receive, or class 3 receiver counters are stuck at some value.
Check if the number of frames transmitted is not equal to the number of frames received.
Repeat Steps 2 through 7 for all ports present until:
The number of frames (or passcount) requested is reached.
All ports are marked bad.
At each pass, the frame is created from a different data type. If seven passes are requested, 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. The seven data types are:
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, ...
Because this test does not include the media or the fiber cable in its test path, its results combined
with the results of spinSilk (where loop frames using an external loopback cable) can be used to
determine which components of the switch are faulty.
The execution of this command is subject to Admin Domain restrictions that may be in place.
Operands This command has the following operands: