Cisco Ios Port Mirroring
I have just set up a port mirroring on my Cisco 4503 switch by issuing these commands:
Cat4503_2(config)#monitor session 1 source interface GigabitEthernet1/1 - 3 , GigabitEthernet1/5 - 10 , GigabitEthernet1/15 - 20 , GigabitEthernet2/1 - 6 , GigabitEthernet3/1 - 24
Cat4503_2(config)#monitor session 1 destination interface GigabitEthernet3/3
Cat4503_2(config)#exit
Cat4503_2>show monitor session 1
Session 1
---------
Type : Local Session
Source Ports :
Both : Gi1/1-3,Gi1/5-10,Gi1/15-20,Gi2/1-6,Gi3/1-24
Destination Ports : Gi1/4
Encapsulation : Native
Ingress : Disabled
Learning : Disabled
Cat4503_2>write mem
page revision: 1, last edited: 09 Dec 2010 15:40