cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2000
Views
0
Helpful
3
Replies

QinQ access to inner tag

andreas-herren
Level 1
Level 1

Hello

I configured on a ME3400 Switch QinQ. Outer vlan-id is 1000. Inner vlan-id are 20, 21,22. Vlan 900 is management.

-----------------------------------------------------

Switch1:

interface GigabitEthernet0/1
port-type nni
switchport access vlan 1000
switchport mode dot1q-tunnel

interface GigabitEthernet0/16

description To Switch 2
port-type nni
switchport trunk allowed vlan 900,1000
switchport mode trunk

-----------------------------------------------------

Switch1 is connected to Switch2 both via g0/16

On g0/2 Switch2, I want vlan 20 untagged. Is this possible?
Configuration should be like this:

-----------------------------------------------------

Switch2:

interface GigabitEthernet0/2
port-type nni
?switchport cut vlan-tag 1000?
switchport access vlan 20
switchport mode access

interface GigabitEthernet0/16

description To Switch 1
port-type nni
switchport trunk allowed vlan 900,1000
switchport mode trunk

-----------------------------------------------------


I know it is possible to connect two separate interfaces together, on with QinQ vlan1000, the other with trunk 20-22. I just prefer not to waste two links.

3 Replies 3

rsimoni
Cisco Employee
Cisco Employee

Hi Andreas,

no you cannot do that... on switch 2 you need to have an interface terminating your QinQ tunnel with metro vlan ID 1000.

If you want to make vlan 20 untagged you might want to configure it as the native vlan in the incoming trunk on the CE switch (the trunk facing Gi0/1 of switch 1).  QinQ also encapsulates untagged traffic meaning that after the metro tag gets removed the frame won't have any dot1q tag.

If you need more control on dot1q tags you might want to explore the fascinating world of EVC which is not available on Me3400 though (it is available on ES20/ES+ cards for 7600 routers).

For more info on QinQ on Me3400 I suggest you to check the config guide

http://www.cisco.com/en/US/docs/switches/metro/me3400/software/release/12.2_55_se/configuration/guide/swtunnel.html

cheers,

Riccardo

Thank you

so I have to  terminating the QinQ tunnel and connect it to a trunk interface on the same switch:

Switch2:

interface GigabitEthernet0/10
description QinQ termination

port-type nni
switchport access vlan 1000
switchport mode dot1q-tunnel

interface GigabitEthernet0/11

description To g0/10

port-type nni
switchport trunk allowed vlan 20

switchport mode trunk

interface GigabitEthernet0/2
port-type nni
switchport access vlan 20
switchport mode access

that configuration should work fine even if you waste free ports... have you tried it yet?

Riccardo