Portloopbacktest - Brocade Communications Systems 8 Command Reference Manual

Fabric os command reference manual supporting fabric
Hide thumbs Also See for 8:
Table of Contents

Advertisement

2

portLoopbackTest

portLoopbackTest
Performs a functional test of port N->N path.
Synopsis
portloopbacktest [--slot slot][-nframes count][-lb_mode mode] [-spd_mode mode]
[-ports itemlist]
ceeportloopbacktest [--slot slot][-nframes count][-lb_mode mode][-spd_mode mode]
[-ports itemlist]
Description
Use this command to verify the functional operation of the switch.
The portLoopbackTest and ceePortLoopbackTest commands are platform-specific versions of the
same test. The portLoopbackTest command is supported on all Goldeneye/Goldeneye2 and
Condor/Condor2 platforms. Use ceePortLoopbackTest on FCoE platforms only. On all other
platforms, use portLoopbackTest. Refer to the Fabric OS Troubleshooting and Diagnostics Guide,
Appendix A, for a table that correlates ASIC type with switch models.
This test sends frames from a given port's transmitter and loops them back into the same port's
receiver. The loopback is done at the parallel loopback path. The path traversed in this test does
not include the media or the fiber cable. Only one frame is transmitted and received at any given
time. An external cable is not required to run this test. The port LEDs flicker green rapidly while the
test is running.
The test performs the following operations:
1. Sets all ports for parallel loopback.
2. Creates a frame F of maximum data size (2,112 bytes).
3. Transmits the frame F through port N.
4. Picks up the frame from the same port N.
5. Checks if any of the following eight statistic error counters report nonzero values:
6. Checks whether the transmit, receive, or class 3 receiver counters are stuck at some value.
7.
8. Repeats Steps two through seven for all ports until one of the following conditions is met:
At each pass, the frame is created from a different data type of a palette of seven. 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:
730
ENC_in, CRC_err, TruncFrm, FrmTooLong, BadEOF, Enc_out, BadOrdSet, DiscC3
Checks whether the number of frames transmitted is not equal to the number of frames
received.
a. The number of frames (or pass count) requested is reached.
b. All ports are marked bad.
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, ....
Fabric OS Command Reference
53-1001764-02

Advertisement

Table of Contents
loading

Table of Contents