Setting an Interval at Which LSAs Are Received
Context
OSPF stipulates that LSAs are received at an interval of 1s with an aim to prevent network connections or frequent route flapping from consuming excessive network bandwidth or device resources.
On a stable network where routes need to be fast converged, set the interval at which LSAs are received to 0 seconds. Changes to the topology or the routes are then immediately advertised on the network through LSAs, thereby speeding up route convergence.
Procedure
- Run system-view
The system view is displayed.
- Run ospf [ process-id ]
The OSPF process view is displayed.
- Run lsa-arrival-interval { interval | intelligent-timer max-interval start-interval hold-interval }
The interval for receiving LSAs is set.
- The parameter interval specifies the interval at which LSAs are received, in milliseconds.
- The parameter intelligent-timer indicates that an interval at which router LSAs and network LSAs are received is set through an intelligent timer.
- The parameter max-interval specifies the maximum interval at which LSAs are received, in milliseconds.
- The parameter start-interval specifies the initial interval at which LSAs are received, in milliseconds.
- The parameter hold-interval specifies the hold interval at which LSAs are received, in milliseconds.
By default, an intelligent timer is enabled. After an intelligent timer is enabled, the default maximum interval for receiving LSAs is 1000 ms, the default initial interval is 500 ms, and the default hold interval is 500 ms. Details about the interval for receiving LSAs are as follows:- The initial interval for receiving LSAs is specified by the parameter start-interval.
- The interval for receiving LSAs for the nth (n ≥ 2) time is equal to hold-interval x 2(n-2).
- When the interval specified by hold-interval x 2(n-2) reaches the maximum interval specified by max-interval, OSPF receives LSAs at the maximum interval for three consecutive times. Then, OSPF repeats step 3.a and receives LSAs at the initial interval specified by start-interval.