[ProviderB] interface gigabitethernet 1/0/3
[ProviderB-GigabitEthernet1/0/3] port link-type trunk
[ProviderB-GigabitEthernet1/0/3] port trunk permit vlan 10 50
# Set the TPID value in the outer tag to 0x8200.
[ProviderB-GigabitEthernet1/0/3] qinq ethernet-type service-tag 8200
[ProviderB-GigabitEthernet1/0/3] quit
Configuration on third-party switches
3.
Configure the third-party switches between Provider A and Provider B as follows: configure the port
connecting GigabitEthernet 1/0/3 of Provider A and that connecting GigabitEthernet 1/0/3 of Provider
B to allow tagged frames of VLAN 10 and 50 to pass through.
Selective QinQ configuration example
Network requirements
As shown in
Figure
Company A uses CVLAN 10 and CVLAN 20 to transmit voice traffic and data traffic separately,
•
and Company B uses CVLAN 30 and CVLAN 40 to transmit voice traffic and data traffic separately.
The services of the two companies are integrated together.
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 the voice traffic and data traffic to be
•
transmitted between the two companies via SVLAN 100 SVLAN 200 separately.
Figure 57 Network diagram
Configuration procedure
IMPORTANT:
Be sure that you have configured the switches in the service provider network to allow QinQ packets to
pass through.
57:
173