86
Specifying SPF calculation interval
LSDB changes lead to SPF calculations. When the topology changes frequently, a large amount of
network and router resources are occupied by SPF calculation. Adjust the SPF calculation interval to
reduce the impact.
When network changes are not frequent, the
minimum-interval
is adopted. If network changes become
frequent, the SPF calculation interval is incremented by
incremental-interval
× 2n-2 (n is the number of
calculation times) each time a calculation occurs until the
maximum-interval
is reached.
To configure SPF calculation interval:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter OSPF view.
ospf
[
process-id
|
router-id
router-id
|
vpn-instance
vpn-instance-name
] *
N/A
3.
Specify the SPF
calculation interval.
spf-schedule-interval
maximum-interval
[
minimum-interval
[
incremental-interval
] ]
Optional.
By default, the interval is 5
seconds.
Specifying the LSA arrival interval
After receiving the same LSA as the previously received LSA within the LSA arrival interval, OSPF discards
the LSA.
To configure the LSA arrival interval:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter OSPF view.
ospf
[
process-id
|
router-id
router-id
|
vpn-instance
vpn-instance-name
] *
N/A
3.
Configure the LSA arrival
interval.
lsa-arrival-interval
interval
Optional.
1000 milliseconds by default.
Make sure this interval is
smaller than or equal to the
interval set with the
lsa-generation-interva
l
command.
Specifying the LSA generation interval
You can adjust the LSA generation interval to protect network resources and routers from being over
consumed by frequent network changes.
When network changes are not frequent, LSAs are generated at the
minimum-interval
. If network
changes become frequent, the LSA generation interval is incremented by
incremental-interval
× 2
n-2
(n is
the number of generation times) each time a LSA generation occurs until the
maximum-interval
is
reached.
To configure the LSA generation interval: