28
Chapter 5 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.
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
Example
Enable the VLAN-VPN function globally:
TL-SG5428(config)#dot1q-tunnel
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 num
no dot1q-tunnel tpid
Parameter
num —— The value of Global TPID. It must be 4 Hex integers. By default, it is