38
741
2. Mirrored traffic is exposed to the STP state, i.e. if the port is in STP blocking, it
will not egress any mirrored traffic.
Example
The following example copies traffic for both directions (Tx and Rx) from the
source port gi 1 2 to destination port gi 1 1.
switchxxxxxx(config)# interface gi11
switchxxxxxx(config-if)# port monitor gi12
switchxxxxxx(config-if)# exit
38.2 show ports monitor
Use the show ports monitor EXEC mode command to display the port monitoring
status.
Syntax
show ports monitor
Command Mode
User EXEC mode
Example
The following example displays the port monitoring status.
switchxxxxxx>
show ports monitor
Source Port
Destination Port
-----------
----------------
gi1
1
gi1
gi1
gi1
2
gi1
3
gi1
VLAN 9
gi1
Type
-------
RX,TX
4
RX,TX
4
RX
4
N/A
4
OL-32830-01 Command Line Interface Reference Guide
Port Monitor Commands
Status
--------
Active
Active
Active
Active