Diagnosing Switch Problems Port Mirroring Overview
OmniSwitch AOS Release 8 Network Configuration Guide December 2017 page 34-3
Port Mirroring Overview
The following sections detail the specifications, defaults, and quick set up steps for the port mirroring
feature. Detailed procedures are found in “Port Mirroring” on page 34-9.
Port Mirroring Defaults
The following table shows port mirroring default values.
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
Parameter Description CLI Command Default Value/Comments
Mirroring Session Creation port-mirroring source destination No Mirroring Sessions
Configured
Protection from Spanning Tree
(Spanning Tree Disable)
port-mirroring source destination Spanning Tree Enabled
Mirroring Status Configuration port-mirroring source destination Enabled
Mirroring Session Configuration port-mirroring Enabled
Mirroring Session Deletion port-mirroring No Mirroring Sessions
Configured
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 34-16 or the
“Port Mirroring and Monitoring Commands” chapter in the OmniSwitch AOS Release 8 CLI Reference
Guide.