Use these example in debugging port mirroring.
evice(config)# monitor session 1 device(config-session-1)# source ethernet 0/2 destination ethernet 0/1 direction rx
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)
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)