SPAN Vlan works on router interface?

Unanswered Question
Jul 28th, 2010
User Badges:

Hi All,


We have one layer 3 switch. Configured monitor session to copy all the data in vlan 2 ports (RX only) to one sniffer port. There is one interface in this switch configured as a router interface. As I know router interface doesn't carry vlan information, but from what I have seen, the packet coming through router interface did get copied to sniffer port. So when the packet comes through router interface, the switch adds vlan 2 tag for that packet if they decide to route it to vlan 2? The SPAN just think it's incoming vlan 2 data, so it copys it to the sniffer port. Am I right?


Thanks.


Lou

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Nagaraja Thanthry Wed, 07/28/2010 - 19:07
User Badges:
  • Cisco Employee,

Hello,


You are correct. I guess you are seeing the packet after the packet enters VLAN 2. Typically within the switch, you do not tag the traffic. If the switch decides that the destination is on a different switch and the packet needs to traverse through a trunk interface, then it will attach the tag. If you SPAN the trunk interface as well, then it will send the tag information to the sniffer. You might also see the tag if you configure "encapsulation replicate" in your SPAN configuration.


Hope this helps.


Regards,


NT

Actions

This Discussion