Step
2.
Enter MPLS LDP
view.
3.
Configure a label
acceptance policy.
4.
Configure a label
advertisement policy.
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
1.
Enter system view.
2.
Enter MPLS LDP remote
peer view.
3.
Enable BFD for MPLS
LDP.
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
Reset LDP sessions.
Managing and optimizing MPLS forwarding
Perform the tasks in this section to manage and optimize MPLS forwarding for higher performance.
Command
mpls ldp
accept-label peer peer-id ip-prefix
ip-prefix-name
advertise-label ip-prefix ip-prefix-name [ peer
peer-ip-prefix-name ]
Command
system-view
mpls ldp remote-peer
remote-peer-name
remote-ip bfd
Command
reset mpls ldp [ all |
[ vpn-instance
vpn-instance-name ] [ fec mask |
peer peer-id ] ]
18
Remarks
N/A
Optional.
Not configured by
default.
Not configured by
default.
Remarks
N/A
N/A
By default, BFD is disabled for
MPLS LDP.
One LSP can have only one
BFD session.
Remarks
Available in user view.