Command Manual (For Soliton) – VLAN-VPN
H3C S3100 Series Ethernet Switches
Chapter 2 Selective QinQ Configuration Commands
2-3
Examples
# Specify to add VLAN 20 tag as the outer tags to the packets with their inner VLAN IDs
being 2 through 14.
<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
2.1.3 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