Creating, Deleting, And Displaying Port Mirroring - HP A7533A - Brocade 4Gb SAN Switch Base Administrator's Manual

Hp storageworks fabric os 5.3.x administrator guide (5697-0244, november 2009)
Hide thumbs Also See for A7533A - Brocade 4Gb SAN Switch Base:
Table of Contents

Advertisement

Creating, deleting, and displaying port mirroring

The following section describes how to use the port mirroring feature in the fabric.
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.
To add a port mirror connection
1.
Log in to the switch as admin.
2.
Type portMirror --add
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.
To delete a port mirror connection between two local switch ports or a local and a
remote switch port
1.
Log in to the switch as admin.
2.
Type portMirror --del
For example, to delete the port mirror connection on mirror port 2, you might type:
portMirror --del 0x011400 0x240400
To display port mirror connections
1.
Log in to the switch as admin.
2.
Type portMirror --show
You should see output similar to the following:
switch:admin> portmirror --show
Number of mirror connection(s) configured: 4
Mirror_Port
----------------------------------------
18
18
18
18
slotnumber/portnumber SourceID DestID
SourceID DestID
SID
DID
State
0x070400
0x0718e2
Enabled
0x070400
0x0718e3
Enabled
0x070400
0x0718ef
Enabled
0x070400
0x0718e0
Enabled
.
Fabric OS 5.3.0 administrator guide 331

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents