1.9.1 Configuration Information:
On PE1:
#
Vsi test static
Pwsignal ldp
Vsi-id 1
Peer 111.111.111.111
#
Interface GigabitEthernet2/0/16.1
Control-vid 1 qinq-termination (This configuration is deprecated starting from V2R1 version)
Qinq termination pe-vid 15 ce-vid 16
L2 binding vsi test
#
On PE2:
#
Vsi test static
Pwsignal ldp
Vsi-id 1
Peer 90.90.90.90
#
Interface GigabitEthernet4/0/16.1
Control-vid 1 qinq-termination (This configuration is deprecated starting from V2R1 version)
Qinq termination pe-vid 17 ce-vid 18
L2 binding vsi test
#
1.9.2 Packets Entering the Tunnel:
Because the PE-VID and CE-VID configured on the CE-side egress of PE1 are 15 and 16, CE1 needs to send packets with the outer VLAN ID of 15 and the inner VLAN ID of 16 to PE1:
For a VLAN encapsulation VSI, PE1 brings the two-layer VLAN of the original packet to the peer PE2 device:
All versions handle the same.
1.9.3 Message Out of the Tunnel:When a packet comes out of a tunnel, the VLAN information in the original packet is not modified. The packet that PE2 sends to CE2 is the same as that sent by CE1:
All versions handle the same.
1.9.4 Supplementary Explanation:
When a VSI is bound to a QinQ sub-interface, the Layer 2 VLANs of the packets sent from the CE to the PE must be the same as the VLANs configured on the sub-interfaces. When a CE VLAN is configured, only the inner VLAN of the packets sent by the CE is located. VLAN segment can), the same requirements for each version. If it is a single-layer VLAN or a packet without a VLAN, it will be 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 03:44.