3 dot1q-tunnel configuration, 1 dot1q-tunnel introduction – Amer Networks SS2R48G4i V2 User Manual
Page 101
![background image](https://www.manualsdir.com/files/811735/content/doc101.png)
SS2R24G4i/SS2R48G4i
90
Connect the Trunk ports of both switches for a Trunk link to convey the cross-switch VLAN traffic;
connect all network devices to the other ports of corresponding VLANs.
In this example, port 1 and port 24 is spared and can be used for management port or for other
purposes.
The configuration steps are listed below
Switch A
Switch(Config)#vlan 2
Switch(Config-Vlan2)#switchport interface ethernet 0/0/2-8
Switch(Config-Vlan2)#exit
Switch(Config)#vlan 100
Switch(Config-Vlan100)#switchport interface ethernet 0/0/9-15
Switch(Config-Vlan100)#exit
Switch(Config)#vlan 200
Switch(Config-Vlan200)#switchport interface ethernet 0/0/16-22
Switch(Config-Vlan200)#exit
Switch(Config)#interface ethernet 0/0/23
Switch(Config-Ethernet0/0/23)#switchport mode trunk
Switch(Config-Ethernet0/0/23)#exit
Switch(Config)#
Switch B
Switch(Config)#vlan 2
Switch(Config-Vlan2)#switchport interface ethernet 0/0/2-8
Switch(Config-Vlan2)#exit
Switch(Config)#vlan 100
Switch(Config-Vlan100)#switchport interface ethernet 0/0/9-15
Switch(Config-Vlan100)#exit
Switch(Config)#vlan 200
Switch(Config-Vlan200)#switchport interface ethernet 0/0/16-22
Switch(Config-Vlan200)#exit
Switch(Config)#interface ethernet 0/0/23
Switch(Config-Ethernet0/0/23)#switchport mode trunk
Switch(Config-Ethernet0/0/23)#exit
9.3 Dot1q-tunnel Configuration
9.3.1 Dot1q-tunnel Introduction
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