Brocade Fabric OS Command Reference Guide v6.1.0 (53-1000599-02, June 2008)

Table Of Contents
Fabric OS Command Reference 505
53-1000599-02
portLoopbackTest
2
Operands This command has the following operands:
--slot number Specifies the slot number on which to run the diagnostics. The ports specified
will be relative to this slot number. The default is set to 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 internal
loopback. Valid values are as follows:
1 Port Loopback (loopback plugs)
2 External (SERDES) loopback
5 Internal (parallel) loopback
-spd_mode mode Specifies the speed mode for the test. This parameter controls the speed at
which each port is operated.The exact operation of speed modes 5 through 8
depends on the loopback mode selected. When speed modes 5 through 8
are used with cables, they must be connected even to odd or the test fails.
0 Runs test at 1 Gbps, 2 Gbps, and 4 Gbps.
1 Runs test at 1 Gbps (Not applicable to v6.x platforms).
2 Runs test at 2 Gbps (Not applicable to v6.x platforms).
4 Runs test at 4 Gbps (Condor default).
For lb_mode set to 0 or 1, the following speed modes are available to test the speed negotiation:
3 Sets the speed on all even ports to autonegotiate; sets the speed on all
odd ports to 1 Gbps.
4 Sets the speed on all even ports to autonegotiate; sets the speed on all
odd ports to 2 Gbps.
5 Sets the speed on all odd ports to autonegotiate; sets the speed on all
even ports to 1 Gbps.
6 Sets the speed on all odd ports to autonegotiate; sets the speed on all
even ports to 2 Gbps.
For lb_mode set to 2 or 3, the following speed modes are available to test FIFO underrun.
3,5 Sets the speed on all even ports to 2 Gbps; sets the speed on all odd
ports to 1 Gbps.
4,6 Sets the speed on all even ports to 1 Gbps; sets the speed on all odd
ports speed to 2 Gbps.
-ports itemlist Specifies a list of blade ports to test. By default, all of the blade ports in the
specified slot (--slot) are used. See itemList for more information on the
itemlist parameter.
Examples To run a functional test of a connection:
switch:admin> portloopbacktest -ports 1/10-1/20 -nframes 1 -lb_mode 1
Running Port Loopback Test ....
passed.