H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – QinQ
H3C S7500 Series Ethernet Switches Chapter 1
QinQ Configuration Commands
1-2
Description
Use the vlan-vpn enable command to enable the QinQ function for a port.
Use the undo vlan-vpn command to disable the QinQ function for a port.
By default, the QinQ function is disabled.
With the QinQ function enabled, a received packet is tagged with the default VLAN tag
of the receiving port no matter whether or not the packet already carries a VLAN tag. If
the packet already carries a VLAN tag, the packet becomes a double-tagged packet.
Otherwise, the packet becomes a packet carrying the default VLAN tag of the port.
Examples
# Enable the QinQ function for Ethernet 1/0/1.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface Ethernet 1/0/1
[H3C-Ethernet1/0/1] vlan-vpn enable