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

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuration Guide - IP Unicast Routing

S1720, S2700, S5700, and S6720 V200R011C10

This document describes IP Unicast Routing configurations supported by the switch, including the principle and configuration procedures of IP Routing Overview, Static Route, RIP, RIPng, OSPF, OSPFv3, IS-IS(IPv4), IS-IS(IPv6), BGP, Routing Policy ,and PBR, 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 BGP GTSM

Configuring BGP GTSM

Context

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.

Procedure

  1. Run system-view

    The system view is displayed.

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

    The BGP view is displayed.

    NOTE:

    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 allcommand in the system view:

    The log function is enabled on boards.

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

Translation
Download
Updated: 2019-10-21

Document ID: EDOC1000178171

Views: 313769

Downloads: 1107

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