2 dot1q-tunnel configuration, 1 introduction to dot1q-tunnel, Tunnel – QTECH QSW-3400 Инструкция по настройке User Manual

Page 139: Onfiguration

Advertising
background image

+7(495) 797-3311 www.qtech.ru
Москва, Новозаводская ул., 18, стр. 1

138

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

18.2 Dot1q-tunnel Configuration

18.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.

Advertising