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 51 Network diagram for basic QinQ configuration
Configuration procedure
Make sure that the devices in the service provider network have been configured to allow QinQ packets
to pass through.
Configuration on PE 1
1.
Configure GigabitEthernet 4/1/1.
•
# Configure GigabitEthernet 4/1/1 as a trunk port and assign it to VLAN 100 and VLANs 10 through
70.
<PE1> system-view
[PE1] interface gigabitethernet 4/1/1
[PE1-GigabitEthernet4/1/1] port link-type trunk
[PE1-GigabitEthernet4/1/1] port trunk permit vlan 100 10 to 70
Figure
51:
152