CCNP-Studies
Routing
2-OSPF
2 Ospf Lsa Header

OSPF LSA Header

(RFC 2328 section 12.1 page 116)

FieldBitsDescription
LS Age16The LS Age field indicates the time in seconds since the LSA was generated. It is essential for assessing the freshness of LSAs and making decisions based on their age, helping routers discard outdated information.
Options8The Options field comprises 8 bits that specify various settings and capabilities. It includes features such as authentication, flooding scope, and more. Routers use these settings to negotiate and understand the OSPF behavior of neighboring routers.
LSA Type8The LSA Type is an 8-bit field that categorizes LSAs into distinct types, such as Router LSA, Network LSA, Summary LSA, and AS-external LSA. Each LSA type serves a specific role within the OSPF protocol, affecting how the LSA information is utilized and propagated.
Link-State ID32The Link-State ID is a 32-bit field that represents a unique identifier for routers or networks associated with the LSA. The format and meaning of this identifier differ based on the LSA type. For instance, in Router LSAs, it signifies the Router ID of the originating router.
Advertising Router32The Advertising Router field consists of 32 bits and contains the Router ID of the router that generated the LSA. This information is crucial for identifying the source of the LSA and determining its trustworthiness.
LS Sequence Number32The LS Sequence Number, spanning 32 bits, is employed to monitor changes within the LSA. It is incremented each time the LSA undergoes modification, enabling routers to identify the most recent version of the LSA.
LS Checksum16The LS Checksum, comprising 16 bits, functions as an error-checking mechanism for the LSA header. It contains a checksum value computed over the header, which assists routers in detecting header corruption or errors that may have occurred during transmission.
Length16The Length field, occupying 16 bits, indicates the overall length of the LSA, encompassing both the header and its content. Routers use this field to locate the end of the LSA, ensuring complete processing without truncation.