178
Views
OSPF view
Predefined user roles
network-admin
Parameters
maximum-interval: Specifies the maximum OSPF SPF calculation interval in the range of 1 to 60 seconds.
minimum-interval: Specifies the minimum OSPF SPF calculation interval in the range of 10 to 60000
milliseconds.
incremental-interval: Specifies the incremental OSPF SPF calculation interval in the range of 10 to 60000
milliseconds.
Usage guidelines
Based on the LSDB, an OSPF router uses SPF to calculate a shortest path tree with itself as the root. OSPF
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 infrequent, OSPF performs SPF calculations at the minimum-interval. If
network changes become frequent, the SPF calculation interval is incremented by incremental-interval ×
2
n-2
(n is the number of calculation times) for each calculation 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] ospf 100
[Sysname-ospf-100] spf-schedule-interval 10 500 300
stub (OSPF area view)
Use stub to configure an area as a stub area.
Use undo stub to restore the default.
Syntax
stub [ default-route-advertise-always | no-summary ] *
undo stub
Default
No area is a stub area.
Views
OSPF area view
Predefined user roles
network-admin