Port mirroring sends copies of packets that enter or exit one port to another physical port or LAG interface, where the packets can be analyzed.
device# configure terminal
device(config)# interface ethernet 0/2
device(conf-if-eth-0/2)# lldp disable
device(conf-if-eth-0/2)# exit
device(config)# monitor session 22
device(config-session-22)# source ethernet 0/1 destination ethernet 0/2 direction tx
The following example summarizes the commands in this procedure.
device# configure terminal device(config)# interface ethernet 0/2 device(conf-if-eth-0/2)# lldp disable device(conf-if-eth-0/2)# exit device(config)# monitor session 22 device(config-session-22)# source ethernet 0/1 destination ethernet 0/2 direction tx