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

S7700 and S9700 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).
Displaying and Maintaining the Routing Management Module

Displaying and Maintaining the Routing Management Module

Context

The number of route prefixes that can be added to an IP routing table is limited. If the value exceeds the limit, new prefixes cannot be added to the IP routing table, which may interrupt services. To address this problem, configure an alarm threshold for the number of route prefixes.

If the device imports a large number of routes, system performance may be affected when services are being processed because the routes consume a lot of system resources. To improve system reliability, configure a limit on the number of public route prefixes. When the number of public route prefixes exceeds the limit, an alarm is generated, prompting you to check validity of public route prefixes.

Procedure

  • Run the display rm interface [ interface-type interface-number ] command to check IPv4 routing management (RM) information on the specified interface.
  • Run the display rm ipv6 interface [ interface-type interface-number ] command to check IPv6 RM information on the specified interface.
  • Maintain the RM module.

    Configure the alarm threshold and clear alarm threshold for the number of route prefixes on a device.

    1. Run system-view

      The system view is displayed.

    2. Run either of the following commands as required:
      • Run ip prefix-limit system threshold-alarm upper-limit upper-limit-value lower-limit lower-limit-value

        The alarm threshold and clear alarm threshold are configured for the number of IPv4 route prefixes on the device.

        By default, the alarm threshold for IPv4 route prefixes is 80%, and the clear alarm threshold for IPv4 route prefixes is 70%.

      • Run ipv6 prefix-limit system threshold-alarm upper-limit upper-limit-value lower-limit lower-limit-value

        The alarm threshold and clear alarm threshold are configured for the number of IPv6 route prefixes on the device.

        By default, the alarm threshold for IPv6 route prefixes is 80%, and the clear alarm threshold for IPv6 route prefixes is 70%.

      NOTE:
      When setting upper-limit-value and lower-limit-value, consider the following recommendations:
      • Set a value less than or equal to 95 for upper-limit-value.
      • Set lower-limit-value to a value at least 10 less than upper-limit-value to prevent alarms from being frequently generated and cleared due to route flapping.

    Configure a limit on the number of public route prefixes.

    1. Run system-view

      The system view is displayed.

    2. Run either of the following commands as required:
      • Run ip prefix-limit number { alert-percent [ route-unchanged ] | simply-alert }

        A limit on the number of IPv4 public route prefixes is configured.

        By default, the maximum number of IPv4 public route prefixes is not limited.

      • Run ipv6 prefix-limit number { alert-percent [ route-unchanged ] | simply-alert }

        A limit on the number of IPv6 public route prefixes is configured.

        By default, the maximum number of IPv6 public route prefixes is not limited.

      alert-percent specifies the percentage of the maximum number of supported public route prefixes. If you specify alert-percent in the command, an alarm is generated when the number of public route prefixes exceeds the value calculated by the following formula:

      (number x alert-percent)/100

      New public route prefixes can still be added to the IP routing table until the number of public route prefixes reaches the value of number. Subsequent route prefixes will then be discarded.

      If you specify simply-alert in the command, new public route prefixes can still be added to the IP routing table and only an alarm is generated after the number of public route prefixes exceeds the value of number. However, when the total number of private and public route prefixes reaches the limit on the number of unicast route prefixes specified in the PAF file, subsequent public route prefixes will be discarded.

      If you decrease the value of alert-percent after the number of public route prefixes exceeds the value of number, whether the IP routing table remains unchanged depends on whether route-unchanged is specified in the command:
      • If it is specified, the IP routing table remains unchanged.

      • If it is not specified, the system deletes all the routes from the IP routing table and re-adds routes to the IP routing table.

      NOTE:
      After the number of public route prefixes exceeds the limit, note the following rules:
      • If you run the ip prefix-limit command to increase the value of number or run the undo ip prefix-limit command to remove the limit, the device relearns IPv4 public route prefixes.
      • If you run the ipv6 prefix-limit command to increase the value of number or run the undo ipv6 prefix-limit command to remove the limit, the device relearns IPv6 public route prefixes.
      • Direct and static routes can still be added to the IP routing table.
    3. (Optional) Run ip prefix-limit log-interval interval

      An interval at which the system generates logs after the number of public route prefixes exceeds the limit is configured.

      By default, the system generates logs at an interval of 5s after the number of public route prefixes exceeds the limit.

      You can set a longer interval to decrease the frequency at which the system generates logs.

Translation
Download
Updated: 2019-04-01

Document ID: EDOC1000178324

Views: 206510

Downloads: 178

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