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.


Configuration Guide - MPLS

S7700 and S9700 V200R011C10

This document describes MPLS configurations supported by the switch, including the principle and configuration procedures of static LSPs, MPLS LDP, MPLS TE, MPLS QoS, MPLS OAM, Seamless MPLS, and MPLS common features, and provides configuration examples.
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


To protect device from attacks, Generalized TTL Security Mechanism (GTSM) checks the TTL value of a packet to check whether the packet is valid. To check the TTL value of an LDP packet exchanged between LDP peers, enable GTSM on LDP peers and set the TTL range. If the TLL of an LDP packet is out of the TTL range, the LDP packet is considered as an invalid attack packet and discarded. This prevents the CPU from processing a large number of forged LDP packets. In this way, the upper layer protocols are protected.


  1. Run system-view

    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.

    By default, no LDP peer is configured with the GTSM.

    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.

Updated: 2019-10-18

Document ID: EDOC1000178315

Views: 122237

Downloads: 89

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