Controlling testing, Example test scenarios and output, Example test – Dell POWEREDGE M1000E User Manual
Page 116: Scenarios and output, Confirming sfp and link status with an hba, Diagnostic port (d_port)

100
Fabric OS Troubleshooting and Diagnostics Guide
53-1002751-01
Diagnostic Port (D_Port)
10
Controlling testing
You can stop and start D_Port testing on a port by using the following respective commands:
•
portdporttest - -stop [slot/]port
•
portdporttest - -start [slot/]port
Available suboptions to the - --start option are as follows:
•
-nframes — Number of frames (in millions)
•
-framesize — Size of frame (from 36 to 2112 bytes)
•
-time — Test duration (in HH:MM format)
•
-pattern — A predefined pattern
•
-payload — A user-defined payload
•
-fec — Forward error correction (default is off)
•
-cr — Credit recovery (default is off)
In addition, the following options are available:
•
- -setarg — Allows you to set suboptions between tests or before automatic tests, with the same
options as with the - -start option.
•
- -restart — Allows you to use already-set parameters during current tests.
Example test scenarios and output
In addition to the examples shown in
on page 95, other practiical scenarions are
shown below.
Confirming SFP and link status with an HBA
The steps in the following example illustrate how the command bcu diag - -dportenable 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