42 
Chapter 6  VLAN-VPN Commands 
VLAN-VPN (Virtual Private Network) function, the implement of a simple and flexible Layer 2 VPN 
technology, allows the packets with VLAN tags of private networks to be encapsulated with VLAN 
tags of public networks at the network access terminal of the Internet Service Provider. And these 
packets will be transmitted with double-tag across the public networks. 
6.1  dot1q-tunnel 
Description 
The dot1q-tunnel command is used to enable the VLAN-VPN function globally. 
To disable the VLAN-VPN function, please use the no dot1q-tunnel command.   
Syntax 
dot1q-tunnel 
no dot1q-tunnel 
Command Mode 
Global Configuration Mode 
Privilege Requirement 
Only Admin, Operator and Power User level users have access to these 
commands. 
Example 
Enable the VLAN-VPN function globally: 
T2600G-28TS(config)#dot1q-tunnel   
6.2  dot1q-tunnel tpid 
Description 
The  dot1q-tunnel tpid  command is used to configure Global TPID of the 
VLAN-VPN. To restore to the default value, please use the  no  dot1q-tunnel 
tpid command.   
Syntax 
dot1q-tunnel tpid tpid 
no dot1q-tunnel tpid