Operation Manual – VLAN-VPN
H3C S3100 Series Ethernet Switches
Chapter 2 Selective QinQ Configuration
2-3
Task
Remarks
Configuring Global Tag Mapping Rules
for Selective QinQ
Required
Enabling the Selective QinQ Feature for
a Port
Optional
2.2.2 Configuring Global Tag Mapping Rules for Selective QinQ
Table 2-1
Configure global tag mapping rules for selective QinQ
Operation
Command
Description
Enter system view
system-view
—
Configure the outer VLAN
tag and enter QinQ view
vlan-vpn vid vlan-id
Required
Configure to add outer
VLAN tags to the packets
with the specific inner
VLAN tags
raw-vlan-id inbound
vlan-id-list
Required
By default, the feature of
adding an outer VLAN tag
to the packets with the
specific inner VLAN tags
is disabled.
Note:
Do not enable both the selective QinQ function and the DHCP snooping function on a
switch. Otherwise, the DHCP snooping function may operate improperly.
2.2.3 Enabling the Selective QinQ Feature for a Port
Table 2-2
Enable the selective QinQ feature
Operation
Command
Description
Enter system view
system-view
—
Enter Ethernet port view
interface
interface-type
interface-number
—
Enable the selective QinQ
feature
vlan-vpn selective
enable
Required
By default, the selective
QinQ feature is not
enabled on a port.