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 the LDP GTSM

Configuring the LDP GTSM

The LDP generalized TTL security mechanism (GTSM) can be configured on LSRs at both ends of an LDP session.


The GTSM checks TTL values to verify packets and defends devices against attacks. LDP peers with the GTSM and a valid TTL range configured check TTLs in LDP packets exchanged between them. If the TTL in an LDP packet is out of the valid range, this LDP message is considered invalid and discarded. The GTSM defends against CPU-based attacks initiated using a great number of forged packets and protects upper-layer protocols.


  • Configuring the LDP GTSM
    1. Run:


      The system view is displayed.

    2. Run:

      mpls ldp

      The MPLS-LDP view is displayed.

    3. Run:

      gtsm peer ip-address valid-ttl-hops hops

      The LDP GTSM is configured.

      hops is the maximum number of valid hops permitted by the GTSM. If a TTL value carried in a received packet is in a specified range of [255 - hops + 1, 255], the packet is accepted; if the TTL value is out of the range, the packet is discarded.

    4. Run:


      The configurations are committed.

Updated: 2018-07-12

Document ID: EDOC1100028530

Views: 101619

Downloads: 336

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