19
Configuration procedure
To configure LDP label filtering policies:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter MPLS LDP view
mpls ldp
—
Configure a label
acceptance control policy
accept-label peer
peer-id
ip-prefix
ip-prefix-name
Optional
Not configured by
default.
Configure a label
advertisement control
policy
advertise-label ip-prefix
ip-prefix-name
[
peer
peer-ip-prefix-name
]
Required
Not configured by
default.
NOTE:
For two neighboring LSRs, configuring a label acceptance control policy on the upstream LSR and
configuring a label advertisement control policy on the downstream LSR can achieve the same effect. To
reduce the network load, HP recommends configuring only label advertisement control policies.
Maintaining LDP sessions
This section describes how to detect communication failures between remote LDP peers and reset LDP
sessions.
Configuring BFD for MPLS LDP
MPLS itself cannot detect a neighbor failure or link failure in time. If communication between two remote
LDP peers fails, the LDP session will be down, and as a result, MPLS forwarding will fail. By cooperating
with bidirectional forwarding detection (BFD), MPLS LDP can be quickly aware of communication failures
between remote LDP peers, improving performances of existing MPLS networks.
NOTE:
•
For more information about BFD, see
High Availability Configuration Guide.
•
An LSP can be bound to only one BFD session.
To configure BFD for MPLS LDP:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter MPLS LDP remote peer
view
mpls ldp remote-peer
remote
-
peer-name
—
Enable BFD for MPLS LDP
remote-ip bfd
Required
Disabled by default
NOTE:
The cooperation of MPLS LDP and BFD can be used to detect communication failures between remote LDP
peers only. For related configuration examples, see the chapter “Configuring VPLS.”