cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3399
Views
0
Helpful
2
Replies

Port mirroring on a 4506 switch

mabbiss66
Level 1
Level 1

Hi, I have been trying to configure port mirroring on the aforementioned switch (OS = 12.2(18)EW) and having no success.

I want to capture all frames going to one port and mirror them to another port where I have a PC attached running NetMon from Microsoft.

Both ports to be used are already configured as:

interface GigabitEthernetx/x

switchport access vlan xx

switchport mode access

speed 100

duplex half

spanning-tree portfast

I then entered the monitor session commands as:

monitor session 1 destination interface Gix/x

monitor session 1 source interface Gix/x

As soon as I do that the admin machine (the desination) loses access to the network and my NetMon capture does not see anything at all.

Please can someone suggest what is configured incorrectly. I am a total newbie at this switching stuff.

Many many thanks

2 Replies 2

Prashanth Krishnappa
Cisco Employee
Cisco Employee

You will need to configure the following if you want to have connectivity with SPAN destination port

1)Ingress VLAN on the destination port

2)Static ARP for the device on SPAN destination port

3)Static MAC-ADDRESS entry for the device on SPAN destination port

In my lab, I have a device with IP address of 2.2.2.2 and a MAC-address 0011.5c85.85bf on

my Span destination port gig 4/48 which is in VLAN 2. My SPAN config looks like

monitor session 1 source interface Gi5/1 - 48

monitor session 1 source interface Fa6/1 - 48

monitor session 1 destination interface Gi4/48 ingress vlan 2

arp 2.2.2.2 0011.5c85.85bf ARPA

mac-address-table static 0011.5c85.85bf vlan 2 interface GigabitEthernet4/48

With the above config, I have IP connectivity with the device on gig4/48

4507R#ping 2.2.2.2

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms

4507R#

Try the above in your set up and let me know how it goes

burleyman
Level 8
Level 8

Check this out...look for the monitor session info.

http://www.cisco.com/application/pdf/en/us/guest/products/ps4324/c2001/ccmigration_09186a00801f4319.pdf

Hope this helps,

Mike