OSPF LSA (Link State Advertisement)
Each OSPF LSA has its own aging timer that its link state age field carries.
Default of 30 minutes expressed in seconds i.e. 1800 seconds is the Link State Age. What this means is that router that originated the LSA resends the LSA now with a higher sequence number in a Link State update to verify the link is still active.
LSA also has a max age timer field with default value of 60 minutes. If a LSA isn’t before this period the Max age timer will expire and the LSA would be discarded in that case.
A link state update can contain more than one LSA. LSA validation method saves on bandwidth compared to distance vector method which sends the entire routing table at short periodic intervals.
ODPF LSA Data Structure
Let us understand what a router does when it receives an LSU (Link State Update) using the below flowchart:
- If the LSA entry doesn’t exist the router adds the entry to LSDB, acknowledges the receipt of LSA with LSAck, floods the new information to other routers, runs SPF and updates its routing table.
- If the entry already exists with the same sequence number the router must ignore the LSA.
- If the LSA already exists but contains newer information i.e. it has higher sequence number the router adds the entry to LSDB, acknowledges the receipt of LSA with LSAck, floods the new information to other routers, runs SPF and updates its routing table.
- If the entry already exists but the LSA includes older information it sends an LSU to sender with its newer information.
Continue Reading:
OSPF LSA Types The Ultimate Guide
OSPF Area Types: Detailed Explanation
Are you preparing for your next interview?
Please check our e-store for e-book on OSPF Interview Q&A. All the e-books are in easy to understand PDF Format, explained with relevant Diagrams (where required) for better ease of understanding.
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)