First, a recap about LSAs.
- Type 1 – Represents a router
- Type 2 – Represents a DR for a multi-access link
- Type 3 – Represents a summary for IA routes
- Type 4 – Represents an ASBR, usually accompanied by Type 5
- Type 5 – External LSA for routes originating outside the OSPF domain
- Type 7 – Allows for advertisement of external routes in stub areas that otherwise do not allow for the existence of Type 4 or Type 5 LSAs
… and a recap about Area Types.
- Backbone (normal) Area – Area 0
- Standard (normal) Area – An area adjacent to the backbone with no special stub restriction
- Stub Area – An area that restricts propagation of Type 5 LSAs, replacing them with a default route using Type 3 LSA (but maintains other inter-area Type 3 summaries as well).
- Totally Stubby Area – An area that restricts Type 3, 4, and 5 LSAs, replacing the summary LSA with a single default route (with default cost of 1, which can be changed). Other inter-area summaries are removed/restricted.
- Not-so-stubby Area (NSSA) – Similar to a stub area, it restricts Type 5 LSAs and replaces them with a summary from an ABR, but if the NSSA also contains an ASBR that needs to redistribute routes and flood it to other areas of the network, it uses Type 7 LSAs to forward to the upstream ABR, which are then converted to Type 5 LSAs in that standard area.
- Totally Not-so-stubby Area (TNSSA) – This is an NSSA that operates as a Totally stubby area with the Type 7 caveat; it restricts Type 3 LSAs and injects a default route while providing redistribution using Type 7 LSAs.
Note: An ASBR is NOT permitted in a stub or totally stubby area because of the restriction on Type 4 and Type 5 LSAs. This is when you use an NSSA or TNSSA.
Commands of Note: