Port Mirroring Overview Diagnosing Switch Problems
page 32-4 OmniSwitch AOS Release 7 Network Configuration Guide June 2013
Quick Steps for Configuring Port Mirroring
1 Create a port mirroring session. Be sure to specify the port mirroring session ID, source (mirrored) and
destination (mirroring) slot/ports, and unblocked VLAN ID (optional—protects the mirroring session
from changes in Spanning Tree if the mirroring port monitors mirrored traffic on an RMON probe
belonging to a different VLAN). For example:
-> port-mirroring 6 source 2/3-9 destination 2/10 unblocked-vlan 7
Note. Optional. To verify the port mirroring configuration, enter show port-mirroring status followed by
the port mirroring session ID number. The display is similar to the one shown below:
-> show port-mirroring status 6
Session Mirror Mirror Unblocked Config Oper
Destination Direction Vlan Status Status
----------+----------+--------------+----------+----------+---------
6. 2/10 - NONE Enable On
----------+----------+--------------+----------+----------+---------
Mirror
Source
----------+----------+--------------+----------+----------+---------
6. 2/3 bidirectional - Enable On
6. 2/4 bidirectional - Enable On
6. 2/5 bidirectional - Enable On
6. 2/6 bidirectional - Enable On
6. 2/7 bidirectional - Enable On
6. 2/8 bidirectional - Enable On
6. 2/9 bidirectional - Enable On
For more information about this command, see “Displaying Port Mirroring Status” on page 32-22 or the
“Port Mirroring and Monitoring Commands” chapter in the OmniSwitch CLI Reference Guide.