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.
Figure 52 Network diagram
Configuration procedure
IMPORTANT:
Make sure that you have configured the switches in the service provider network to allow QinQ packets to
pass through.
Configure PE 1:
1.
Configure GigabitEthernet 1/0/1:
# Configure GigabitEthernet 1/0/1 as a trunk port and assign it to VLAN 100.
<PE1> system-view
[PE1] interface gigabitethernet 1/0/1
[PE1-GigabitEthernet1/0/1] port link-type trunk
Figure
52:
163