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

Fabric OS Command Reference 681
53-1001337-01
portMirror
2
portMirror
Adds, deletes, or displays mirror connections.
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 participate in either one or a maximum of three mirror
connections, depending on the switch configuration and switch model associated with the
SourceID.
GoldenEye2-based platforms (including the Brocade 300, 5300, and most embedded switches)
can participate only in one mirror connection if Virtual Fabrics are enabled on the switch. If Virtual
platforms are disabled on these platforms, they can support up to three mirror connections. All
other platforms support up to three mirror connections whether or not Virtual Fabrics are enabled.
The DestID is limited by existing mirror connections. If the DestID for an existing connection is to a
local switch DestID, all unused connections for this switch must go to local switch destination IDs. If
the DestID for an existing connection is to a domain X switch, 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 from or terminating at this
FL_Port. Port mirroring does not support ALPA granularity port mirroring.
Setting up multiple mirror connections on a core-edge platform between devices mirrors additional
traffic. Assuming two mirror connections, device A to device B and device C to device D, the mirror
port will see traffic between A to B and C to D. In addition, the mirror port will see traffic between A
to D and C to B.
A mirror connection may be rejected because of an invalid configuration, an unavailability of
resources, duplicate entries, a mirror port that is 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 may introduce an "order of
delivery" error between the SourceID and DestID.
When issued with the --show option, this command displays the following information:
SID Source Port ID.
DID Destination Port ID.
Mirror_Port_Number The port number of the mirror port that mirrors the traffic between SourceID
and DestID.