Link to home
Start Free TrialLog in
Avatar of ujjwal-singh
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
Avatar of ujjwal-singh
ujjwal-singh

ASKER

Switch(config)# monitor session 1 source interface gigabitethernet0/1 both

is the current conf line
Avatar of Istvan Kalmar
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.
i got it done with following:
Switch(config)# monitor session 1 source interface gigabitethernet0/1 both encapsulation replicate
ASKER CERTIFIED SOLUTION
Avatar of msatli
msatli

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
i will try this sol