![Huawei Quidway NetEngine40E Configuration Manual - Reliability Download Page 598](http://html.mh-extra.com/html/huawei/quidway-netengine40e/quidway-netengine40e_configuration-manual-reliability_169453598.webp)
[PE3-GigabitEthernet1/0/0]
mpls
[PE3-GigabitEthernet1/0/0]
mpls ldp
[PE3-GigabitEthernet1/0/0]
quit
[PE3]
interface gigabitethernet 1/0/1
[PE3-GigabitEthernet1/0/1]
mpls
[PE3-GigabitEthernet1/0/1]
mpls ldp
[PE3-GigabitEthernet1/0/1]
quit
After the preceding configurations, LDP sessions can be set up between PEs. Run the
display
mpls ldp session
command. You can view that the
Status
field is
Operational
in the command
output.
Take the display on PE1 as an example.
<PE1>
display mpls ldp session
LDP Session(s) in Public Network
Codes: LAM(Label Advertisement Mode), SsnAge Unit(DDDD:HH:MM)
A '*' before a session means the session is being deleted.
------------------------------------------------------------------------------
PeerID Status LAM SsnRole SsnAge KASent/Rcv
------------------------------------------------------------------------------
2.2.2.2:0 Operational DU Passive 0000:00:09 37/37
3.3.3.3:0 Operational DU Passive 0000:00:03 13/13
------------------------------------------------------------------------------
TOTAL: 2 session(s) Found.
NOTE
If two PEs are not directly connected, you can run the
mpls ldp remote-peer
command and the
remote-
ip
command to set upa a remote LDP session between the PEs.
Step 4
Enable MPLS L2VPN on each PE.
# Configure PE1.
[PE1]
mpls l2vpn
# Configure PE2.
[PE2]
mpls l2vpn
# Configure PE3.
[PE3]
mpls l2vpn
Step 5
Create a VSI and specify LDP as signaling.
# Configure PE1.
[PE1]
vsi ldp1 static
[PE1-vsi-ldp1]
pwsignal ldp
[PE1-vsi-ldp1-ldp]
vsi-id 2
[PE1-vsi-ldp1-ldp]
peer 2.2.2.2
[PE1-vsi-ldp1-ldp]
peer 3.3.3.3
# Configure PE2.
[PE2]
vsi ldp1 static
[PE2-vsi-ldp1]
pwsignal ldp
[PE2-vsi-ldp1-ldp]
vsi-id 2
[PE2-vsi-ldp1-ldp]
peer 1.1.1.1
[PE2-vsi-ldp1-ldp]
peer 3.3.3.3
# Configure PE3.
[PE3]
vsi ldp1 static
[PE3-vsi-ldp1]
pwsignal ldp
[PE3-vsi-ldp1-ldp]
vsi-id 2
HUAWEI NetEngine80E/40E Router
Configuration Guide - Reliability
8 Ethernet OAM Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
581