Configuring port mirroring from interface 0/2 to
0/1.
evice(config)# monitor session 1
device(config-session-1)# source ethernet 0/2 destination ethernet 0/1 direction rx
Display the MAC counters on the ingress
interface:
device# show interface ethernet 0/2
Ethernet 0/2 is up, line protocol is up (connected)
Receive Statistics:
1000 packets, 128000 bytes
Unicasts: 1000, Multicasts: 0, Broadcasts: 0
...
(Output is truncated)
Display the MAC counters on the mirrored
interface:
device# show interface ethernet 0/1 (Output is trimmed for brevity)
Ethernet 0/1 is up, line protocol is up (connected)
Transmit Statistics:
1000 packets, 128000 bytes
Unicasts: 1000, Multicasts: 0, Broadcasts: 0
Underruns: 0
...
(Output is truncated)