P
ORT
C
ONFIGURATION
2-29
Configuring Port Mirroring
You can mirror traffic from any source port to a target port for real-time
analysis. You can then attach a logic analyzer or RMON probe to the target
port and study the traffic crossing the source port in a completely
unobtrusive manner.
Command Usage
The mirror port and monitor port speeds must match, otherwise traffic
may be dropped from the monitor port.
All mirror sessions have to share the same destination port.
The source and destination por t have to be either both in the port
group of 1 to 24, 49 or both in the port group of 25 to 48, 50.
Web – Click Port/Mirror. Specify the source port, the traffic type to be
mirrored, and the monitor port, then click “Add.”
CLI – Use the interface command to select the monitor port, then use the
port monitor command to specify the source port . Note that default
mirroring under the CLI is for both received and transmitted packets.
Console(config)#interface ethernet 1/10 3-68
Console(config-if)#port monitor ethernet 1/13 3-135
Console(config-if)#