Brocade Fabric OS Command Reference (Supporting Fabric OS v7.3.0) User Manual
Page 896
866
Fabric OS Command Reference
53-1003131-01
portLoopbackTest
2
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:
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, ....
NOTES
Do not abort this test prematurely, using CTRL-C or q to quit. Doing so may cause the test to report 
unexpected errors. Errors may vary depending on the hardware platform.
You cannot interrupt the test by pressing the return key (<cr>).
This command does not support High Availability (HA).
The Brocade 8510/DCX series cannot negotiate speeds of 1 Gbps.
This diagnostic cannot be run on an operational switch. You must disable the switch using the 
chassisDisable command before you can run this test. After the test completes, re-enable the switch 
using the chassisEnable command. Do not use the switchDisable command followed by manually 
shutting down the ports before running the test. This will not work because executing switchEnable after 
the test completes will leave the ports in the same state as before. The only way to bring the ports down 
before running the test and back up after the test completes is by using the chassisDisable command 
followed by the chassisEnable command.
The Brocade FCoE10-24 blade (ceePortLoopbackTest) supports only lb_mode 1, 2, and 8.
For the Brocade FCoE10-24 blade (ceePortLoopbackTest), if the switch is online and the ports are 
shutdown, offline diagnostics continues to run and the blade moves to inoperable state. Execute 
slotpoweroff and slotpoweroncommands to recover the blade.
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.
OPERANDS
This command has the following operands:
--slot slot
Specifies the number of the slot on which to run the diagnostics. All eligible ports 
relative to the slot number are tested. The default is 0 and designed to operate on 
fixed-port-count products.
-nframes count
Specifies the number of frames to send. The test progresses until the specified 
number of frames has been transmitted on each port. The default value is 1. The 
maximum number of frames sent is limited to 1000. If the number of frames 
exceeds 1000, the test proceeds with the initial 1000 frames and displays a 
warning message.
-lb_mode mode
Specifies the loopback mode for the test. By default, this test uses the internal 
loopback. Valid values depend on the platform on which the command is 
executed. Unsupported values are rejected with an appropriate message. To run 
this test with mode values of 1 and 7, loopback cables must be connected to all 
front end ports or the test will fail.
1
Port Loopback (loopback plugs)