Brocade OS Command Reference Manual Supporting Fabric OS v6.0.0 (53-1000599-01, October 2007)

Fabric OS Command Reference 499
53-1000599-01
portMirror
2
portMirror
Add/delete/show mirror connection(s).
Synopsis portmirror --show
portmirror --add [slotnumber/]portnumber sourceID DestID
portmirror --delete sourceID DestID]
Description Use this command to add, delete, or show a mirror connection between two ports, a source and a
destination port.
The SourceID must be local to the switch. The DestID can be either on the local switch or on a
different switch. Any given SourceID can only participate in four mirror connections. The DestID is
limited by existing mirror connections. If the DestID for an existing connection is to a local switch
DestID, then all unused connections for this switch must go to a local switch destination IDs. If the
DestID for an existing connection is to a domain X switch, then all unused mirror connections for
this switch must also go to the same domain X switch.
Each internal or external port can only be a member of four mirror connections. Internal ports are
used when the DestID is on another blade or another switch (i.e. another blade has an E_Port
leading to another switch).
A port mirroring connection on FL_Ports mirrors all traffic originating or terminating from this
FL_Port. Port mirroring does not support ALPA granularity port mirroring.
A mirror connection can be rejected due to an invalid configuration, no resources, duplicate entries,
mirror port not configured, or an offline connection port.
When in-order deliver (IOD) is enabled, deleting a mirror connection can cause frame loss between
the SourceID and DestID. If IOD is disabled, deleting a mirror connection will introduce an "order of
delivery" error between the SourceID and DestID.
This command displays:
SID Source Port ID.
DID Destination Port ID.
Mirror_Port_Number Specifies the port number of the mirror port to mirror the traffic between
SourceID and DestID.
State The state of the mirror connection 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 due to at least one port
not being 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.
To display all configured mirror ports on a switch use the portCfgShow command.
The port mirroring feature is only supported on the following platforms: Brocade 4100, Brocade
4900, Brocade 7500, and Brocade 48000 Option 5.
The mirror port location can impact the latency of mirrored frames.