A Quick Guide to Most Common OSPF LSA Types and Area Behavior

When working with OSPF (Open Shortest Path First) routing, it’s crucial to understand the different LSA (Link-State Advertisement) types and how they interact within various OSPF areas. This guide focuses on LSA Types 1, 2, 3, 5, and 7, detailing their purpose, generation, and behavior across different OSPF areas.

OSPF Area Types: Allowed LSAs and Default Route Behavior

Different OSPF areas control which LSAs are allowed and how default routes are managed. Here’s a breakdown of how these areas handle LSAs and default routing:

Area TypeDescriptionAllowed LSAsDefault Route
NormalSupports all LSA types, including external routes (Type 5).1, 2, 3, 5O*E2/O*E1 for external routes, O*IA for inter-area routes.
StubNo external routes (Type 5); default route injected automatically.1, 2, 3O*IA automatically generated via LSA-3.
Totally StubbyCisco-specific; no LSA-3 and LSA-5, default route only.1, 2O*IA automatically generated via LSA-3.
NSSAAllows external routes via Type 7; no Type 5 LSAs allowed.1, 2, 3, 7O*N1/O*N2 manually configured via LSA-7.
Totally NSSACisco-specific; blocks LSA-3 and LSA-5, allows LSA-7 for external routes.1, 2, 7O*IA automatically generated via LSA-3.

OSPF LSA Types: Their Function and Scope

OSPF LSAs distribute routing information throughout the network. The table below explains the purpose and scope of each LSA type relevant to OSPF areas.

LSA TypeNameGenerated ByScopePurposeCodeArea Type
Type 1Router LSAEvery router in an OSPF areaLocal AreaAdvertises router’s directly connected links and costs.OAll Areas (Normal, Stub, NSSA, etc.)
Type 2Network LSADesignated Router (DR) in multi-access networksLocal AreaDescribes routers connected to a multi-access network.ONormal Areas, Stub
Type 3Summary LSAArea Border Router (ABR)Inter-areaSummarizes routes from one area into another.O IANormal, Stub, Totally Stubby Areas
Type 5External LSAAutonomous System Boundary Router (ASBR)Entire OSPF DomainAdvertises external routes to the entire OSPF network.O E1 (internal + external); O E2 (external only)Normal Areas
Type 7NSSA External LSAASBR in NSSA areaWithin NSSA (converted to Type 5 by ABR)Advertises external routes in NSSA, similar to Type 5.O N1 (internal + external); O N2 (external only)NSSA, Totally NSSA

Key Takeaways

  1. LSA Types in OSPF: LSAs communicate routing information across OSPF areas. Type 1 and 2 are confined to local areas, while Type 3 propagates between areas, and Type 5 handles external routes.
  2. Default Routes: In Stub, Totally Stubby, and Totally NSSA areas, default routes are automatically injected, simplifying routing. In NSSA areas, Type 7 LSAs introduce external routes that are converted by ABRs.
  3. Area-Specific LSA Restrictions: Stub areas block Type 5 LSAs, while Totally Stubby and Totally NSSA areas further restrict LSA propagation, limiting it to default routes for external traffic.

By understanding the role of LSAs and their behavior across OSPF areas, network engineers can design more efficient and scalable OSPF networks.

Share this post with your friends!

Leave a comment

Don’t miss Out!