Portloopbacktest - Brocade Communications Systems A7533A - Brocade 4Gb SAN Switch Base Command Reference Manual

Brocade fabric os command reference manual v6.2.0 (53-1001186-01, april 2009)
Hide thumbs Also See for A7533A - Brocade 4Gb SAN Switch Base:
Table of Contents

Advertisement

2

portLoopbackTest

portLoopbackTest
Performs a 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'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:
Notes
This command does not support High Availability (HA).
The Brocade DCX series cannot negotiate speeds of 1 Gbps.
The execution of this command is subject to Virtual Fabric or Admin Domain restrictions that may
be in place. Refer to chapter 1, "Using Fabric OS commands" and Appendix A, "Command
Availability" for details.
620
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-1001186-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents