Manual
+7(495) 797-3311 www.qtech.ru 
Москва, Новозаводская ул., 18, стр. 1 
140 
  Detailed  description  on  the  application  and  configuration  of  dot1q-tunnel  will  be 
provided in this section. 
18.2.2 Dot1q-tunnel Configuration 
Configuration Task Sequence of Dot1q-Tunnel: 
1.  Configure the dot1q-tunnel function on port 
2.  Configure the global protocol type (TPID) 
1.  Configure the dot1q-tunnel function on port 
2.  Configure the global protocol type (TPID) 
18.2.3 Typical Applications of the Dot1q-tunnel 
Scenario: 
Edge switch PE1 and PE2 of the ISP internet forward the VLAN200~300 data between CE1 
and CE2 of the client network with VLAN3. The port1 of PE1 is connected to CE1, port10 is 
connected to public network, the TPID of the connected equipment is 9100; port1 of PE2 is 
connected to CE2, port10 is connected to public network.  
Configuration Item 
Configuration Explanation 
VLAN3 
Port1 of PE1 and PE2. 
dot1q-tunnel 
Port1 of PE1 and PE2. 
tpid 
9100 
Configuration procedure is as follows: 
PE1: 
Switch(config)#vlan 3 
Switch(Config-Vlan3)#switchport interface ethernet 1/1 
Command 
Explanation 
Port mode 
dot1q-tunnel enable 
no dot1q-tunnel enable 
Enter/exit  the  dot1q-tunnel  mode  on  the 
port. 
Command 
Explanation 
Global mode 
dot1q-tunnel tpid {0x8100|0x9100|0x9200|<1-
65535>} 
Configure the global protocol type. 










