Cisco switch port monitoring / mirroring

Publié le Auteur manuLaisser un commentaire

The goal is to copy traffic of one port or many ports or a vlan to another port.

First create the monitoring session (named 1) and define source port (fa0/0/1) for traffic in and out (both)

Switch(config)#monitor session 1 source interface fa1/0/1 both

Then define the where you copy the traffic for this sesssion, specify destination port (fa1/0/48)

Switch(config)#monitor session 1 destination interface fa1/0/48

Check the monitoring sessions 1

Switch(config)#do show monitor session 1

Delete the session

Switch(config)#no monitor session 1

Laisser un commentaire