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 Interval for the SPF Calculation

Setting the Interval for the SPF Calculation

Context

When the OSPF LSDB changes, the shortest path needs to be recalculated. If a network changes frequently and the shortest path is calculated continually, many system resources are consumed and thus system performance is degraded. By configuring an intelligent timer and setting a correct interval for the SPF calculation, you can prevent excessive system memory and bandwidth resources from being occupied.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ospf [ process-id ]

    The OSPF process view is displayed.

  3. Run spf-schedule-interval { interval1 | intelligent-timer max-interval start-interval hold-interval | millisecond interval2 }

    The interval for the SPF calculation is set.

    • The parameter interval1 specifies the interval for the SPF calculation, in milliseconds.
    • The parameter intelligent-timer indicates that the interval for the SPF calculation is set through an intelligent timer.
    • The parameter max-interval specifies the maximum interval for the SPF calculation, in milliseconds.
    • The parameter start-interval specifies the initial interval for the SPF calculation, in milliseconds.
    • The parameter hold-interval specifies the hold interval for the SPF calculation, in milliseconds.
    • The parameter millisecond interval2 specifies the interval for the SPF calculation, in milliseconds.

    By default, an intelligent timer is enabled; the maximum interval for the SPF calculation is 10000 ms, the initial interval is 500 ms, and the hold interval is 1000 ms.

    After an intelligent timer is enabled, the interval for the SPF calculation is as follows:

    1. The initial interval for the SPF calculation is specified by the parameter start-interval.

    2. The interval for the SPF calculation for the nth (n ≥ 2) time is equal to hold-interval x 2(n-2).

    3. When the interval specified by hold-interval x 2(n-2) reaches the maximum interval specified by max-interval, OSPF performs the SPF calculation at the maximum interval for three consecutive times. Then, OSPF goes back to step 3.a and performs the SPF calculation at the initial interval specified by start-interval.

Translation
Download
Updated: 2019-05-17

Document ID: EDOC1000174069

Views: 112198

Downloads: 250

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