HP 8/40 Brocade Fabric OS Command Reference Manual v6.2.0 (53-1001186-01, Apri - Page 83
bpPortLoopbackTest, count, itemlist, Using Fabric OS commands, Command, Availability
View all HP 8/40 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 83 highlights
bpPortLoopbackTest 2 bpPortLoopbackTest Synopsis Performs a functional test of port N->N paths on the BP ports. bpportloopbacktest [ -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. 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 non-zero values: ENC_in, CRC_err, TruncFrm, FrmTooLong, BadEOF, Enc_out, BadOrdSet, DiscC3. 6. Check if the transmit, receive, or class 3 receiver counters are stuck at some value. 7. Check if the number of frames transmitted is not equal to the number of frames received. 8. Repeat steps two through seven for all specified ports until one of the following conditions is met: a. The number of frames (or nframes) requested is reached. b. All ports are marked bad. 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: 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, ... Notes This command does not support High Availability (HA). This command is currently supported only on the Brocade Encryption platform at a default speed of 4 Gbps and a loopback mode of 7. Use portLoopBackTest on all other platforms. 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. Fabric OS Command Reference 55 53-1001186-01