Port mirroring Cisco switchesPosted: April 13, 2012
To mirror a port i.e. pass traffic to another port so that it can be analised is different per Cisco switch but the basis is
Create a monitoring group
Tell one or more of the ports that it is the source
Tell one port that it is the destination.
Becareful here as this can increase load on the switch.
The command are as follows:
monitor session 1 source interface x/x both
monitor session 1 destination interface x/x
This puts the switch into monitoring mode, you can have more than 1 session also
To show what is being monitored
To stop monitoring of 1 session or turn off completley
no monitor session x