1.1 Configuration Information:
On PE1:
#
Interface Vlanif16
Mpls l2vc 111.111.111.111 90
#
On PE2:
#
Interface Vlanif18
Mpls l2vc 90.90.90.90 90
#
1.2 Packets Entering the Tunnel:
Sends a packet with VLAN 16 from CE1:
When the tunnel is added to the tunnel, the packets in the original packet are forwarded to the peer PE2. The packets received on the peer PE2 are as follows:
If the packet sent by CE1 carries two layers of tags, the VLAN information in the packet will not be modified and the MPLS information will be directly encapsulated.
1.3 Packets Out of Tunnel:
After receiving the MPLS packet, the PW2 needs to decapsulate the packet and replace the VLAN 16 in the original packet with the VLAN corresponding to the VLANIF of the L2VC. The other content is consistent with the original packet:
If the packet sent by CE1 carries two layers of tags, PE2 modifies the outer VLAN ID of the packet to the VLAN corresponding to the VLANIF of the L2VC. The other content is the same as the original packet.
1.4 Supplementary notes:
The versions are implemented consistently.
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