How to configure the QinQ (Basic QinQ) on ES3510MA ?

Steven_zhangCreated at:Dec 11, 2019 13:10:02Updated at:Dec 11, 2019 13:11:11

Firmware Version: 1.5.1.18

 

IEEE 802.1Q tunneling (QinQ tunneling) uses a single Service Provider VLAN (SPVLAN) for customers who have multiple VLANs.

QinQ tunneling expands VLAN space by using a VLAN-in-VLAN hierarchy, preserving the customer's original tagged packets, and adding SPVLAN tags to each frame (also called double tagging).

 

mceclip0.png

 

At SW 1 and SW4

1. Configure access mode

Console(config)#interface ethernet 1/1
Console(config-if)#switchport mode access
Console(config-if)#switchport native vlan 2
Console(config-if)#switchport allowed vlan remove 1

2. Configure trunk mode

Console(config)#interface ethernet 1/9
Console(config-if)#switchport mode trunk
Console(config-if)#switchport allowed vlan add 2 tagged
Console(config-if)#switchport allowed vlan remove 1

 

At SW2 and SW3

1. Enable QinQ  

Console(config)#dot1q-tunnel system-tunnel-control

2. Configure Q-in-Q access port 

Console(config)interface ethernet 1/1
Console(config-if)#switchport allowed vlan add 20 untagged
Console(config-if)#switchport native vlan 20
Console(config-if)#switchport allowed vlan remove 1
Console(config-if)#switchport dot1q-tunnel mode access

3. Configure Q-in-Q uplink port 

Console(config)interface ethernet 1/5
Console(config-if)#switchport allowed vlan add 20 tagged
Console(config-if)#switchport dot1q-tunnel mode uplink

 

Check the status on the switch

Console#show dot1q-tunnel
802.1Q Tunnel Status : Enabled

Port     Mode   TPID (Hex) Priority Mapping
-------- ------ ---------- ----------------
Eth 1/ 1 Access       8100 Disabled        
Eth 1/ 2 Normal       8100 Disabled        
Eth 1/ 3 Normal       8100 Disabled        
Eth 1/ 4 Normal       8100 Disabled        
Eth 1/ 5 Uplink       8100 Disabled        
Eth 1/ 6 Normal       8100 Disabled        
Eth 1/ 7 Normal       8100 Disabled
Eth 1/ 8 Normal       8100 Disabled
Eth 1/ 9 Normal       8100 Disabled
Eth 1/10 Normal       8100 Disabled

The packet, captured from SW1 to SW2.

mceclip1.png

 

The packet, captured from SW2 to SW3.

mceclip2.png

 

The packet, captured from SW3 to SW4.

mceclip3.png