Fabric OS Troubleshooting and Diagnostics Guide v6.4.0 (53-1001769-01, June 2010)

36 Fabric OS Troubleshooting and Diagnostics Guide
53-1001769-01
Media-related issues
3
The following procedures are for checking switch-specific components.
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—refer to 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 37 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.
The HBA's bcu fcDiag
--linkbeacon command can be used to beacon a target port on the switch.
For more information on using this command, refer to the Brocade Adapters Administrator’s Guide.
TABLE 6 Component test descriptions
Test name Operands Checks
portTest [-ports itemlist] [-iteration count]
[-userdelay time] [-timeout time]
[-pattern pattern] [-patsize size]
[-seed seed] [-listtype porttype]
Used to isolate problems to a single
replaceable element and isolate
problems to near-end terminal
equipment, far-end terminal
equipment, or transmission line.
Diagnostics can be executed every day
or on demand.
spinFab [-nmegs count] [-ports itemlist] [-setfail mode] Tests switch-to-switch ISL cabling and
trunk group operations.