
18
Step Command
Remarks
2.
Enter MPLS LDP
view.
mpls ldp
N/A
3.
Configure a label
acceptance policy.
accept-label peer
peer-id
ip-prefix
ip-prefix-name
Optional.
Not configured by
default.
4.
Configure a label
advertisement policy.
advertise-label ip-prefix
ip-prefix-name
[
peer
peer-ip-prefix-name
]
Not configured by
default.
Maintaining LDP sessions
This section describes how to detect communication failures between remote LDP peers and reset
LDP sessions.
Configuring BFD for MPLS LDP
Use BFD to help MPLS promptly detect a neighbor failure or link failure between two remote LDP
peers. BFD can help MPLS LDP detect communication failures only between remote LDP peers. For
configuration examples, see "Configuring VPLS." For more information about BFD, see
High
Availability Configuration Guide
.
To configure BFD for MPLS LDP:
Step Command Remarks
1.
Enter system view.
system-view
N/A
2.
Enter MPLS LDP remote
peer view.
mpls ldp remote-peer
remote
-
peer-name
N/A
3.
Enable BFD for MPLS
LDP.
remote-ip bfd
By default, BFD is disabled for
MPLS LDP.
One LSP can have only one
BFD session.
Resetting LDP sessions
If you change LDP session parameters when some LDP sessions are up, the LDP sessions cannot
function correctly. In this case, reset LDP sessions so the LDP peers will renegotiate parameters and
establish new sessions.
To reset LDP sessions:
Task Command
Remarks
Reset LDP sessions.
reset mpls ldp
[
all
|
[
vpn-instance
vpn-instance-name
] [
fec
mask
|
peer
peer-id
] ]
Available in user view.
Managing and optimizing MPLS forwarding
Perform the tasks in this section to manage and optimize MPLS forwarding for higher performance.