- Unsupervised Learning
- Posts
- Port Mirroring on a Cisco 3550 Switch
Port Mirroring on a Cisco 3550 Switch
![clean-coding-best-practices](https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/54ca5a14-08dc-4513-8cf7-4a726fa22515/clean-coding-best-practices.jpg)
Just for reference…
Source port(s):
Switch# config t Switch(config)# monitor session 1 source interface fastethernet 0/1 Switch(config)# monitor session 1 source interface fastethernet 0/2 Switch(config)# monitor session 1 source interface fastethernet 0/3 Switch(config)# monitor session 1 source interface fastethernet 0/4 (however many you want to monitor)
Destination port:
Switch(config)# monitor session 1 destination interface fastethernet 0/24
…then exit and:
Switch# show monitor session 1
It’ll show you what all ports are being monitored (sources) and what port to sniff on (destination). Fin.: