H3C LS-3100-52P-OVS-H3 Operation Manual - page 172
1-6
condition are handled with selective QinQ on this port first, and the left frames are handled with basic
QinQ.
Follow these steps to configure an outer VLAN tagging policy:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enter
Ethernet or
Layer-2
aggregate
interface view
interface interface-type
interface-number
Enter interface
view or port
group view
Enter port
group view
port-group manual
port-group-name
Required
Use either command
Enter QinQ view and configure
the SVLAN tag for the port to add
qinq vid vlan-id
Required
By default, the SVLAN tag to
be added is the default VLAN
tag of the receiving port.
Tag frames of the specified
CVLANs with the current SVLAN
raw-vlan-id inbound { all |
vlan-list}
Required
z
An inner VLAN tag corresponds to only one outer VLAN tag.
z
If you want to change an outer VLAN tag, you must delete the old outer VLAN tag configuration and
configure a new outer VLAN tag.
Configuring the TPID Value in VLAN Tags
You can configure the TPID value in VLAN tags in system view, where the configuration takes effect on
all ports of the device.
Follow these steps to configure a TPID value globally:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Configure the TPID value in the
CVLAN tag or the SVLAN tag
qinq ethernet-type
[ customer-tag |
service-tag ] hex-value
Optional
Both 0x8100 by default
QinQ Configuration Examples
Basic QinQ Configuration Example
Network requirements
z
Provider A and Provider B are edge devices on the service provider network and are
interconnected through trunk ports. They belong to SVLAN 10 and 50.