Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

SPAN Vlan works on router interface?

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

  • LAN Switching and Routing
1 REPLY
Cisco Employee

Re: SPAN Vlan works on router interface?

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

310
Views
0
Helpful
1
Replies
This widget could not be displayed.