Pcornel
Networking · Routing › OSPF › OSPF Fundamentals

LSA concepts

Cheat sheet · https://pcornel.dk/topic.php?topic=1099

Back to the Topic

Answer

LSAs (Link-State Advertisements) are the messages OSPF uses to describe topology: routers (Type 1), multiaccess networks (Type 2), inter-area routes (Type 3), ASBRs (Type 4) and external routes (Type 5/7). Each is identified by type, link-state ID and advertising router.

Remember

Do not infer service health from one role or command. For LSA concepts, distinguish configured intent, election/database state, installed forwarding state and the original workload result.

First checks

  • show ip ospf database — LSA types present
  • show ip ospf database summary — type 3
  • show ip ospf database external — type 5

Commands

show ip route

Verify in this order

routers originate LSAs → flooding by scope → LSDB → SPF

Where it usually breaks

underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path

Common OSPFv2 LSA types

TypeCommon nameTypical origin / purpose
1RouterEach router; describes links inside an area
2NetworkDR; describes a transit multiaccess network
3SummaryABR; inter-area reachability
4ASBR SummaryABR; reachability to an ASBR
5ExternalASBR; external reachability
7NSSA ExternalASBR inside NSSA; external information with NSSA scope/translation behavior

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1099

Confirmation

Confirm action

Continue?