• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 640
  • 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 KalmarHead of IT Security Division Commented:
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
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

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