The VSI is bound to the main interface. The VLAN encapsulation mode and the configuration of the port mpls l2vpn default vlan

Latest reply: Dec 27, 2018 15:55:32 784 3 0 0
This post was last edited by Barret at 2018-06-30 11:42.

1.5.1 Configuration Information:
On PE1:
#
Vsi test static
 Pwsignal ldp
  Vsi-id 1
  Peer 111.111.111.111
#
Interface GigabitEthernet2/0/16
 Undo portswitch
 L2 binding vsi test
 Mpls l2vpn default vlan 16
On PE2:
#
Vsi test static
 Pwsignal ldp
  Vsi-id 1
  Peer 90.90.90.90
#
Interface GigabitEthernet4/0/16
 Undo portswitch
 L2 binding vsi test
 Mpls l2vpn default vlan 18
#

1.5.2 Packets into the Tunnel:
The packet sent by CE1 is a packet without a VLAN:
 
After receiving the packet, PE1 encapsulates the configured default VLAN:16 on the basis of the original packet, and then encapsulates the MPLS label and other information before forwarding it to PE2:
 
If the packets sent by CE1 carry one or two VLANs, the default VLAN will not be added.

1.5.3 packets out of the tunnel:
After PE2 receives the packet from PE1, PE2 strips the MPLS label information, and then strips VLAN 16 encapsulated by PE1 and restores the original packet sent by CE1 and forwards the packet to CE2:
 
If the packet sent by CE1 carries one or two VLANs, the outer VLAN will be stripped.

1.5.4 Supplementary explanation:
The same is true for each version.

 

The summary of  Handling of VLANs in Packets in Various Versions of L2VPN Configurations .http://forum.huawei.com/enterprise/en/forum.php?mod=viewthread&tid=453137

This article contains more resources

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

x
  • x
  • convention:

Created Jun 15, 2018 16:08:40 Helpful(0) Helpful(0)

good example
  • x
  • convention:

Created Dec 24, 2018 09:25:30 Helpful(0) Helpful(0)


Very helpful
  • x
  • convention:

Created Dec 27, 2018 15:55:32 Helpful(0) Helpful(0)

And then strips VLAN 16 encapsulated by PE1 and restores the original packet sent by CE1 and forwards the packet to CE2.How do you understand this sentence?
  • x
  • convention:

Reply

Reply
You need to log in to reply 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 " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!

Login and enjoy all the member benefits

Login
Fast reply Scroll to top