HP VPN Firewall Appliances Network Management Command Reference

371
spf-schedule-interval
Use spf-schedule-interval to set the OSPF 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 interval defaults to 5 seconds.
Views
OSPF view
Default command level
2: System level
Parameters
maximum-interval: Specifies the maximum OSPF route calculation interval in seconds, in the range of 1
to 60.
minimum-interval: Specifies the minimum OSPF route calculation interval in milliseconds, in the range of
10 to 60000, which defaults to 0.
incremental-interval: Specifies the incremental value in milliseconds, in the range of 10 to 60000. The
default is 5000.
Usage guidelines
Based on the LSDB, an OSPF router uses SPF to calculate a shortest path tree with itself being 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 not frequent, OSPF 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.
Examples
# Configure the maximum SPF calculation interval as 10 seconds, minimum interval as 500 milliseconds
and incremental interval as 200 milliseconds.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] spf-schedule-interval 10 500 200
stub (OSPF area view)
Use stub to configure an area as a stub area.
Use undo stub to remove the configuration.
Syntax
stub [ default-route-advertise-always | no-summary ] *