190
0x8200 and 0x9100 as the CVLAN TPID and SVLAN TPID, respectively. Otherwise, the devices cannot
correctly identify tagged frames between them.
Configuring the CVLAN TPID
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the TPID value for
CVLAN tags.
qinq ethernet-type
customer-tag
hex-value
The default setting is 0x8100 for
CVLAN tags.
Configuring the SVLAN TPID
Configure the SVLAN TPID on service provider-side ports of PEs.
On a QinQ-enabled port or customer-side QinQ-enabled port, you cannot configure the SVLAN TPID.
To configure the SVLAN TPID on a service provider-side port:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Ethernet interface view,
Layer 2 aggregate interface
view, or port group view.
•
Enter Ethernet interface view or
Layer 2 aggregate interface
view:
interface
interface-type
interface-number
•
Enter port group view:
port-group manual
port-group-name
N/A
3.
Configure the SVLAN TPID.
qinq ethernet-type
service-tag
hex-value
The default setting is 0x8100 for
SVLAN tags.
QinQ configuration examples
Basic QinQ configuration example
Network requirements
As shown in
:
•
The two branches of Company A, Site 1 and Site 2, are connected through the service provider
network and use CVLANs 10 through 70. The two branches of Company B, Site 3 and Site 4, are
connected through the service provider network and use CVLANs 30 through 90.
•
PE 1 and PE 2 are edge devices on the service provider network and are connected through
third-party devices with a TPID value of 0x8200.
Configure the edge and third-party devices to enable communication between the branches of Company
A through SVLAN 100, and communication between the branches of Company B through SVLAN 200.