![Huawei Quidway S8500 Series Command Manual Download Page 181](http://html.mh-extra.com/html/huawei/quidway-s8500-series/quidway-s8500-series_command-manual_169479181.webp)
Command Manual – VLAN&QinQ
Quidway S8500 Series Routing Switches
Chapter 5 Q-in-Q Configuration Commands
Huawei Technologies Proprietary
5-4
Parameter
None
Description
Use the
vlan-vpn enable
command to enable VLAN VPN feature for the port.
Use the
undo vlan-vpn
command to disable VLAN VPN feature for the port.
With VLAN VPN enabled, a received packet is tagged with the default VLAN tag of the
port no matter whether or not the packet carries a VLAN tag. So, if the packet already
carries a VLAN tag, the default VLAN tag becomes a nested VLAN tag in the packet.
Otherwise, the packet is transmitted with the default VLAN tag carried.
Caution:
z
VLAN VPN cannot be enabled if the port has any of GVRP, STP, and 802.1x
protocols enabled.
z
VLAN VPN cannot be enabled on a port if the VLAN which the port belongs to has
IGMP Snooping enabled or its VLAN interface has IGMP enabled. Similarly, if a port
is VLAN VPN-enabled, you cannot enable IGMP Snooping in the VLAN to which the
port belongs or enable IGMP on the VLAN interface of the VLAN.
z
If you want to add VLAN VPN-enabled ports to a VLAN, make sure the VLAN is not
IGMP Snooping-enabled, and the VLAN interface is not IGMP-enabled.
z
If you have enabled VLAN VPN feature for the ports in the VLAN, the VLAN cannot
be removed.
By default, the VLAN VPN feature is disabled on a port.
Example
# Enable the VLAN VPN feature on the Ethernet2/1/1 port.
[Quidway-Ethernet2/1/1] vlan-vpn enable
5.1.4 vlan-vpn tpid
Syntax
vlan-vpn
tpid value
undo vlan-vpn tpid
View
System view