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).
Setting the SPF Calculation Interval

Setting the SPF Calculation Interval

Context

A network change always triggers IS-IS to perform SPF calculation. Frequent SPF calculation will consume excessive CPU resources, affecting services.

To solve this problem, configure an intelligent timer to control the interval for SPF calculation. For example, to speed up IS-IS route convergence, set the interval for SPF calculation to a small value and set the interval to a large value after the IS-IS network becomes stable.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run isis [ process-id ]

    The IS-IS view is displayed.

  3. Run timer spf max-interval [ init-interval [ incr-interval ] ]

    The SPF intelligent timer is configured.

    By default, no SPF intelligent timer is configured and the maximum delay in SPF calculation is 5 seconds.

    The intelligent timer changes as follows:
    • The delay in the first SPF calculation is determined by init-interval; the delay in the second SPF calculation is determined by incr-interval. From the third time on, the delay in SPF calculation increases twice every time until the delay reaches the value specified by max-interval. After the delay remains at the value specified by max-interval for three times or the IS-IS process is restarted, the delay decreases to the value specified by init-interval.

    • If incr-interval is not specified, the delay in SPF calculation for the first time is determined by init-interval. From the second time on, the delay in SPF calculation is determined by max-interval. After the delay remains at the value specified by max-interval for three times or the IS-IS process is restarted, the delay decreases to the value specified by init-interval.

    • When only max-interval is specified, the intelligent timer functions as an ordinary one-time triggering timer.

  4. Run suppress-flapping route-calculate timer delay-interval

    A period is specified for the device to delay route calculation when the device receives an LSP during route flapping.

    By default, if the device receives an LSP during route flapping, it delays route calculation for 10s.

  5. Run timer purge-zero-lsp route-calculate-delay delay-interval

    A period is specified for the device to delay route calculation when the device receives a purge LSP.

    By default, if the device receives a purge LSP, it delays route calculation for 10s.

  6. (Optional) Run spf-slice-size duration-time

    The maximum duration for SPF calculation is configured.

    By default, IS-IS route calculation lasts for a maximum of 2 ms at a time.

Translation
Download
Updated: 2019-05-17

Document ID: EDOC1000174069

Views: 111596

Downloads: 250

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