Thursday, June 26, 2014

Improve OSPF Convergence Time

Background Information

  1. OSPF relies on a number of timers to control its convergence process.
  2. Sometimes, timers can make things more stable.
    1. Low dead-interval on an unstable link will result in flapping adjacencies, which will flood LSAs, and in turn, causes continuous SPF runs.
    2. Low lsa throttle timers and lsa arrival timers with flapping links in the network will cause floods of LSAs, which will in turn, cause continuous SPF runs.
    3. Low spf throttle timers with an unstable network will continuously run SPF if it continuously receives LSA updates.
  3. Other times, they can be the limiting factor that is slowing down convergence.

Summary

  1. Change hello-interval and dead-interval to improve dead neighbor detection.
    1. ip ospf dead-interval minimal hello-multiplier for sub-second detection.
  2. timers throttle lsa all controls the timing of sending LSAs after a change is detect.
  3. timers lsa arrival controls the timing of accepting LSAs that are received.
  4. timers throttle spf to change the timing of running SPF after a change has been detected in LSDB.