Octet

Go through the OSPF LSA types 1 to 7. Who generates each one and how far does it flood?

Show the answer

Say this first

Type 1 router LSA from every router, inside its area. Type 2 network LSA from the DR, inside its area. Type 3 summary from ABRs, describing other areas' prefixes. Type 4 ASBR summary from ABRs, saying how to reach an ASBR. Type 5 external from an ASBR, flooded everywhere except stub areas and NSSAs. Type 6 is multicast OSPF, unused. Type 7 is the NSSA external, which the NSSA ABR translates into Type 5.

Go deeper

The table I draw on the whiteboard

TypeNameOriginated byFlooding scopeLink state ID
1RouterEvery router, one per area it is inIts areaRouter ID
2NetworkDR of a multi-access segmentIts areaDR's interface IP
3Summary (network)ABRInto each attached areaDestination prefix
4ASBR summaryABRInto areas that do not contain the ASBRASBR router ID
5AS externalASBRWhole domain except stub, totally stubby, NSSAExternal prefix
6Group membershipMOSPFNot supported by Ciscon/a
7NSSA externalASBR inside an NSSAThat NSSA onlyExternal prefix

How they fit together

Types 1 and 2 are the map of one area. Type 3 is "this prefix is reachable through me at this cost", regenerated by every ABR at each area boundary. Type 5 names the ASBR as advertising router, so a router in another area needs a Type 4 to find its cost to that ASBR.

In show ip ospf database

Type 1 is "Router Link States", Type 2 "Net Link States", Type 3 "Summary Net Link States", Type 4 "Summary ASB Link States", Type 5 "Type-5 AS External Link States" and Type 7 "Type-7 AS External Link States".

Traps

  • Saying Type 3 LSAs carry topology. They carry a prefix and a cost, nothing about the links behind it.
  • Saying the ASBR generates Type 4. The ABR does.
How did you do?Book 3.4 RoutingBook 4.1 Global Internet