HP AM866A Brocade Troubleshooting and Diagnostics Guide v6.1.0 (53-1000853-01, - Page 89

Port mirroring management, Adding a port mirror connection

Page 89 highlights

Port mirroring 9 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 • Type portCfg mirrorport [slot number/] --enable. NOTE The enable command enables the port as mirror port. The disable command disables the mirror port configuration. Adding a port mirror connection 1. Log in to the switch as admin. 2. Type portMirror --add slotnumber/portnumber SourceID DestID NOTE The lower 8 bits of the address is ignored. For example, the ALPA for loop devices. The configuration database keeps information about the number of port mirror connections configured on a switch, the number of chunks of port mirroring data that are stored, and the chunk number. When removing a mirror connection, always use this method to ensure that the data is cleared. Deleting a connection removes the information from the database. Deleting a port mirror connection 1. Log in to the switch as admin. 2. Type portMirror --del SourceID DestID. For example, to delete the port mirror connection on mirror port 2, you might type: portMirror --del 0x011400 0x240400 Fabric OS Troubleshooting and Diagnostics Guide 75 53-1000853-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

Fabric OS Troubleshooting and Diagnostics Guide
75
53-1000853-01
Port mirroring
9
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
Type
portCfg mirrorport
[slot number/]<port number>
--
enable
.
NOTE
The
enable
command enables the port as mirror port. The
disable
command disables the mirror port
configuration.
Adding a port mirror connection
1.
Log in to the switch as admin.
2.
Type
portMirror
--
add
slotnumber/portnumber SourceID DestID
NOTE
The lower 8 bits of the address is ignored. For example, the ALPA for loop devices.
The configuration database keeps information about the number of port mirror connections
configured on a switch, the number of chunks of port mirroring data that are stored, and the chunk
number. When removing a mirror connection, always use this method to ensure that the data is
cleared. Deleting a connection removes the information from the database.
Deleting a port mirror connection
1.
Log in to the switch as admin.
2.
Type
portMirror
--
del
SourceID DestID
.
For example, to delete the port mirror connection on mirror port 2, you might type:
portMirror --del 0x011400 0x240400