Brocade Fabric OS Command Reference Manual Supporting Fabric OS v6.3.0 (53-1001337-01, July 2009)

682 Fabric OS Command Reference
53-1001337-01
portMirror
2
State The state of the mirror connection. The state can either be "Defined" or
"Enabled." In both cases, the port mirroring connection is persistently stored.
A connection that is "Defined" has not been hardware-configured because at
least one port is not online. A connection that is "Enabled" has been
configured in the hardware.
A new connection cannot conflict with a "Defined" or "Enabled" port mirror connection.
Use the portCfgShow command to display all configured mirror ports on a switch.
Use the portPerfShow command to display the total number of transmit and receive bytes for each
port. In the case of a mirror port, this command shows twice the amount of traffic, because the
mirror port transmits the frame and also receives the frame.
Notes The port mirroring feature is not supported on all platforms. Refer to the Fabric OS Administrator's
Guide for more information.
In Fabric OS v6.3.0 and later, the port mirroring feature is supported in Virtual Fabric mode so long
as the FC Routing service is not enabled on the logical switch. Use the fosConfig command to
disable the FC Routing service.
The mirror port location can impact the latency of mirrored frames.
The execution of this command is subject to Virtual Fabric or Admin Domain restrictions that may
be in place. Refer to chapter 1, “Using Fabric OS commands” 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 port and a destination port. 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, specifies 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 listing of valid ports. This
port 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