74
Brocade Adapters Troubleshooting Guide
53-1001582-01
Diagnostics
3
port_id
ID of the port for which you want to run a link beacon test. This could be the
PWWN, port hardware path, or user-specified port name. This could also be
the adapter-index/port-index. For example, to specify adapter 1, port 1, you
would use 1/1 as the port identification.
on | off
Toggle on or off. If turned on, you can specify duration.
duration
Length of time between blinks.
Enabling beaconing through HCM
Enable link and port beaconing using the following steps.
1. Launch the HCM.
2. Select the base adapter port from the device tree window.
3. Click Configure > Beacon.
4. Click the Beacon Link check box, the Beacon Port check box, or both.
Internal and external loopback tests
Use the BCU or the HCM to perform a loopback test for a specific port. Loopback tests require that
you disable the port. The following loopback tests are available:
•
Internal
Random data patterns are sent to the adapter port, then returned without transmitting through
the port. The returned data is validated to determine port operation. Errors may indicate a
failed port.
•
External
For this test, a loopback connector is required for the port. Random data patterns are sent to
the adapter port. The data transmits from the port and then returns. The returned data is
validated to determine port operation. Errors may indicate a failed port.
Performing loopback tests through BCU
Use the diag --loopback BCU command test to verify port function through a loopback test.
bcu diag --loopback <port_id> [-t <loopback_type>][<duration>][-s <speed>]
[-c <frame_count>] [-p <pattern>]
where:
port_id
ID of the port for which you want to run the test. This could be the PWWN, port
hardware path, or user-specified port name. This could also be the
adapter-index/port-index. For example, to specify adapter 1, port 1 you would
use 1/1 as the port identification.
loopback type
Type of loopback test. Possible values are internal, external, and serdes.
speed
For HBAs only. For 8 Gbps adapter, this is 2, 4, or 8. For 4 Gbps adapter, this
is 1, 2 or 4.
duration
Length of time between blinks.
frame count
Integer from 0 to 4,294,967,295. Default is 8192.