Brocade Fabric OS Command Reference Manual v6.2.0 (53-1001186-01, April 2009)

56 Fabric OS Command Reference
53-1001186-01
bpPortLoopbackTest
2
Operands This command has the following operands:
-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 8.
-pklen count Specifies the size of the packet to be sent. The default is 2112 bytes. The
valid range is 100 to 2112 bytes.
-lb_mode mode Specifies the loopback point for the test. The Brocade Encryption Platform,
only supports line loopback (lb_mode 7) and lb_mode defaults to 7 when the
parameter is not specified.
Mode values are as follows:
1 Port Loopback (loopback plugs)
2 External (SERDES) loopback
7 Back-end bypass & port loopback
8 Back-end bypass & SERDES loopback
-spd_mode mode Specifies the speed mode for the test. On the Brocade Encryption platforms
only a speed of 4 Gbps is supported and spd_mode defaults to 4 when the
parameter is not specified.
1 Runs test at 1 Gbps.
2 Runs test at 2 Gbps.
4 Runs test at 4 Gbps (Default for Encryption platforms).
8 Runs test at 8 Gbps (Default for Condor2).
-bpports itemlist Specifies a list of blade ports to test. By default all valid blade ports in the
specified blade are tested. On the Brocade Encryption platforms, ports
80-103 are the only valid ports, because these are the only blade ports with
access to the Vader chip. Refer to the itemlist help page for further
information on the itemlist parameter.
Examples To run the test on blade ports 80-90 with one frame:
switch:admin> bpportloopbacktest -bpports 80-90 -nframes 1
Running bpportloopbacktest ..............
Ram Init
Ob1 portloopbacktest on ports 80-90 lbMode 7 speed 4
Info: Vader port 0 recovering Rx Fifo
Info: Vader port 1 recovering Rx Fifo
Info: Vader port 2 recovering Rx Fifo
Info: Vader port 3 recovering Rx Fifo
Info: Vader port 4 recovering Rx Fifo
Info: Vader port 5 recovering Rx Fifo
Ob1 portloopbacktest on ports 80-90 PASSED
Test Complete: bpportloopbacktest Pass 1 of 1
Duration 0 hr, 0 min & 24 sec (0:0:24:599).
Cleaning up after test.......
passed.