Got it

Double VLAN Mapping Subinterfaces Access VSIs and VLAN Encapsulation Modes

750 0 0 0 0

1.13.1 Configuration Information:
On PE1:
Interface GigabitEthernet2/0/16.1
 Vlan-mapping vlan 16 inner-vlan 17 map-vlan 18 (The V1R6, V2R1 command line is changed to qinq mapping pe-vid 16 ce-vid 17 map-vlan vid 18)
 L2 binding vsi test
On PE2:
Interface GigabitEthernet2/0/16.1
 Vlan-mapping vlan 19 inner-vlan 20 map-vlan 21 (The V1R6, V2R1 command line is changed to qinq mapping pe-vid 19 ce-vid 20 map-vlan vid 21)
 L2 binding vsi test
1.13.2 Packets into the Tunnel:
The packet sent by CE1 encapsulates two VLANs. The outer VLAN is 16 and the inner VLAN is 17:
After receiving the packet, PE1 changes the outer VLAN to the configured map-vlan 18, and then encapsulates the MPLS label information and sends it to PE2:
If the packet sent by CE1 carries no VLAN or single VLAN, it will be discarded.
1.13.3 Message Out of the Tunnel:
After PE2 receives the packet from PE1, PE2 strips off the MPLS encapsulation information, replaces the outer VLAN ID with the outer VLAN tag of the map configured on the port, that is, 19, and forwards it to CE2:
1.13.4 Supplementary Explanation:
The same applies to each version.


The summary of  Handling of VLANs in Packets in Various Versions of L2VPN Configurations .

This post was last edited by Barret at 2018-06-30 03:46.

This article contains more resources

You need to log in to download or view. No account? Register

  • x
  • convention:


You need to log in to comment to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits


Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Please bind your phone number to obtain invitation bonus.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.