QinQ
H3C Low-End Ethernet Switches Configuration Examples
Chapter 1 QinQ Overview
1-3
To do…
Use the command…
Remarks
Set the TPID in the
outer VLAN tag of
frames
vlan-vpn tpid
value
Optional
Do not set the TPID to a
protocol value that may
cause conflicts. Some of
such values are listed in
Table 3-1
.
By default, the TPID in the
outer VLAN tag is 0x8100
on the H3C series
switches.
Configure inner-outer
VLAN tag priority
copying
vlan-vpn inner-cos-trust
enable
Configure an
inner-outer VLAN tag
priority mapping
vlan-vpn priority old-priority
remark new-priority
Use either command
By default, both
inner-outer VLAN tag
priority copying and
inner-outer VLAN tag
priority mapping are
disabled.
Display information
about all
QinQ-enabled ports
display port vlan-vpn
Available in any view
1.2.2 Configuring Selective QinQ
Follow these steps to configure selective QinQ:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter Ethernet port view
interface interface-type
interface-number
—
Enable selective QinQ
vlan-vpn enable
Required
Disabled by default.
Specify the outer VLAN
tag to be added to frames
and enter QinQ view
vlan-vpn vid vlan-id
Required
Configure the port to add
the outer VLAN tag to
frames with a specified
inner VLAN ID
raw-vlan-id inbound
vlan-id-list
Required
Disabled by default.
Configure inter-VLAN
MAC address replicating
for selective QinQ
mac-address-mapping
index source-vlan
source-vlan-list
destination-vlan
dest-vlan-id
Required
Disabled by default.