
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 Type | Description | Allowed LSAs | Default Route |
|---|---|---|---|
| Normal | Supports all LSA types, including external routes (Type 5). | 1, 2, 3, 5 | O*E2/O*E1 for external routes, O*IA for inter-area routes. |
| Stub | No external routes (Type 5); default route injected automatically. | 1, 2, 3 | O*IA automatically generated via LSA-3. |
| Totally Stubby | Cisco-specific; no LSA-3 and LSA-5, default route only. | 1, 2 | O*IA automatically generated via LSA-3. |
| NSSA | Allows external routes via Type 7; no Type 5 LSAs allowed. | 1, 2, 3, 7 | O*N1/O*N2 manually configured via LSA-7. |
| Totally NSSA | Cisco-specific; blocks LSA-3 and LSA-5, allows LSA-7 for external routes. | 1, 2, 7 | O*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 Type | Name | Generated By | Scope | Purpose | Code | Area Type |
|---|---|---|---|---|---|---|
| Type 1 | Router LSA | Every router in an OSPF area | Local Area | Advertises router’s directly connected links and costs. | O | All Areas (Normal, Stub, NSSA, etc.) |
| Type 2 | Network LSA | Designated Router (DR) in multi-access networks | Local Area | Describes routers connected to a multi-access network. | O | Normal Areas, Stub |
| Type 3 | Summary LSA | Area Border Router (ABR) | Inter-area | Summarizes routes from one area into another. | O IA | Normal, Stub, Totally Stubby Areas |
| Type 5 | External LSA | Autonomous System Boundary Router (ASBR) | Entire OSPF Domain | Advertises external routes to the entire OSPF network. | O E1 (internal + external); O E2 (external only) | Normal Areas |
| Type 7 | NSSA External LSA | ASBR in NSSA area | Within 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
- 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.
- 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.
- 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.

Leave a comment