Home LAN/MAN Switch Configuration [Cisco] Port mirroring sample config

1. New IOS

source port 0/22
destinaiton port 0/21

Switch#config terminal
Enter configuration commands, one per line. End with CNTL/Z.

Switch(config)#monitor session 1 source interface fastEthernet 0/22
Switch(config)#monitor session 1 destination interface fastEthernet 0/21
Switch#Show monitor session 1



2. Old IOS

source port 0/1, 0/2
destinaion port 0/24

 

Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.

Switch(config)#interface fastEthernet 0/24
Switch(config-if)#port monitor fastEthernet 0/1
Switch(config-if)#port monitor fastEthernet 0/2
show port monitor

 

 

3. VLAN Mirroring

source vlan1
destinaion port 0/24

Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.

Switch(config)#interface fastEthernet 0/24
Switch(config-if)#port monitor vlan 1




 

Last Updated (Tuesday, 15 November 2011 12:48)

 
User Menu
Statistics
Content View Hits : 350992
Related Items
Community donors
Polls
Highly recommended firewall vendor?
 
Google Translation
English Arabic Chinese (Simplified) Czech Dutch French German Italian Korean Portuguese Russian Spanish Filipino Vietnamese Thai Turkish
BGP routing issue?
Banner
World Route Servers
Banner
Who's Online
We have 32 guests online