Moving from Part II OSPF Packets, we have the link-state advertisements (LSAs). Every router in an AS creates one or more link-state advertisements which, collectively, form the link-state database.
LSAs contain state information of routers and the links between routers. They are reliable, flooded throughout the area and periodically refresh before aging out of the LSDB.
Each of the LSAs have specific functions which will be described below.
Type 1 LSA – Router
Every router advertises a Type 1 Router LSA for itself. This LSA describes the states of the router’s directly attached links. The Router LSA gets flooded throughout the area which the router resides.
The Router LSA advertises the type of connections attached, such as it’s type and link ID:
Type 1
Describes: Point-to-Point
Link ID: Neighbor Router ID
Type 2
Describes: Link to transit network
Link ID: Interface address of designated router
Type 3
Describes: Link to stub network
Link ID: IP network number
Type 4
Describes: Virtual link
Link ID: Neighbor router ID
Type 2 LSA – Network
This LSA is generated for every transit broadcast or NBMA network in the area. It lists each of the attached routers that make up the transit network.
The link state ID will be the IP address of the designated router for that network.
Type 3 and 4 LSA – Summary
Type 3 Summary LSAs are generated by ABRs that contain networks owned by an area to the rest of the areas in the OSPF autonomous system. Only intra-area and inter-area routes will be advertised into other areas.
Type 4 Summary LSAs are generated if an ASBR exists in an area. This LSA identifies the ASBR and provides a route to the ASBR.
Type 5 LSA – External
This LSA is generated and flooded throughout the entire autonomous system by ASBRs of an area that describes routes to networks outside of the OSPF autonomous system.
External LSAs do not get flooded into stub areas.
Type 6 LSA – Multicast
This type is not supported on Cisco devices.
Type 7 LSA – NSSA
Generated by an NSSA, Not-so-stubby-area, ASBR. This LSA is generated because Type 5 LSAs are not allowed in NSSA areas.
Part I, Getting to Know OSPF of a series on OSPF Operation
Part II, OSPF Packets
Part III, OSPF Link-state Advertisements
Part IV, OSPF Network Types
Part V, OSPF Frame-Relay
Part VI, OSPF Route Summarization
Part VII, OSPF Stub Areas
Part VIII, OSPF Authentication
Part IX, Putting it All Together
Part X, Verification