Brocade Adapters Administrator’s Guide 135
53-1001583-01
debug B
debug
The debug commands gather support information on Fibre Channel components.
Synopsis bcu debug --portlog <port_id>
bcu debug --portlogclear <port_id>
bcu debug --portlogctl <port_id> <enable | disable>
Description Captures all the support information needed to diagnose suspected system issues.
Operands --portlog Displays the log of FC frames and other main control messages that were
sent out and received.
If the port log is disabled, the following message displays as the first line:
Refer to the portlogctl comma nd for more in formation: WARNING: port log is
disabled.
port_id Specifies the ID of the port for which you want to display the FC frame logs
and other control messages.
--portlogclear Clears the port’s frame log.
port_id Specifies the ID of the port for which you want to clear the port’s frame log.
--portlogctl Enables or disables the portlog.
port_id Specifies the ID of the port for which you want to enable or disable the
portlog.
enable Enables the portlogclear command.
disable Disables the portlogclear command.
Example
bcu debug --portlog 10/0
Total records present = 14
---------------------------------------------------------------------------
time event port code args
---------------------------------------------------------------------------
08:35:28.430 fwm 10/0 00 00001234, 00050001
08:35:28.431 mbox 10/0 01 00001234, 00050001
08:35:28.433 ioctl 10/0 90 101d9910,0
08:35:28.433 Tx 10/0 164 02fffffd, 00fffffd, 0005ffff, 10000000
08:35:28.433 Rx 10/0 0 c0fffffd, 00fffffd, 00050006
08:35:28.433 Rx 10/0 164 03fffffd, 00fffffd, 00050006, 02000000
08:35:28.433 Tx 10/0 0 c0fffffd, 00ffffd, 00050006
08:35:28.433 ioctl 10/0 91 103646d8, 0
08:35:28.466 ioctl 10/0 a7 3c, 1
08:35:28.483 Tx 10/0 96 02fffffd, 00fffffd, 0006ffff, 11100060
08:35:28.483 Rx 10/0 0 c0fffffd, 00fffffd, 00060007
08:35:28.483 Rx 10/0 96 03fffffd, 00fffffd, 00060007, 02100060
08:35:28.483 Tx 10/0 0 c0fffffd, 00fffffd, 00060007
08:35:28.483 ioctl 10/0 a1 0,0
---------------------------------------------------------------------------
# bcu debug --portlog 1/1
Total records present = 26
---------------------------------------------------------------------------