No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


NE40E V800R010C00 Configuration Guide - MPLS 01

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring LDP Session Protection

Configuring LDP Session Protection

LDP session protection enables a device to start the extended LDP discovery mechanism to continue to maintain an LDP session established with an LDP peer if the basic LDP discovery mechanism fails. After the basic LDP discovery mechanism recovers, the LDP protocol can rapidly converge.

Usage Scenario

If the direct link of a local LDP session between two devices fails, an LDP adjacency for the LDP session is torn down. The LDP session and related labels are also deleted. After the direct link recovers, the LDP session can be reestablished and distribute labels so that an LDP LSP over the session can converge. During this process, LDP LSP traffic is dropped.

To speed up LDP LSP convergence and minimize traffic loss, LDP session protection can be used. With LDP session protection, in the same scenario, the LDP session does not need to be reestablished, and labels do not need to be re-distributed.

Pre-configuration Tasks

Before configuring LDP session protection, configure a local LDP session.


  1. Run:


    The system view is displayed.

  2. Run:

    mpls ldp

    The MPLS-LDP view is displayed.

  3. Run:

    session protection [ peer-group peer-group-name ] [ duration { infinite | time-value } ]

    LDP session protection is configured.

    The parameter description is as follows.

    Parameter Description Value
    peer-group peer-group-name Name of an LDP peer group. The parameter is specified using the ip ip-prefix command. The name is a string of 1 to 169 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
    duration Period of time, during which LDP session protection remains effective. -
    infinite LDP session protection remains effective permanently. -
    time-value Period of time, during which LDP session protection remains effective. The value is an integer ranging from 30 to 2147483, in seconds.

  4. Run:


    The configuration is committed.

Checking the Configurations

After completing the configurations, run the display mpls ldp remote-peer command in any view to view the LDP session protection configuration and the function status. The command output shows that this function takes effect.

                         LDP Remote Entity Information
 Remote Peer Name  : rtc

 Remote Peer IP    :              LDP ID        :
 Transport Address :              Entity Status : Active

 Configured Keepalive Hold Timer : 45 Sec
 Configured Keepalive Send Timer : 15 Sec
 Configured Hello Hold Timer     : 45 Sec
 Negotiated Hello Hold Timer     : 45 Sec
 Configured Hello Send Timer     : 15 Sec
 Configured Delay Timer          : 10 Sec
 Hello Packet sent/received      : 6347/6307
 Label Advertisement Mode        : Downstream Unsolicited
 Auto-config                     : Session-Protect
 Session-Protect effect          : YES
 Session-Protect Duration        : infinite
 Session-Protect Remain          : ----
 TOTAL: 1 Remote-Peer(s) Found.
Updated: 2018-07-12

Document ID: EDOC1100028530

Views: 101596

Downloads: 336

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Previous Next