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

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

For an introduction to the new site, click here. And see here for current known issues.

New Member

VLAN Tagging

I have a 3845 router with a 16 port switch module. The 16 port switch module has multiple vlans, and is running in transparent mode. The router has multiple sub-interfaces all running dot1q encap.

When the sub-interface on the router receives a frame from vlan 12, and it needs to route that packet out its Gig0/0 interface, will the router carry over the vlan tagging?


Re: VLAN Tagging

   Where is the g0/0 interface , on the switch ?


Re: VLAN Tagging

No, it will not carry over the VLAN 12 tag after it traverses a

layer 3 boundary. If you need it to remain in VLAN 12 as it goes out Gig 0/0 interface, you either need to configure it to do so on gig 0/0 via subinterfaces / dot1q commands. Alternatively (and less scalable) you can leave the gig 0/0 interface as it is currently configured, and have the next device (switch I'm assuming) be configured to place it in vlan 12 (for example, just a normal access port in VLAN 12).

However, you mention the 16 port switch module, which introduces many different configurations, without knowing your exact configuration, source, and destination, it is hard to answer your question accurately. But if the packet is traversing a layer 3 boundary, and not being tunneled, it will not keep its VLAN tag, the moment the Layer 2 no longer needs to pass the tag, it will strip it off (example: sending information to your PC is a non-trunk port, your PC doesn't recieve tagged frames, same concept in a router with a switch module, the layer 2 engine will strip the tag before sending out its interface to the layer 3 engine).



New Member

Re: VLAN Tagging

That answers my questions.

Thanks guys.