04-28-2005 05:07 AM - edited 03-02-2019 10:36 PM
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
04-28-2005 06:02 AM
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
04-28-2005 07:53 AM
Check this out...look for the monitor session info.
Hope this helps,
Mike
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide