2 dot1q-tunnel configuration, 1 introduction to dot1q-tunnel, Tunnel – PLANET WGSW-52040 User Manual
Page 158: Onfiguration, 1 introduction to dot1q-tunnel -80
![background image](https://www.manualsdir.com/files/865181/content/doc158.png)
Switch(config)#vlan 10
Switch(Config-Vlan10)#switchport interface ethernet 1/10
Switch B:
Switch(config)#vlan 7;9;10
Switch(config)#interface ethernet 1/7
Switch(Config-If-Ethernet1/7)#switchport mode hybrid
Switch(Config-If-Ethernet1/7)#switchport hybrid native vlan 7
Switch(Config-If-Ethernet1/7)#switchport hybrid allowed vlan 7;10 untag
Switch(Config-If-Ethernet1/7)#exit
Switch(Config)#interface Ethernet 1/9
Switch(Config-If-Ethernet1/9)#switchport mode hybrid
Switch(Config-If-Ethernet1/9)#switchport hybrid native vlan 9
Switch(Config-If-Ethernet1/9)#switchport hybrid allowed vlan 9;10 untag
Switch(Config-If-Ethernet1/9)#exit
Switch(Config)#interface Ethernet 1/10
Switch(Config-If-Ethernet1/10)#switchport mode hybrid
Switch(Config-If-Ethernet1/10)#switchport hybrid native vlan 10
Switch(Config-If-Ethernet1/10)#switchport hybrid allowed vlan 7;9;10 untag
Switch(Config-If-Ethernet1/10)#exit
20.2 Dot1q-tunnel Configuration
20.2.1 Introduction to Dot1q-tunnel
Dot1q-tunnel is also called QinQ (802.1Q-in-802.1Q), which is an expansion of 802.1Q. Its
dominating idea is encapsulating the customer VLAN tag (CVLAN tag) to the service provider
VLAN tag (SPVLAN tag). Carrying the two VLAN tags the packet is transmitted through the
backbone network of the ISP internet, so to provide a simple layer-2 tunnel for the users. It is
simple and easy to manage, applicable only by static configuration, and especially adaptive to
small office network or small scale metropolitan area network using layer-3 switch as
backbone equipment.
20-80