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 - IP Unicast Routing

CloudEngine 12800 and 12800E V200R002C50

This document describes the configurations of IP Unicast Routing, including IP Routing, Static Route, RIP, RIPng, OSPF, OSPFv3, IPv4 IS-IS, IPv6 IS-IS, BGP, Routing Policy, and PBR.

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 OSPF GTSM

Configuring OSPF GTSM


To apply GTSM, you need to enable GTSM on both ends of an OSPF connection.

The valid TTL range of packets is [255 -hops + 1, 255].

GTSM checks the TTL values of only the packets that match the GTSM policy. For the packets that do not match the GTSM policy, you can configure the policy to pass or drop them. If the default action on such packets is set to drop, you need to configure all switch connections in the GTSM policy. If packets sent from a switch do not match the GTSM policy, they are dropped, and thereby no connection can be established. This ensures security but reduces the ease of use.

You can enable the log function to record the information about dropped packets to facilitate fault locating.


  1. Run system-view

    The system view is displayed.

  2. Run ospf valid-ttl-hops hops [ nonstandard-multicast ] [ vpn-instance vpn-instance-name ]

    OSPF GTSM is configured.


    The ospf valid-ttl-hops command has two functions:

    • Enabling OSPF GTSM

    • Configuring the valid TTL range

    The parameter vpn-instance is valid only for the latter function.

    Therefore, if only a private network policy or only a public network policy is configured, you are advised to set the default action to be performed on the packets that do not match the GTSM policy to pass. This prevents the OSPF packets of other processes from being discarded incorrectly.

  3. Run commit

    The configuration is committed.

Updated: 2019-03-21

Document ID: EDOC1000166601

Views: 273494

Downloads: 161

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next