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

Command Reference

CloudEngine 8800, 7800, 6800, and 5800 V200R002C50

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
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).
spf-schedule-interval (OSPFv3)

spf-schedule-interval (OSPFv3)

Function

The spf-schedule-interval command sets the interval for OSPFv3 to calculate routes by an intelligent SPF timer.

The undo spf-schedule-interval command restores the default setting.

By default, the intelligent timer is enabled. The interval for the SPF calculation is expressed in milliseconds. The maximum interval for the SPF calculation is 10000 ms, the initial interval is 500 ms, and the Holdtime interval is 2000 ms.

Format

spf-schedule-interval { delay-interval hold-interval | intelligent-timer max-interval start-interval hold-interval-1 }

undo spf-schedule-interval

Parameters

Parameter Description Value
delay-interval Specifies the delay from the time when OSPFv3 receives a route change to the time when the SPF calculation is performed. The value is an integer ranging from 0 to 65535, in seconds. The default value is 5.
hold-interval Specifies the hold interval between two consecutive SPF calculations. The value is an integer ranging from 0 to 65535, in seconds. The default value is 10.
intelligent-timer Specifies the SPF calculation interval set through an intelligent timer. -
max-interval Specifies the maximum interval for performing the SPF calculation. The value is an integer ranging from 1 to 120000, in milliseconds. The default value is 10000.
start-interval Specifies the initial interval for performing the OSPFv3 SPF calculation. The value is an integer ranging from 1 to 60000, in milliseconds. The default value is 500.
hold-interval-1 Specifies the hold interval for performing the OSPFv3 SPF calculation. The value is an integer ranging from 1 to 60000, in milliseconds. The default value is 2000.

Views

OSPFv3 view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Based on the LSDB, the router that runs OSPFv3 calculates the SPT with itself as the root based on the SPF arithmetic, and determines the next hop to the destination network according to the SPT. When the OSPFv3 LSDB changes, the shortest path needs to be recalculated. Frequent network changes and continual calculation of the shortest path consume many system resources and affect the efficiency of the routers. You can configure an intelligent timer and set a proper interval for the SPF calculation to prevent excessive router memory and bandwidth resources from being consumed.

In a networking environment, in which the convergence time of routes is required to be shorter, you can set millisecond as the unit of interval to increase the frequency of calculating routes. Route convergence therefore speeds up. In other networking environments, the default value is recommended.

Configuration Impact

After this command is configured, the interval for the OSPFv3 SPF calculation is as follows:

  1. The initial interval for the SPF calculation is specified in start-interval.
  2. The interval for the SPF calculation for the nth (n≥2) time is equal to hold-interval × 2(n-2).
  3. When the interval specified in hold-interval × 2(n-2) reaches the maximum interval specified in max-interval, OSPFv3 performs the SPF calculation at the maximum interval until no SPF calculation is performed within max-interval. After the maximum interval elapses, the calculation mechanism goes back to step 1.
  4. If no flapping occurs within the interval of max-interval that starts upon the end of the previous SPF calculation, the intelligent timer exits.

  5. If no flapping occurs in the previous interval and flapping occurs in the current interval, SPF calculation is delayed for a period of the start-interval. After the SPF calculation is complete, the current interval is used for the next SPF calculation.

Example

# Set the interval at which OSPFv3 route calculation is performed to 5s and the hold interval at which OSPFv3 route calculation is performed to 6s.

<HUAWEI> system-view
[~HUAWEI] ospfv3 1
[*HUAWEI-ospfv3-1] spf-schedule-interval 5 6

# Set the maximum interval for performing the SPF calculation to 10000 ms, the initial interval to 700 ms, and the hold interval to 4000 ms.

<HUAWEI> system-view
[~HUAWEI] ospfv3 1
[*HUAWEI-ospfv3-1] spf-schedule-interval intelligent-timer 10000 700 4000
Translation
Download
Updated: 2019-03-21

Document ID: EDOC1000166501

Views: 51178

Downloads: 337

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