30
450
3. Mirrored traffic is exposed to 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
2 to destination port
gi
switchxxxxxx(config)# interface gi1
switchxxxxxx(config-if)# port monitor gi2
30.2
show ports monitor
Use the show ports monitor EXEC mode command to display the port monitoring
status.
Syntax
show ports monitor
Command Mode
EXEC mode
Example
The following example displays the port monitoring status.
switchxxxxxx# show ports monitor
Source port
Destination Port
-----------
----------------
gi
gi
8
1
gi
2
gi
1
gi
gi
18
1
VLAN 9
gi
1
1.
gi
Type
Status
--------
--------
RX,TX
Active
RX,TX
Active
Rx
Active
N/A
Active
78-21075-01 Command Line Interface Reference Guide
Port Monitor Commands