70
To configure a DSCP value for outgoing LDP packets:
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter MPLS LDP view.
mpls ldp N/A
3. Configure a DSCP value for
outgoing LDP packets.
dscp dscp-value
By default, the DSCP value for
outgoing LDP packets is 48.
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 bidirectional forwarding detection (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." F
or more information
about BFD, see High Availability Configuration Guide.
To configure BFD for MPLS LDP:
Ste
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
normally. In this case, reset LDP sessions so the LDP peers will renegotiate parameters and establish new
sessions.
To reset LDP sessions, perform the following task in user view:
Task Command
Reset LDP sessions.
reset mpls ldp [ all | [ vpn-instance vpn-instance-name ] [ fec mask |
peer peer-id ] ]
Managing and optimizing MPLS forwarding
Perform the tasks in this section to manage and optimize MPLS forwarding for higher performance.