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.


CLI-based Configuration Guide - IP Unicast Routing

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R009

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

Configuring OSPFv3 GTSM


GTSM checks the time to live (TTL) values of only the packets that match a GTSM policy. You can configure the router to allow the unmatched packets to pass through the filter or to be discarded. If you configure the router to discard the unmatched packets, enable GTSM on router with which the router may communicate because the router discards all packets from GTSM-incapable router, and as a result, connections cannot be established.

In addition, you can configure the router to log discarded packets to facilitate future fault locating.


  1. Run system-view

    The system view is displayed.

  2. Run ospfv3 valid-ttl-hops valid-ttl-hops-value [ vpn-instance vpn-instance-name ]

    OSPFv3 GTSM is configured.

    GTSM must be enabled at both ends of an OSPFv3 connection.

    The ospfv3 valid-ttl-hops command enables OSPFv3 GTSM and sets a TTL value. If you specify vpn-instance in the command, the router checks the TTL values of packets only in this VPN. Therefore, if you want to apply the configured TTL value to packets only in a VPN or the public network, specify pass in the gtsm default-action command to prevent the OSPFv3 packets in other instances from being discarded incorrectly.

    The valid TTL value ranges from 255 – valid-ttl-hops-value + 1 to 255.

  3. (Optional) Run gtsm default-action { drop | pass }

    An action is configured for the router to perform on the packets that do not match the GTSM policy.

    By default, pass is executed on packets that do not match the GTSM policy.


    If an action is configured but a GTSM policy is not, GTSM does not take effect.

  4. (Optional) Run gtsm log drop-packet { slot-id all }

    The router is configured to log the packets discarded on the specified board.

Updated: 2019-05-17

Document ID: EDOC1000174069

Views: 143650

Downloads: 280

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