Deployment Guide

to internal request to change a port mode to D_Port mode, and run diagnostic tests automatically. For
more information on enabling on-demand D_Port mode for all ports in a switch or chassis, refer to
D_Port configuration mode and nature of test.
When an on-demand D_Port-capable switch or chassis comes online, the switch checks if the other end
of the connection supports dynamic D_Port mode. If dynamic D_Port is supported on the other end, the
switch changes the remote port to D_Port mode, and then triggers diagnostic tests automatically. The
D_Ports change to normal port mode after successful completion of the tests.
Example test scenarios and output
In addition to the examples shown in Enabling D_Port in static mode on page 430, other practical
scenarios are shown in the following sections.
Confirming SFP and link status with an HBA
The steps in the following example illustrate how the bcu diag --dportenable command will fail with an
SFP installed but without a connection to the switch.
1. Confirm the initial port status.
# bcu port --list
---------------------------------------------------------------------------
Port# FN Type PWWN/MAC FC Addr/ Media State Spd
Eth dev
---------------------------------------------------------------------------
1/0 - fc 10:00:8c:7c:ff:1c:e9:00 160000 sw Linkup 16G*
0 fc 10:00:8c:7c:ff:1c:e9:00 160000 sw Linkup 16G*
1/1 - fc 10:00:8c:7c:ff:1c:e9:01 -- sw Linkdown ---
1 fc 10:00:8c:7c:ff:1c:e9:01 -- sw Linkdown ---
---------------------------------------------------------------------------
2. Disable the port.
# bcu port --disable 1/0
port disabled
3. Remove the connection to the switch and attempt to enable the D_Port.
# bcu diag --dportenable 1/0
ERROR: Timer expired - Retry if persists contact support
4. Install an SFP and attempt to enable the D_Port.
# bcu diag --dportenable 1/0
ERROR: Switch port is not D_Port capable or D_Port is disabled
5. Connect to the HBA without the SFP and disable the native port.
# bcu port --disable 1/0
port disabled
6. Attempt to enable the D_Port.
# bcu diag --dportenable 1/0
ERROR: SFP is not present.
D-port will be enabled but it will be operational only after inserting a valid SFP.
Starting and stopping D_Port testing
Use the portDportTest command to start or stop D_Port tests or show test results.
Example test scenarios and output
Fabric OS Administrators Guide 435
53-1003130-01