Brocade Fabric OS Command Reference Manual (53-1000240-01, November 2006)

Fabric OS Command Reference Manual 2-501
Publication Number: 53-1000240-01
portLoopbackTest
2
Note: Enter commands in lowercase only; mixed case is for readability.
on fixed-port-count products.
-nframes count Specify the number of frames to send. The test will progress until the specified
number of frames has been transmitted on each port. The default value is 10.
-lb_mode mode Specify 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 Specify the speed mode for the test. This parameter is used only with Bloom and
Condor ASIC-based products, where it controls the speed at which each port is
operated. For 1 Gbit/sec-only products, it is ignored. The exact operation of speed
modes 5 through 8 depends upon the loopback mode selected. When speed modes
5 through 8 are used with cables, they must be connected even to odd or the test
will fail.
0 Runs test at 1 Gbit/sec, 2 Gbit/sec, and 4 Gbit/sec.
1 Runs test at 1 Gbit/sec.
2 Runs test at 2 Gbit/sec (Bloom default).
4 Runs test at 4 Gbit/sec (Condor default).
For lb_mode set to 0 or 1, the following speed modes are available to test the
speed negotiation:
3 Set all even ports' speed for autonegotiate; set all odd ports' speed for
1 Gbit/sec.
4 Set all even ports' speed for autonegotiate; set all odd ports' speed for
2 Gbit/sec.
5 Set all odd ports' speed for autonegotiate; set all even ports' speed for
1 Gbit/sec.
6 Set all odd ports' speed for autonegotiate; set all even ports' speed for
2 Gbit/sec.
For lb_mode set to 2 or 3, the following speed modes are available to test FIFO
underrun.
3,5 Set all even ports' speed for 2 Gbit/sec; set all odd ports' speed for 1 Gbit/
sec.
4,6 Set all even ports' speed for 1 Gbit/sec; set all odd ports' speed for 2 Gbit/
sec.
-ports itemlist Specify 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.
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.