
Port Monitor Commands
78-20269-01 Command Line Interface Reference Guide
362
28
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
gi1/1/
2 to destination port
gi1/1/
1.
Console(config)#
interface
gi1/1/1
Console(config-if)#
port monitor
gi1/1/2
28.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.
Console# show ports monitor
Source port Destination Port Type Status
----------- ---------------- -------- --------
gi1/1/8 gi1/1/1 RX,TX Active
gi1/1/2 gi1/1/1 RX,TX Active
gi1/1/18 gi1/1/1 Rx Active
VLAN 9
gi1/1/1 N/A Active