Got it

VLANIF Bind to VSI and Ethernet Encapsulation

1050 0 2 0 1

1.2.1 Configuration Information:
Configured on PE1:
Vsi test static
  Pwsignal ldp
   Vsi-id 1
  Encapsulation ethernet
Configured on PE2:
Vsi test static
  Pwsignal ldp
   Vsi-id 1
  Encapsulation ethernet

1.2.2 Packets into the Tunnel:
The original packet sent by CE1 is the same as in Figure 1, but because the encapsulation mode is Ethernet, VLAN 16 in the original packet of CE1 is stripped when it enters the tunnel:

Figure 4
If the packets sent by CE1 carry two tags, the outer VLANs in the original packets are stripped and retained by the inner layer.

1.2.3 packets out of the tunnel:
After PE2 receives an MPLS packet, PE2 must decapsulate the packet and bind the VLAN 16 cost offset in the original packet to the VLAN corresponding to the VLANIF of the VSI. The other contents are the same as the original packet:

Figure 5
If the packet sent by CE1 carries a double-tag, PE2 replaces the VLAN ID in the original packet with the VLAN corresponding to the VLANIF that is bound to the VSI at the local end. The other content is the same as the original packet.
1.2.4 Supplementary explanation:

For applications where VSI is bound to VLANIF, no matter how the corresponding physical port is added to the VLAN, the packets on the CE side must all have the same VLAN. Otherwise, the packets cannot be forwarded by VPLS and will be discarded. And each version has this requirement.


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:40.

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.