Bpportloopbacktest - 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

bpPortLoopbackTest

bpPortLoopbackTest
Sends and receives data from the same BP port to perform a functional test of the port.
Synopsis
bpportloopbacktest [--slot slot][ -nframes count] -pklen count] -lb_mode mode] [-spd_mode mode
] -bpports itemlist ]
Description
Use this command to verify the functional operation of the switch. The test sends frames from a
specified blade processor (BP) port transmitter and loops the frames back into the same BP port's
receiver. The path exercised in this test includes the connections from the BP chip to the Control
Processor (CP) chip. The test can be performed on a single port or on a range of BP ports.
Before running this diagnostic, you must disable the chassis and clear all logs using the following
command sequence:
1. chassisdisable
2. slotstatsclear
3. diagclearerror -all
4. cryptocfg --disableEE (if the encryption engine is in enabled state)
By default, eight frames are transmitted and received on each port. The test method is as follows:
1. Set all ports present for the loopback mode specified.
2. Create a frame F of maximum data size (2112 bytes).
3. Transmit frame F through the specified port.
4. Pick up the frame from the same port.
5. Check if any of the following statistic error counters report nonzero values:
6. Check if the transmit, receive, or class 3 receiver counters are stuck at some value.
7.
8. Repeat steps two through seven for all specified ports until one of the following conditions is
At each pass, a different data type is used to create the frame from a palette of seven. If a pass of
seven is requested, seven different frames are used in the test. If eight passes, the first seven
frames are unique, and the eighth frame is the same as the first. The data palette of seven consists
of the following data types:
78
ENC_in, CRC_err, TruncFrm, FrmTooLong, BadEOF, Enc_out, BadOrdSet, DiscC3.
Check if the number of frames transmitted is not equal to the number of frames received.
met:
a. The number of frames (or nframes) requested is reached.
b. All ports are marked bad.
1) CSPAT: 0x7e, 0x7e, 0x7e, 0x7e, ...
2) BYTE_LFSR: 0x69, 0x01, 0x02, 0x05, ...
3) CHALF_SQ: 0x4a, 0x4a, 0x4a, 0x4a, ...
4) QUAD_NOT: 0x00, 0xff, 0x00, 0xff, ...
5) CQTR_SQ: 0x78, 0x78, 0x78, 0x78, ...
6) CRPAT: 0xbc, 0xbc, 0x23, 0x47, ...
7) RANDOM: 0x25, 0x7f, 0x6e, 0x9a, ...
Fabric OS Command Reference
53-1001764-02

Advertisement

Table of Contents
loading

Table of Contents