<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] vlan-vpn vid 20
[Sysname-vid-20] raw-vlan-id inbound 2 to 14
vlan-vpn selective enable
Syntax
vlan-vpn selective enable
undo vlan-vpn selective enable
View
Ethernet port view
Parameter
None
Description
Use the vlan-vpn selective enable command to enable the selective QinQ feature on a port. With the
selective QinQ feature enabled, packets carrying specific inner VLAN tags are tagged with specific
outer VLAN tags according to the VLAN tag mapping rules defined.
Use the undo vlan-vpn selective enable command to disable the selective QinQ feature.
By default, the selective QinQ feature is disabled on a port.
Related commands: vlan-vpn vid, raw-vlan-id inbound.
Example
# Enable the selective QinQ feature on Ethernet 1/0/1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] vlan-vpn selective enable
2-3