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

CLI-based Configuration Guide - IP Unicast Routing

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

This document describes the concepts and configuration procedures of IP Service features on the device, and provides the 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 of which TTL values are not within 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 of which TTL values are not within 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 one 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 following command in the system view:

    gtsm default-action { drop | pass }

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

    gtsm log drop-packet all

    The log function is enabled on boards.

    The log records information that GTSM drops packets, which helps locate faults.

Translation
Download
Updated: 2019-05-20

Document ID: EDOC1100034072

Views: 110108

Downloads: 160

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