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 (Monday, 04 May 2009 19:41)

 
Smart Link
Search
Statistics
Content View Hits : 2152154
Related Items
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 25 guests online