Port-based selective QinQ configuration example (available
only on the A3100 v2 EI)
Network requirements
As shown in
,
•
Provider A and Provider B are edge switches on the service provider network and are connected
through trunk ports. They belong to SVLAN 1000 and SVLAN 2000, respectively.
•
Customer A, Customer B and Customer C are edge switches on the customer network.
•
Third-party devices with a TPID value of 0x8200 are deployed between Provider A and Provider B.
Configure the switches to meet the following requirements:
•
VLAN 10 frames of Customer A and Customer B can be forwarded to each other across SVLAN
1000.
•
VLAN 20 frames of Customer A and Customer C can be forwarded to each other across SVLAN
2000.
Figure 47
Network diagram for port-based selective QinQ configuration
Eth1/0/1
Eth1/0/2
Eth1/0/3
Eth1/0/1
Eth1/0/2
Customer A
VLAN 10, 20
Customer C
VLAN 20
Provider B
Provider A
VLAN 1000, 2000
TPID = 0x8200
Public network
Customer B
VLAN 10
Configuration procedure
NOTE:
Be sure that you have configured the switches in the service provider network to allow QinQ packets to
pass through.
1.
Configure Provider A.
•
Configure Ethernet 1/0/1
# Configure Ethernet 1/0/1 as a hybrid port to permit frames of VLAN 1000 and VLAN 2000 to pass
through, and configure Ethernet 1/0/1 to send packets of these VLANs with tags removed.
<ProviderA> system-view
[ProviderA] interface ethernet 1/0/1
[ProviderA-Ethernet1/0/1] port link-type hybrid
[ProviderA-Ethernet1/0/1] port hybrid vlan 1000 2000 untagged
145