LSA concepts
Cheat sheet · https://pcornel.dk/topic.php?topic=1099
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 presentshow ip ospf database summary— type 3show 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
| Type | Common name | Typical origin / purpose |
|---|---|---|
| 1 | Router | Each router; describes links inside an area |
| 2 | Network | DR; describes a transit multiaccess network |
| 3 | Summary | ABR; inter-area reachability |
| 4 | ASBR Summary | ABR; reachability to an ASBR |
| 5 | External | ASBR; external reachability |
| 7 | NSSA External | ASBR 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