Troubleshooting and Diagnostics Guide

Fabric OS Troubleshooting and Diagnostics Guide 97
53-1002751-01
Diagnostic Port (D_Port)
10
7. To display a summary of the D_Port, use the portDportTest [slot/]port command with the
- -show all operand.
switch:admin> portdporttest --show all
Port State SFP Capabilities Test Result
=============================================
24 ONLINE E,O PASSED
26 ONLINE E,O RESPONDER
33 OFFLINE --- RESPONDER
8. Optional: If one of the switches reboots, or if the test does not complete on one of the
switches, restart the test on both switches. Perform a portDportTest - -stop command and
restart the test with the portDportTest - -start command on both switches.
Disabling D_Port
Use this procedure to disable the D_Port diagnostics session described above.
1. Disable Port 1 on Switch A by using the portDisable 1 [slot/]port command.
switchA:admin> portdisable 1
2. Disable the D_Port on Port 1 on Switch A by using portCfgDport - -disable 1.
switchA:admin> portcfgdport --disable 1
3. Repeat steps 1 and 2 for Port 2 on Switch B.
switchB:admin> portdisable 2
switchB:admin> portcfgdport --disable 2
4. Enable Port 1 on Switch A by using the portEnable [slot/]port command.
switchA:admin> portenable 1
5. Enable Port 2 on Switch B by using the portEnable [slot/]port command.
switchB:admin> portenable 2
Saving port mappings on an Access Gateway
Before configuring ports as D_Ports on a switch configured as an Access Gateway, you must
remove N_Port-to-F_Port and device (WWN) mappings on the subject ports and device, However,
Fabric OS commands are available to save N_Port mappings. Once you save them, you can display
the saved N_Port mappings to reconfigure them after D_Port is disabled. A command is also
available to delete saved N_Port mappings.
For more details, refer to Chapter 2, “Configuring Ports in Access Gateway Mode,” in the Access
Gateway Administrator’s Guide, as well as to the Fabric OS Command Reference.
Using D_Port with HBAs
When HBAs are used (see “Topology 4: HBA to switch” on page 95), D_Port mode initiates electrical
loopback, optical loopback, and link traffic diagnostic tests on the link between the HBA and the
connected switch port. Results can be viewed from the switch by means of Fabric OS commands
and from the adapter by means of the Brocade Command Line Utility (BCU) and Brocade Host
Connectivity Manager (HCM) during or after testing. Once in D_Port mode, the adapter port does
not participate in fabric operations, log in to a remote device, or run data traffic.