HP Brocade 8/12c Brocade Fabric OS Troubleshooting and Diagnostics Guide v6.2. - Page 97

Port mirroring management, Configuring a port to be a mirror port, Adding a port mirror connection

Page 97 highlights

Port mirroring 10 For example, in a three-domain fabric containing switches 4100A, 4100B, and 4100C, a mirror connection that is created between 4100A and 4100B only allows 4100A to add mirror connections for those ports on 4100B. To mirror traffic between 4100A and 4100C, add a mirror connection on 4100C. The first connection defines the restriction on the domain, which can be either the local domain or a remote domain. • A switch that is capable of port mirroring can support a maximum of four mirror connections. Each Field Description Block (FDB) defines an offset to search. Each offset can have up to four values that can be defined for a filter. If any of the four values match, the filter will match. • Mirror port bandwidth limits mirror connections. The bandwidth of the mirror port is unidirectional. The host (SID) talks to multiple storage devices (DIDs) and does not send full line rate to a single target. A mirror port configured at 2GB can only support up to 2GB of traffic. A normal 2G F_Port is bidirectional and can support up to 4GB of traffic (two to transmit and two to receive). If the mirror port bandwidth is exceeded, the receiver port is not returned any credits and the devices in the mirror connection see degraded performance. • Deleting a port mirroring connection with In Order Deliver (IOD) enabled causes frame drop between two endpoints. • Using the firmware download procedure to downgrade to previous Fabric OS releases that do not support port mirroring requires that you remove all the port mirroring connections. If you downgrade to a previous versions of Fabric OS, you cannot proceed until the mirroring connections are removed. Port mirroring management The method for adding a port mirror connection between two local switch ports and between a local switch port and a remote switch port is the same. First you must configure a port to be a mirror port before you can perform a portMirror --add, or portMirror --delete. Configuring a port to be a mirror port 1. Connect to the switch and log in using an account assigned to the admin role. 2. Enter the portCfg mirrorport [slot number/] --enable command. NOTE The enable command enables the port as a mirror port. The disable command disables the mirror port configuration. Adding a port mirror connection 1. Connect to the switch and log in using an account assigned to the admin role. 2. Enter the portMirror --add slotnumber/portnumber SourceID DestID command. NOTE The lower 8 bits of the address is ignored. For example, the ALPA for loop devices. Fabric OS Troubleshooting and Diagnostics Guide 81 53-1001187-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

Fabric OS Troubleshooting and Diagnostics Guide
81
53-1001187-01
Port mirroring
10
For example, in a three-domain fabric containing switches 4100A, 4100B, and 4100C, a mirror
connection that is created between 4100A and 4100B only allows 4100A to add mirror
connections for those ports on 4100B. To mirror traffic between 4100A and 4100C, add a
mirror connection on 4100C. The first connection defines the restriction on the domain, which
can be either the local domain or a remote domain.
A switch that is capable of port mirroring can support a maximum of four mirror connections.
Each Field Description Block (FDB) defines an offset to search. Each offset can have up to four
values that can be defined for a filter. If any of the four values match, the filter will match.
Mirror port bandwidth limits mirror connections.
The bandwidth of the mirror port is unidirectional. The host (SID) talks to multiple storage
devices (DIDs) and does not send full line rate to a single target. A mirror port configured at
2GB can only support up to 2GB of traffic. A normal 2G F_Port is bidirectional and can support
up to 4GB of traffic (two to transmit and two to receive). If the mirror port bandwidth is
exceeded, the receiver port is not returned any credits and the devices in the mirror connection
see degraded performance.
Deleting a port mirroring connection with In Order Deliver (IOD) enabled causes frame drop
between two endpoints.
Using the firmware download procedure to downgrade to previous Fabric OS releases that do
not support port mirroring requires that you remove all the port mirroring connections. If you
downgrade to a previous versions of Fabric OS, you cannot proceed until the mirroring
connections are removed.
Port mirroring management
The method for adding a port mirror connection between two local switch ports and between a
local switch port and a remote switch port is the same. First you must configure a port to be a
mirror port before you can perform a
portMirror
--
add, or portMirror
--
delete
.
Configuring a port to be a mirror port
1.
Connect to the switch and log in using an account assigned to the admin role.
2.
Enter the
portCfg mirrorport
[slot number/]<port number>
--
enable
command.
NOTE
The
enable
command enables the port as a mirror port. The
disable
command disables the mirror
port configuration.
Adding a port mirror connection
1.
Connect to the switch and log in using an account assigned to the admin role.
2.
Enter the
portMirror
--
add
slotnumber/portnumber SourceID DestID
command.
NOTE
The lower 8 bits of the address is ignored. For example, the ALPA for loop devices.