391
[Sysname-ospfv3-1] router-id 10.1.1.3
Related commands
ospfv3
spf-schedule-interval
Use
spf-schedule-interval
to set the OSPFv3 SPF calculation interval.
Use
undo spf-schedule-interval
to restore the default.
Syntax
spf-schedule-interval
maximum-interval
[
minimum-interval
[
incremental-interval
] ]
undo spf-schedule-interval
Default
The maximum SPF calculation interval is 5 seconds, the minimum interval is 50 milliseconds, and the
incremental interval is 200 milliseconds.
Views
OSPFv3 view
Predefined user roles
network-admin
Parameters
maximum-interval
: Specifies the maximum OSPFv3 route calculation interval in the range of 1 to 60
seconds.
minimum-interval
: Specifies the minimum OSPFv3 route calculation interval in the range of 10 to 60000
milliseconds.
incremental-interval
: Specifies the incremental OSPFv3 route calculation interval in the range of 10 to
60000 milliseconds.
Usage guidelines
Based on the LSDB, an OSPFv3 router uses SPF to calculate a shortest path tree with itself being the root.
OSPFv3 uses the shortest path tree to determine the next hop to a destination. By adjusting the SPF
calculation interval, you can prevent bandwidth and router resources from being over-consumed due to
frequent topology changes.
When network changes are not frequent, OSPFv3 performs SPF calculations at the
minimum-interval.
If
network changes become frequent, the SPF calculation interval is incremented by the
incremental-interval
each time a calculation happens until the
maximum-interval
is reached.
The minimum interval and the incremental interval cannot be greater than the maximum interval.
Examples
# Configure the maximum SPF calculation interval as 10 seconds, minimum interval as 500 milliseconds
and incremental interval as 300 milliseconds.
<Sysname> system-view
[Sysname] ospfv3 100
[Sysname-ospfv3-100] spf-schedule-interval 10 500 300