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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

QinQ configuration question

looking to implement QinQ to transport a customer's Vlans through the middle of our network.

I found how to define the QinQ ingress port on a switch, but what I am not seeing or understanding is how do I define which inbound trunk ports to the switch get placed into the QinQ tunnel.

From what it looks like is that all trunk ports coming into the switch gets shoved into the tunnel.

Is this correct?

Is there a way to specify which trunk interfaces get cross-connected into the tunnel?


  • LAN Switching and Routing
Hall of Fame Super Silver

Re: QinQ configuration question

Hello Richard,

the configuration is link based and asymmetric:

Customer switch trunk port <--> Provider switch port (tunnel dot1q)

then on the other site the opposite

Provider switch port (tunnel dot1q)<--> Customer switch trunk port

the same external customer Vlan make the provider network to send QinQ frames between the two edge links

Also note that you cannot decide what customer vlans to tunnel: everything is transported inside the tunnel no vlan filter is supported


switchport mode dot1q-tunnel


switchport access vlan vlan-id

(customer vlan id)

So it is configured on a port basis only the trunk connected to the port with switchport mode dot1q-tunnel is tunneled.

Hope to help