Troubleshooting and Diagnostics Guide

98 Fabric OS Troubleshooting and Diagnostics Guide
53-1002751-01
Diagnostic Port (D_Port)
10
HBAs also support testing in dynamic mode, described as follows. If D_Port is enabled on the
switch only, it forces the connected adapter port into D_Port mode. The switch initiates and stops
tests on the adapter port as specified by the switch configuration. Testing is started by means of
BCU commands or HCM options.
In dynamic mode you can disable the physical port by using the bcu port --disable command to exit
D_Port mode. When you enable the port again, the switch will again force the adapter port into
D_Port mode if the switch port is still enabled as a D_Port.
The topics in this section apply to Topology 4.
Automatic mode configuration” on page 98
“Dynamic mode configuration” on page 98
“BCU D_Port commands” on page 99
“Limitations and considerations for D_Port with HBAs” on page 99
Automatic mode configuration
As in Topologies 1 through 3, this procedure enables a D_Port diagnostic session from the
connected switch. After the default test suite is run automatically, you can run specific tests
manually to obtain additional detail.
1. Disable the switch port by using the Fabric OS
portDisable [slot/]port command.
2. Configure the switch port that you want to enable as a D_Port using Fabric OS portCfgDport
- -enable
[slot/]port command.
3. Disable the adapter port by using the adapter bcu port - -disable command.
4. Enable the switch port by using the Fabric OS portenable [slot/]port command.
5. Enable the adapter port as a D_Port by using the adapter bcu diag - -dportenable command
and configure test parameters.
For details on switch configuration, refer to the Brocade Fabric OS Administrator’s Guide or
Brocade Fabric OS Command Reference. For more details on adapter configuration, refer to the
Brocade Fabric Adapters Administrator’s Guide.
Dynamic mode configuration
This procedure enables a dynamic D_Port diagnostic session from the connected switch to an HBA.
D_Port on HBAs is supported only on 16-Gbps SFPs.
1. Disable the switch port by using the Fabric OS portDisable [slot/]port command.
2. Enable the switch port as a D_Port by using the portCfgDport - -enable [slot/]port command.
3. Enable the switch port by using the portenable [slot/]port command.
To verify whether the port is in D_Port mode, use the bcu port - -list command and look for a “D” in
the listing.