Figure 48
Network diagram
Configuration procedure
NOTE:
Be sure that you have configured the devices in the service provider network to allow QinQ packets to pass
through.
1.
Configure Provider A .
# Enter system view.
<ProviderA> system-view
•
Configure Ethernet 1/0/1.
# Configure the port as a hybrid port that permits frames of VLAN 1000, VLAN 2000, and VLAN 3000
to pass through with the outer VLAN tag removed.
[ProviderA] interface ethernet 1/0/1
[ProviderA-Ethernet1/0/1] port link-type hybrid
[ProviderA-Ethernet1/0/1] port hybrid vlan 1000 2000 3000 untagged
# Configure VLAN 3000 as the PVID of Ethernet 1/0/1.
[ProviderA-Ethernet1/0/1] port hybrid pvid vlan 3000
[ProviderA-Ethernet1/0/1] quit
# Create a class
A10
to match frames of VLAN 10 of Customer A.
[ProviderA] traffic classifier A10
[ProviderA-classifier-A10] if-match customer-vlan-id 10
[ProviderA-classifier-A10] quit
# Create a traffic behavior
P1000
and configure the action of tagging frames with the outer VLAN tag
1000 for the traffic behavior.
[ProviderA] traffic behavior P1000
[ProviderA-behavior-P1000] nest top-most vlan-id 1000
[ProviderA-behavior-P1000] quit
148