Single-Sized VLAN Mapping Sub-interface Accesses the VSI and VLAN Encapsulation Mode

Created: Jun 30, 2018 11:32:03 212 0 0 0

1.11.1 Configuration Information:
On PE1:
#
Vsi test static
 Pwsignal ldp
  Vsi-id 1
  Peer 111.111.111.111
#
Interface GigabitEthernet2/0/16.1
 Vlan-mapping vlan 16 map-vlan 18 (V1R6, V2R1 command line changed to qinq mapping vid 16 map-vlan vid 18)
 L2 binding vsi test
#
On PE2:
#
Vsi test static
 Pwsignal ldp
  Vsi-id 1
  Peer 90.90.90.90
#
#
Interface GigabitEthernet4/0/16.1
 Qinq mapping vid 19 map-vlan vid 20 (change the V1R6, V2R1 command line to qinq mapping vid 19 map-vlan vid 20)
 L2 binding vsi test
#
1.11.2 Packets Entering the Tunnel:
If the packet sent by CE1 carries a VLAN of 16:
 
After receiving this packet, PE1 replaces the VLAN with map-vlan 18 and forwards it to PE2:
 
If the packet sent by CE1 is a double VLAN, only the outer VLAN is processed, and the inner VLAN remains unchanged. If the packet sent by CE1 carries no VLAN, it is discarded.
1.11.3 Packet Out of Tunnel:
After PE2 receives the packet from PE1, PE2 strips off the MPLS-related encapsulation information, replaces the VLAN with the vlan before mapping configured on the local device, that is, 19, and forwards it to CE2:
 
1.11.4 Supplementary Explanation:
The same applies to each version. If the packets sent by CE1 are double-layered VLANs, only the outer VLANs are processed, and the inner VLANs are always unchanged. If the packets sent by CE1 are not VLANs, they are discarded.

 

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 post was last edited by Barret at 2018-06-30 11:45.

This article contains more resources

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

x
  • 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!
Fast reply Scroll to top