[PE2] interface gigabitethernet 1/0/3
[PE2-GigabitEthernet1/0/3] port link-type trunk
[PE2-GigabitEthernet1/0/3] port trunk permit vlan 100 10 to 70
# Configure VLAN 100 as the PVID for the port.
[PE2-GigabitEthernet1/0/3] port trunk pvid vlan 100
# Enable basic QinQ on the port.
[PE2-GigabitEthernet1/0/3] qinq enable
[PE2-GigabitEthernet1/0/3] quit
Configure third-party devices.
3.
On the third-party devices between PE 1 and PE 2, configure the port that connects to PE 1 and that
connecting to PE 2 to allow tagged frames of VLAN 100 and VLAN 200 to pass through.
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 58 Network diagram
Configuration procedure
Figure
58:
173