JetStream  52-Port Gigabit Stackable L3 Managed Switch  CLI Guide 
 
Chapter 7  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. 
7.1  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 
Parameter 
tpid 
āā The value of Global TPID. It must be 4 Hex integers. By default, it is 
8100. 
Command Mode 
Global Configuration Mode 
Example 
Configure Global TPID of the VLAN-VPN as 0x9100: 
T3700G-52TQ(config)#dot1q-tunnel tpid 9100 
7.2  switchport dot1q-tunnel mode nni 
Description 
The  switchport dot1q-tunnel mode nni  command is used to configure the 
VPN up-link port. To close this VPN up-link port, please use the  no 
switchport dot1q-tunnel mode command. By default, no port has been 
configured as the VPN up-link port.     
45