4 – Interactive Commands
Diagnostics Menu (Command Line Options -kl, -kr, and -dm)
SN0054614-00 F 4-65
A
The loopback test is external to the HBA. If the HBA port is in loop mode, you can
run the loopback test with a loopback connector. If the HBA port is in point-to-point
mode and attached to a switch, an echo test is run instead (no loopback
connector is used). In addition, some driver versions do not require a loopback
connector.
The test evaluates the ports (transmit and receive transceivers) on the HBA. More
specifically, the loopback test transmits and receives (loopback) the specified data
and checks for the frame CRC, disparity, and length errors.
To prepare for a loopback test, follow these steps:
1. In interactive mode, type the number for the Configure HBA Settings
option, and then press ENTER.
2. From the Connections Options menu (interactive mode) or the -n
command (non-interactive mode), do one of the following:
If the HBA port is not connected to the fabric through a point-to-point
connection (F-port) and is not connected to a switch, change the
setting to loop only, if not currently set to this option.
– Or –
If the HBA port is connected to the fabric through a point-to-point
connection (F-port) and is connected to a switch, change the setting to
point-to-point only, if not currently set to this option.
After completing the loopback test, change the connection option back to its
original value.
3. Attach a loopback connector to the FC connector on the HBA port, unless
your system meets the criteria in section 4.17.1.2.6 (in this case, an echo
test is done).
The loopback connector must be appropriate for the type of FC HBA
connector. Be sure to select the appropriate HBA connector for testing.
To install a loopback connector, do the following:
a. Disconnect the cable from the appropriate HBA connector.
b. Install the loopback connector on the HBA connector.
4. Follow the steps in either section 4.17.1.1 (interactive mode) or
section 4.17.1.2.6 (non-interactive mode).
NOTE:
Under Solaris, this feature is disabled if you are using the driver from the OS
installation CDs (QLC driver).