On the third-party devices between PE 1 and PE 2, configure the port that connects to PE 1 and that
3.
connecting to PE 2 to allow tagged frames of VLAN 100 and VLAN 200 to pass through. (Details
not shown.)
Selective QinQ configuration example
Network requirements
As shown in
The two branches of a company, Site 1 and Site 2, are connected through the service provider
•
network and use CVLAN 10 and CVLAN 20 to transmit voice traffic and data traffic separately.
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 allow frames from CVLAN 10 to be transmitted between
the branches via SVLAN 100 and frames from CVLAN 20 to be transmitted between the branches via
SVLAN 200.
Figure 63 Network diagram
Configuration procedure
IMPORTANT:
Make sure that you have configured the devices 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 hybrid port to permit frames of VLAN 10 and VLAN
20 to pass through tagged, and frames of VLAN 100 and VLAN 200 to pass through
untagged.
<PE1> system-view
[PE1] interface gigabitethernet 1/0/1
[PE1-GigabitEthernet1/0/1] port link-type hybrid
Figure
63:
184