Understanding OSPF LSA Data-Structure

Rashmi Bhardwaj | Blog,Protocol,Routing & Switching
Advertisements

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.

Advertisements

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:understanding-ospf-lsa-data-structure

 

  • 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

Advertisements

Leave a Comment

Your email address will not be published. Required fields are marked *

Shopping Cart
Select your currency
USD United States (US) dollar
Scroll to Top