Brocade Fabric OS Command Reference Guide v6.1.0 (53-1000599-02, June 2008)

Table Of Contents
508 Fabric OS Command Reference
53-1000599-02
portMirror
2
The portPerfShow command displays the total number of transmit and receive bytes for each port.
In the case of a mirror port, the command shows double the amount of traffic because the mirror
port transmits the frame and also receives the frame.
Notes The port mirroring feature is only supported on the following platforms: Brocade 4100, Brocade
4900, Brocade 7600, and Brocade 48000 set to chassisConfig Option 5.
The mirror port location can impact the latency of mirrored frames.
The execution of this command is subject to Admin Domain restrictions that may be in place. Refer
to chapter 1, “Understanding Admin Domain Restrictions” and Appendix A, “Command Availability”
for details.
Operands This command has the following operands:
--show Displays all configured mirror connections.
--add Adds a mirror connection between a source and destination. The slotnumber/
portnumber is the mirrored traffic output port.
--delete Deletes a mirror connection between a source and a destination.
slotnumber For bladed systems only, specify the slot number of the port on which the
mirror port is located, followed by a slash (/).
portnumber Specifies the number of the port on which the mirror port is located, relative
to its slot for bladed systems. Use switchShow for a list of valid ports. This
port number is the mirror port in which the mirror traffic is shown.
SourceID Specifies the 3-byte SID (source ID) of the originator device, in "0xDDAAPP"
format, where DD is Domain ID, AA is Area ID and PP is AL_PA ID. For
example, 0x050200 has a domain ID of 5, an area ID of 2, and AL_PA ID of 0.
SourceID and DestID cannot both be 0x000000.
DestID Specifies the 3-byte DID (destination ID) of the destination device, in
"0xDDAAPP" format, where DD is Domain ID, AA is Area ID and PP is AL_PA ID.
For example, 0x050200 has a domain ID of 5, an area ID of 2 and an AL_PA
ID of 0. SourceID and DestID cannot both be 0x000000.
Examples To configure a port as a mirror port:
switch:admin> portcfg portmirror 2/1 --enable
Please confirm enable of Mirror Port: 17 (Y,y,N,n): [n] y
To add a port mirror connection between two local switch ports:
switch:admin> portmirror --add 2/1 0x011400 0x012400
To add a port mirror connection between a local switch port and a remote switch port:
switch:admin> portmirror --add 2/1 0x011400 0x240400
To delete a port mirror connection between two local switch ports:
switch:admin> portmirror --delete 0x011400 0x012400