At times, users may be facing slow response in communication or intermittent drop in network.
Frequent SPF Calculation in OSPF
In OSPF this may be due to SPF (Shortest Path First) recalculation occurring very frequently and hence delay in response time for applications and users. Useful command to diagnose this condition is – “Show ip ospf statistics”. This command shows when the SPF algorithm last ran and is the initial troubleshooting step for link-state advertisement (LSA) flapping.
Especially helpful is the “Reason” keyword in Output from the “show ip ospf statistics” which helps drill down onto type of LSA changes.
SPF Calculation in OSPF: Sample Configuration
Sample output for reference –
The terms under “Reason” keyword for causes of SPF execution :
N—A change in a network LSA (type 2) has occurred.
R—A change in a router LSA (type 1) has occurred.
SA—A change in a Summary autonomous system boundary router (ASBR) (SA) LSA has occurred.
SN—A change in a Summary Network (SN) LSA has occurred.
X—A change in an External Type-7 (X7) LSA has occurred.
ABOUT THE AUTHOR
I am here to share my knowledge and experience in the field of networking with the goal being – “The more you share, the more you learn.”
I am a biotechnologist by qualification and a Network Enthusiast by interest. I developed interest in networking being in the company of a passionate Network Professional, my husband.
I am a strong believer of the fact that “learning is a constant process of discovering yourself.”
– Rashmi Bhardwaj (Author/Editor)