Got it

Bind VSI and Ethernet Encapsulation on the Main Interface

1223 0 0 0 0

1.4.1 Configuration Information:
On PE1:
Vsi test static
 Pwsignal ldp
  Vsi-id 1
 Encapsulation ethernet
Interface GigabitEthernet2/0/16
 Undo portswitch
 L2 binding vsi test
The configuration on PE2 is similar and is not enumerated.

1.4.2 Packets into the Tunnel:
1. If the packet sent by CE1 carries a VLAN, as shown in Figure 1, during the processing of the incoming tunnel, the version of V1R2 is processed as follows:
When the encapsulation mode is Ethernet, when a packet enters a tunnel, the VLAN in the original packet is stripped and then forwarded into the tunnel. The packet received by PE2 is:
The V1R3 version is different from V1R2 in that it does not strip the VLANs in the original packet when it enters the tunnel.
2. If the packet sent by CE1 carries two VLANs:
When a packet enters a tunnel, the V1R2 version strips the outer VLAN. The V1R3 version does not start:
 In the V1R3 version, PE1 encapsulates both VLANs in MPLS packets and forwards them to the peer PE2.
3. If the packet sent by CE1 carries no VLAN, the packet is directly encapsulated in the original packet based on the original packet and then forwarded to PE2.

1.4.3 packets out of the tunnel:
When a packet comes out of a tunnel, regardless of whether the packet received from the peer PE carries the VLAN information of the original packet, each version does not process it. The MPLS header is stripped off and then transparently transmitted. The local CE, that is, the value of the VLAN carried in the original packet received by PE1 and sent by PE2 is forwarded to CE2.

1.4.4 Supplementary explanation:
When packets enter the tunnel, pay attention to the difference between versions V1R2 and V1R3. When a tunnel is used, the V1R3 version does not modify the VLAN information of packets at the beginning.

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

This is what I want to talk about/share with you today, thank you!

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.