Alcatel-Lucent 6850-48 Network Guide
Port Mirroring
Diagnosing Switch Problems
page 45-20
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
Note. You can modify the parameters of a port mirroring session that has been disabled.
Keep in mind that the port mirroring session configuration remains valid, even though port mirroring has
been turned off. Note that the port mirroring session identifier and slot/port locations of the designated
interfaces must always be specified.
been turned off. Note that the port mirroring session identifier and slot/port locations of the designated
interfaces must always be specified.
Note. Note that the port mirroring session identifier and slot/port locations of the designated interfaces
must always be specified.
must always be specified.
Configuring Port Mirroring Direction
By default, port mirroring sessions are bidirectional. To configure the direction of a port mirroring session
between a mirrored port and a mirroring port, use the
between a mirrored port and a mirroring port, use the
CLI command
by entering port mirroring, followed by the port mirroring session ID number, the source and destination
slot/ports, and bidirectional, inport, or outport.
slot/ports, and bidirectional, inport, or outport.
Note. Optionally, you can also specify the optional unblocked VLAN ID number and either enable or
disable on the same command line.
disable on the same command line.
In this example, the command specifies port mirroring session 6, with the mirrored (active) port located in
slot 2/port 3 and the mirroring port located in slot 6/port 4. The mirroring direction is unidirectional and
inward bound:
slot 2/port 3 and the mirroring port located in slot 6/port 4. The mirroring direction is unidirectional and
inward bound:
-> port mirroring 6 source 2/3 destination 6/4 inport
In this example, the command specifies port mirroring session 6, with the mirrored (active) port located in
slot 2/port 3, and the mirroring port located in slot 6/port 4. The mirroring direction is unidirectional and
outward bound:
slot 2/port 3, and the mirroring port located in slot 6/port 4. The mirroring direction is unidirectional and
outward bound:
-> port mirroring 6 source 2/3 destination 6/4 outport
You can use the bidirectional keyword to restore a mirroring session to its default bidirectional configura-
tion. For example:
tion. For example:
-> port mirroring 6 source 2/3 destination 6/4 bidirectional
Note. Note that the port mirroring session identifier and slot/port locations of the designated interfaces
must always be specified.
must always be specified.
Enabling or Disabling a Port Mirroring Session (Shorthand)
Once a port mirroring session configuration has been created, this command is useful for enabling or
disabling it (turning port mirroring on or off) without having to re-enter the source and destination ports
and unblocked VLAN ID command line parameters.
disabling it (turning port mirroring on or off) without having to re-enter the source and destination ports
and unblocked VLAN ID command line parameters.