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

S7700 and S9700 V200R013C00

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, IP Routing Table Management, 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 BGP GTSM

Configuring BGP GTSM


To protect a device against the attacks of forged BGP packets, you can configure GTSM to check whether the TTL value in the IP packet header is within the specified range. GTSM allows or discards packets with TTL values outside of the specified range according to networking requirements. When the default action to be taken on packets is set to drop in GTSM, set a proper TTL range according to the network topology. Then packets with TTL values outside of the specified range are discarded. This prevents attackers from sending forged BGP packets to consume CPU resources.


  1. Run system-view

    The system view is displayed.

  2. Run bgp { as-number-plain | as-number-dot }

    The BGP view is displayed.


    The configurations of GTSM and peer ebgp-max-hop affect the TTL values of BGP packets, which may cause a conflict between TTL values. Therefore, you can configure only either of the two functions for a peer or peer group.

  3. Run peer { group-name | ipv4-address | ipv6-address } valid-ttl-hops [ hops ]

    BGP GTSM is configured.

    By default, GTSM is not configured on any BGP peer or peer group.

  4. (Optional) Run the gtsm default-action { drop | pass } command in the system view:

    The default action to be taken on the packets that do not match a GTSM policy is set.

    By default, the action to be taken on the packets that do not match the GTSM policy is pass.

  5. (Optional) Run the gtsm log drop-packet all command in the system view:

    The log function is enabled on boards.

    The log records information regarding GTSM packet drops, which helps locate faults.

Updated: 2019-04-08

Document ID: EDOC1100065744

Views: 67583

Downloads: 52

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