ujjwal-singh
asked on
Cisco span problem
I have cisco catalyst switch and i want to configure port mirroring on that. For that i configured the switch using following :
Switch(config)# monitor session 1 source interface gigabitethernet0/1
Switch(config)# monitor session 1 destination interface gigabitethernet0/2
Switch(config)# end
But after this configuration my switch show line protocol down for monitored interfaces.Please provide your valuable suggestion to get this resolve.
I also want to know how to test whether I'm getting mirrored traffic on monitored port?
I'm trying it with wireshark.
Thanks
Switch(config)# monitor session 1 source interface gigabitethernet0/1
Switch(config)# monitor session 1 destination interface gigabitethernet0/2
Switch(config)# end
But after this configuration my switch show line protocol down for monitored interfaces.Please provide your valuable suggestion to get this resolve.
I also want to know how to test whether I'm getting mirrored traffic on monitored port?
I'm trying it with wireshark.
Thanks
and it is working if booth ports are same VLAN
It's normal for the line protocol to be down on the destination port when your spanning a port.
ping is a good way of testing to see if your capturing traffic, although you'll need to ping between two devices - one either side of the port your monitoring and not the device your running wireshark on.
ping is a good way of testing to see if your capturing traffic, although you'll need to ping between two devices - one either side of the port your monitoring and not the device your running wireshark on.
ASKER
i got it done with following:
Switch(config)# monitor session 1 source interface gigabitethernet0/1 both encapsulation replicate
Switch(config)# monitor session 1 source interface gigabitethernet0/1 both encapsulation replicate
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
i will try this sol
ASKER
is the current conf line