Diagnosing Switch Problems

Port Mirroring

OmniSwitch 6600 Family Network Configuration Guide

April 2006

page 27-17

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 status is disabled (i.e., port 

mirroring is turned off):

-> port mirroring 6 source disable

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.

Note. 

Note that the port mirroring session identifier and slot/port locations of the designated interfaces 

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 

port mirroring source destination 

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

.

Note. 

Optionally, you can also specify the optional unblocked VLAN ID number and either 

enable

 or 

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:

-> 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:

-> 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:

-> 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.

Page 587
Image 587
Open full-size image