beautypg.com

Maintaining ldp sessions, Configuring bfd for mpls ldp, Resetting ldp sessions – H3C Technologies H3C S10500 Series Switches User Manual

Page 76

background image

65

To do…

Use the command…

Remarks

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, H3C 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 is down, and as a result, MPLS forwarding fails. 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.

Follow these steps 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 “VPLS configuration.”

Resetting LDP sessions

If you change LDP session parameters when some LDP sessions are up, the LDP sessions cannot function

normally. In this case, reset LDP sessions so the LDP peers will renegotiate parameters and establish new

sessions.