Users Guide

470 Fabric OS Administrator’s Guide
53-1002920-02
Example test scenarios and output
17
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.
switch:admin> 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.
switch:admin> bcu port --disable 1/0
port disabled
3. Remove the connection to the switch and attempt to enable the D_Port.
switch:admin> bcu diag --dportenable 1/0
ERROR: Timer expired - Retry if persists contact support
4. Install an SFP and attempt to enable the D_Port.
switch:admin> 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.
switch:admin> bcu port --disable 1/0
port disabled
6. Attempt to enable the D_Port.
switch:admin> 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 testing or show test results.
You can display the complete results from either the responder or the initiator switch. If the initiator
switch is running Fabric OS v7.1.x or earlier, the responder displays only the local D_Port results,
and you must query the initiator to see the complete results.
The following example shows the D_Port results.
switch:admin> portdporttest --show 26
D-Port Information:
===================
Port: 26
Remote WWNN: 10:00:00:05:33:13:2f:b5