Dell Brocade 6520 Fabric OS Troubleshooting and Diagnostics Guide v7.1.0 - Page 116

Controlling testing, Example test scenarios and output, Confirming SFP and link status with an HBA

Page 116 highlights

10 100 Diagnostic Port (D_Port) 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"Enabling D_Port" 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 Fabric OS Troubleshooting and Diagnostics Guide 53-1002751-01

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146

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
“Enabling D_Port”
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