Make configuration to satisfy the following requirements:
•
Frames of VLAN 200 through VLAN 299 can be exchanged between Customer A1 and Customer
A2 through VLAN 10 of the service provider network.
•
Frames of VLAN 250 through VLAN 350 can be exchanged between Customer B1 and Customer
B2 through VLAN 50 of the service provider network.
Figure 46
Network diagram for basic QinQ configuration
Eth1/0/1
Eth1/0/2
Eth1/0/3
Eth1/0/1
Eth1/0/2
Customer A1
Customer A2
VLAN 10,50
TPID=0x8200
Public network
Customer B2
Eth1/0/3
Customer B1
VLAN 200
~
299
VLAN 250
~
350
Provider A
Provider B
VLAN 250
~
350
VLAN 200
~
299
Configuration procedure
NOTE:
Make sure that the switches in the service provider network have been configured to allow QinQ packets
to pass through.
1.
Configure Provider A.
•
Configure Ethernet 1/0/1
# Configure VLAN 10 as the PVID of Ethernet 1/0/1.
<ProviderA> system-view
[ProviderA] interface ethernet 1/0/1
[ProviderA-Ethernet1/0/1] port access vlan 10
# Enable basic QinQ on Ethernet 1/0/1.
[ProviderA-Ethernet1/0/1] qinq enable
[ProviderA-Ethernet1/0/1] quit
•
Configure Ethernet 1/0/2
# Configure Ethernet 1/0/2 as a hybrid port and configure VLAN 50 as the PVID of the port.
[ProviderA] interface ethernet 1/0/2
[ProviderA-Ethernet1/0/2] port link-type hybrid
[ProviderA-Ethernet1/0/2] port hybrid pvid vlan 50
[ProviderA-Ethernet1/0/2] port hybrid vlan 50 untagged
# Enable basic QinQ on Ethernet 1/0/2.
143