Brocade Adapters Administrator’s Guide 137
53-1001583-01
diag B
diag
Lists the non-destructive group of diagnostic commands. The port can be identified using the
adapter index, the port index, the port name, or the port world wide name.
NOTE
The sfpshow and beacon diag commands are not supported on the Brocade 804 mezzanine card.
Synopsis bcu diag --sfpshow <port_id>
bcu diag --tempshow [ad_id]
bcu diag --beacon <port_id> {on | off} [<secs>]
bcu diag --pciloopback <port_id> <-p <pattern> [-c <frame_count>]
bcu diag --loopback <port_id> [-t <loopback_type>] [-s <speed>] [-c <frame_count>]
[-p <pattern>]
bcu diag --memtest <port_id>
bcu diag --queuetest <port_id> [-q <queue_num>]
Description Displays the group of diagnostic commands that are non-destructive and indicates when the
adapter is running at a normal operation state.
NOTE
You must disable the port prior to executing the loopback test. You must disable the adapter prior to
executing the memtest.
Operands --sfpshow Monitors the attributes of the SFP. This is an online diagnostic test.
Note: A notification occurs for any parameter that is not within the configured
power, temperature, voltage, and current specification or policy.
port_id Specifies the ID of the port on which you want to monitor the SFP attributes.
--tempshow Reads the adapter’s temperature sensor registers of the adapter. This is an
online diagnostic test.
ad_id Specifies the ID of the adapter for which you want to display temperature
sensor registers.
--beacon Controls the port and link end-to-end beaconing. This is an online diagnostic
test.
port_id Specifies the ID of the port for which you want to beacon.
on | off Turns end-to-end beaconing on or off.
secs Displays the beacon time duration in seconds. Beaconing is automatically
turned off after the specified duration. If the duration is set to 0, beaconing
continues until it is explicitly turned off.