The configuration details are not mentioned here.
After the configuration, run the display ip routing-table command on PE1, P, and PE2. You
can view the routes learned by PE1, P, and PE2 from each other.
Step 4 Configure basic MPLS functions and LDP.
The configuration procedure is not mentioned.
After the configuration, run the display mpls ldp session command on PE1, P and PE2. You
can see that the peer relationship is set up between PE1 and P, and between P and PE2. The
status of the peer relationship is Operational. Run the display mpls lsp command, and you can
see the status of the LSP.
Step 5 Create remote LDP sessions between PEs.
# Configure PE1.
[PE1] mpls ldp remote-peer 3.3.3.9
[PE1-mpls-ldp-remote-3.3.3.9] remote-ip 3.3.3.9
[PE1-mpls-ldp-remote-3.3.3.9] quit
# Configure PE2.
[PE2] mpls ldp remote-peer 1.1.1.9
[PE2-mpls-ldp-remote-1.1.1.9] remote-ip 1.1.1.9
[PE2-mpls-ldp-remote-1.1.1.9] quit
After the configuration, run the display mpls ldp session command on PE1 or PE2, and you
can find that the status of the peer relationship between PE1 and PE2 is Operational. That is, the
peer relationship is set up.
Step 6 Enable MPLS L2VPN on PEs.
# Configure PE1.
[PE1] mpls l2vpn
# Configure PE2.
[PE2] mpls l2vpn
Step 7 Configure VSIs on PEs.
# Configure PE1.
[PE1] vsi a2 static
[PE1-vsi-a2] pwsignal ldp
[PE1-vsi-a2-ldp] vsi-id 2
[PE1-vsi-a2-ldp] peer 3.3.3.9
# Configure PE2.
[PE2] vsi a2 static
[PE2-vsi-a2] pwsignal ldp
[PE2-vsi-a2-ldp] vsi-id 2
[PE2-vsi-a2-ldp] peer 1.1.1.9
Step 8 Bind VSIs to interfaces on PEs.
# Configure PE1.
[PE1] interface gigabitethernet 1/0/0.1
[PE1-GigabitEthernet1/0/0.1] qinq mapping pe-vid 100 ce-vid 10 map-vlan vid 200
[PE1-GigabitEthernet1/0/0.1] l2 binding vsi a2
[PE1-GigabitEthernet1/0/0.1] quit
Quidway S7700 Smart Routing Switch
Configuration Guide - Ethernet 5 QinQ Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
289