Brocade Communications Systems BR-1020 User Manual
Brocade Adapters Administrator’s Guide
165
53-1001256-01
diag
B
diag
Lists the non-destructive group of diagnostic commands.
Synopsis
bcu diag --sfpshow <port_id>
bcu diag --tempshow [ad_id]
bcu diag --beacon <port_id> {on | off} [-t <secs>]
bcu diag --pciloopback <port_id> <pattern>
bcu diag --loopback <port_id> [-t <sub_test_id>] [-s <speed>] [-c <count>]
[-p <pattern>]
bcu diag --memtest <port_id>
bcu diag --queuetest <port_id>
Description
Displays the group of diagnostic commands that are non-destructive and indicates when the
adapter is running at a normal operation state.
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.
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, and voltage policies.
Note: A notification occurs for any parameter that is not within the configured
power, temperature, and voltage policies.
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. This is an online
diagnostic test.
diagnostic test.
ad_id
Specifies the ID of the adapter for which you want to display temperature
sensor registers. Values include below the minimum, normal, above the
maximum, and sensor fault.
sensor registers. Values include below the minimum, normal, above the
maximum, and sensor fault.
--beacon
Controls the port and link end-to-end beaconing. This is an online diagnostic
test.
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.
-t 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.
turned off after the specified duration. If the duration is set to 0, beaconing
continues until it is explicitly turned off.
--pciloopback
Sends a health check message from the host to firmware through message
queues memory mapped over the PCI. This is an online diagnostic test.
queues memory mapped over the PCI. This is an online diagnostic test.
port_id
Specifies the ID of the port for which you want to send a health check
message.
message.
pattern
Displays the data pattern.