Port Mirroring Diagnosing Switch Problems
page 27-16 OmniSwitch 6600 Family Network Configuration Guide April 2006
This command line specifies mirroring session 6, with the source (mirrored) port located in slot 2/port 3,
and the destination (mirroring) port located in slot 2/port 4. The mirroring port on VLAN 750 is protected
from Spanning Tree updates.
Note. If the unblocked VLAN identifier is not specified, the mirroring port could be blocked due to
changes in Spanning Tree.
Enabling or Disabling Mirroring Status
Mirroring Status is the parameter by which you can enable or disable a mirroring session (i.e., turn port
mirroring on or off). There are two ways to do this:
• Creating a Mirroring Session and Enabling Mirroring Status or Disabling a Mirroring Session
(Disabling Mirroring Status). These procedures are described below and on the following page.
• Enabling or Disabling a Port Mirroring Session—“shorthand” versions of the above commands that
require fewer keystrokes. Only the port mirroring session ID number needs to be specified, rather than
the entire original command line syntax (e.g., source and destination slot/ports and optional unblocked
VLAN ID number). See “Enabling or Disabling a Port Mirroring Session (Shorthand)” on page 27-18
for details.
Note. A port that is part of an aggregate link cannot be mirrored.
Creating a Mirroring Session and Enabling Mirroring Status
To create a mirroring session with protection against blocking and mirroring status enabled (turning port
mirroring on), enter the port mirroring source destination CLI command. Include the port mirroring
session ID number, the source and destination slot/ports, optional unblocked VLAN ID number and
enable, as shown in the following example:
-> port mirroring 6 source 2/3 destination 2/4 unblocked 750 enable
This command line specifies mirroring session 6, with the mirrored (active) port located in slot 2/port 3,
and the mirroring port located in slot 2/port 4. The mirroring port on VLAN 750 is protected from Span-
ning Tree updates, and Mirroring Status is enabled (i.e., port mirroring is turned ON). Note that the port
mirroring session identifier and slot/port locations of the designated interfaces must always be specified.
Note. Port mirroring session parameters cannot be modified when a mirroring session is enabled. Before
you can modify parameters, the mirroring session must be disabled.
Disabling a Mirroring Session (Disabling Mirroring Status)
To disable the mirroring status of the configured session between a mirrored port and a mirroring port
(turning port mirroring off), use the port mirroring source destination CLI command. Be sure to include
the port mirroring session ID number and the keyword disable.