Brocade Troubleshooting and Diagnostics Guide v6.1.0 (53-1000853-01, June 2008)

30 Fabric OS Troubleshooting and Diagnostics Guide
53-1000853-01
Media-related issues
3
Testing a port’s external transmit and receive path
1. Connect to the switch and log in as admin.
2. Connect the port you want to test to any other switch port with the cable you want to test.
3. Enter the portLoopbackTest -lb_mode 2 command.
Testing a switch’s internal components
1. Connect to the switch and log in as admin.
2. Connect the port you want to test to any other switch port with the cable you want to test.
3. Enter the portLoopbackTest -lb_mode 5 command where 5 is the operand that causes the test
to run on the internal switch components (this is a partial list—see the Fabric OS Command
Reference for additional command information):
[-nframes count]—Specify the number of frames to send.
[-lb_mode mode]—Select the loopback point for the test.
[-spd_mode mode]—Select the speed mode for the test.
[-ports itemlist]—Specify a list of user ports to test.
Testing components to and from the HBA
1. Connect to the switch and log in as admin.
2. Enter the portTest command (see the Fabric OS Command Reference for information on the
command options).
See Table 7 on page 30 for a list of additional tests that can be used to determine the switch
components that are not functioning properly. See the Fabric OS Command Reference for
additional command information.
TABLE 7 Switch component tests
Test Function
portLoopbackTest Performs a functional test of port N to N path. Verifies the functional components of the
switch.
turboRamTest Verifies that the on chip SRAM located in the 2 Gbps ASIC is using the Turbo-Ram BIST
circuitry. This allows the BIST controller to perform the SRAM write and read operations at a
much faster rate.
Related Switch Test Option:
itemList Restricts the items to be tested to a smaller set of parameter values that you pass to the
switch.