HP Brocade 8/12c Fabric OS Troubleshooting and Diagnostics Guide v6.4.0 (53-10 - Page 50

Testing a port’s external transmit and receive path, Testing a switch’s internal components

Page 50 highlights

3 Media-related issues TABLE 6 Test name portTest Component test descriptions Operands [-ports itemlist] [-iteration count] [-userdelay time] [-timeout time] [-pattern pattern] [-patsize size] [-seed seed] [-listtype porttype] spinFab [-nmegs count] [-ports itemlist] [-setfail mode] Checks Used to isolate problems to a single replaceable element and isolate problems to near-end terminal equipment, far-end terminal equipment, or transmission line. Diagnostics can be executed every day or on demand. Tests switch-to-switch ISL cabling and trunk group operations. The following procedures are for checking switch-specific components. Testing a port's external transmit and receive path 1. Connect to the switch and log in as admin. 2. Connect the port you want to test to any other switch port with the cable you want to test. 3. Enter the portLoopbackTest -lb_mode 2 command. Testing a switch's internal components 1. Connect to the switch and log in as admin. 2. Connect the port you want to test to any other switch port with the cable you want to test. 3. Enter the portLoopbackTest -lb_mode 5 command where 5 is the operand that causes the test to run on the internal switch components (this is a partial list-refer to the Fabric OS Command Reference for additional command information): [-nframes count]-Specify the number of frames to send. [-lb_mode mode]-Select the loopback point for the test. [-spd_mode mode]-Select the speed mode for the test. [-ports itemlist]-Specify a list of user ports to test. Testing components to and from the HBA 1. Connect to the switch and log in as admin. 2. Enter the portTest command (see the Fabric OS Command Reference for information on the command options). See Table 7 on page 37 for a list of additional tests that can be used to determine the switch components that are not functioning properly. See the Fabric OS Command Reference for additional command information. The HBA's bcu fcDiag --linkbeacon command can be used to beacon a target port on the switch. For more information on using this command, refer to the Brocade Adapters Administrator's Guide. 36 Fabric OS Troubleshooting and Diagnostics Guide 53-1001769-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

36
Fabric OS Troubleshooting and Diagnostics Guide
53-1001769-01
Media-related issues
3
The following procedures are for checking switch-specific components.
Testing a port’s external transmit and receive path
1.
Connect to the switch and log in as admin.
2.
Connect the port you want to test to any other switch port with the cable you want to test.
3.
Enter the
portLoopbackTest -lb_mode 2
command.
Testing a switch’s internal components
1.
Connect to the switch and log in as admin.
2.
Connect the port you want to test to any other switch port with the cable you want to test.
3.
Enter the
portLoopbackTest -lb_mode 5
command where
5
is the operand that causes the test
to run on the internal switch components (this is a partial list—refer to the
Fabric OS Command
Reference
for additional command information):
[
-nframes
count
]—Specify the number of frames to send.
[
-lb_mode
mode
]—Select the loopback point for the test.
[
-spd_mode
mode
]—Select the speed mode for the test.
[
-ports
itemlist
]—Specify a list of user ports to test.
Testing components to and from the HBA
1.
Connect to the switch and log in as admin.
2.
Enter the
portTest
command (see the
Fabric OS Command Reference
for information on the
command options).
See
Table 7
on page 37 for a list of additional tests that can be used to determine the switch
components that are not functioning properly. See the
Fabric OS Command Reference
for
additional command information.
The HBA's
bcu fcDiag
--
linkbeacon
command can be used to beacon a target port on the switch.
For more information on using this command, refer to the
Brocade Adapters Administrator’s Guide
.
TABLE 6
Component test descriptions
Test name
Operands
Checks
portTest
[-
ports
itemlist
] [
-iteration
count
]
[
-userdelay
time
] [
-timeout
time
]
[
-pattern
pattern
] [
-patsize
size
]
[
-seed
seed
] [
-listtype
porttype
]
Used to isolate problems to a single
replaceable element and isolate
problems to near-end terminal
equipment, far-end terminal
equipment, or transmission line.
Diagnostics can be executed every day
or on demand.
spinFab
[
-nmegs
count
] [
-ports
itemlist
] [-
setfail
mode
]
Tests switch-to-switch ISL cabling and
trunk group operations.