Brocade Fabric OS Command Reference - Supporting Fabric OS v7.0.1 (53-1002447-01, March 2012)

Fabric OS Command Reference 755
53-1001764-01
portLoopbackTest
2
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.
This command does not support High Availability (HA).
The Brocade 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.
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 10.
-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.
1
Port Loopback (loopback plugs)
2
External (SERDES) loopback
5
Internal (parallel) loopback
7
Backend bypass & port loopback
8
Backend bypass & SERDES loopback (supported only on a chassis)
-spd_mode mode
Specifies the speed mode for the test. This parameter controls the speed at which
each port is operated.