[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 639
  • Last Modified:

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
0
ujjwal-singh
Asked:
ujjwal-singh
1 Solution
 
ujjwal-singhAuthor Commented:
Switch(config)# monitor session 1 source interface gigabitethernet0/1 both

is the current conf line
0
 
Istvan KalmarCommented:
and it is working if booth ports are same VLAN
0
 
rochey2009Commented:
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.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
ujjwal-singhAuthor Commented:
i got it done with following:
Switch(config)# monitor session 1 source interface gigabitethernet0/1 both encapsulation replicate
0
 
msatliCommented:
u can user this command:
monitor session 1 source interface gigabitethernet0/1
monitor session 1 destination interface gigabitethernet0/2 ingress vlan X learning
0
 
ujjwal-singhAuthor Commented:
i will try this sol
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now