12-29-2010 04:04 AM
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.
12-30-2010 08:48 AM
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
cheers,
Riccardo
01-03-2011 03:50 AM
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
01-03-2011 09:48 AM
that configuration should work fine even if you waste free ports... have you tried it yet?
Riccardo
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide