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

Configuring the OSPF GTSM Functions

Context

To apply GTSM functions, enable GTSM on the two ends of the OSPF connection.

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

GTSM checks the TTL value of only the packets that match the GTSM policy. For the packets that do not match the GTSM policy, you can set them as "pass" or "drop". If the GTSM default action performed on the packet is set as "drop", you need to configure all the router connections for GTSM. If the packets sent from a router do not match the GTSM policy, they are dropped. The connection thus cannot be established. This ensures security but reduces the ease of use.

You can enable the log function to record information about dropped packets. This information facilitates fault location.

Procedure

  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 functions are configured.

    NOTE:

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

    • Enabling OSPF GTSM

    • Configuring the TTL value to be detected

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

    Thus, if only the private network policy or the public network policy is configured, it is recommended to set the default action performed on the packets that do not match the GTSM policy as pass. This prevents the OSPF packets of other processes from being discarded incorrectly.

    The parameter nonstandard-multicast is specified the GTSM configuration is also valid for multicast packets.
    • When the nonstandard-multicast parameter is configured: The TTL values of the multicast packets which will be sent are set as 255.
    • The received multicast packets will be checked for the TTL value 1 or in the range of [ 255-hops+1, 255 ].

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

    The default action performed on the packets that do not match the GTSM policy is set.

    By default, the packets that do not match the GTSM policy can pass the filtering criteria.

    NOTE:

    If the default action is configured but the GTSM policy is not configured, GTSM does not take effect.

  4. (Optional) Run gtsm log drop-packet all

    The log function is enabled on the specified board in the system view. The information about the packets dropped by GTSM is recorded in the log.

Translation
Download
Updated: 2019-05-17

Document ID: EDOC1000174069

Views: 114410

Downloads: 254

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