Comprehensive Selective QinQ Configuration Example
Provider A and Provider B are edge devices on the service provider network and are
interconnected through trunk ports. They belong to SVLAN 1000 and SVLAN 2000 separately.
Customer A, Customer B and Customer C are edge devices on the customer network.
Third-party devices with a TPID value of 0x8200 are deployed between Provider A and Provider B.
Make configuration to achieve the following:
VLAN 10 frames of Customer A and Customer B can be forwarded to each other across SVLAN
VLAN 20 frames of Customer A and Customer C can be forwarded to each other across SVLAN
Figure 1-5 Network diagram for comprehensive selective QinQ configuration
VLAN 10, 20
Make sure that the devices in the service provider network have been configured to allow QinQ packets
to pass through.
Configuration on Provider A
Configure GigabitEthernet 1/0/1
# Configure GigabitEthernet 1/0/1 as a hybrid port to permit frames of VLAN 1000 and VLAN 2000 to
pass through, and configure GigabitEthernet 1/0/1 to send packets of these VLANs with tags removed.
[ProviderA] interface gigabitethernet 1/0/1
[ProviderA-GigabitEthernet1/0/1] port link-type hybrid
[ProviderA-GigabitEthernet1/0/1] port hybrid vlan 1000 2000 untagged
VLAN 1000, 2000
TPID = 0x8200