OSPF Summary / External / NSSA LSA Field Reference
Cheat sheet · https://pcornel.dk/topic.php?topic=264
Answer
Summary LSAs (Type 3) carry inter-area prefixes from ABRs, ASBR-summary LSAs (Type 4) tell routers how to reach an ASBR, external LSAs (Type 5) carry redistributed routes, and NSSA LSAs (Type 7) carry external routes inside an NSSA.
Remember
Type 3 from ABRs carries inter-area prefixes; Type 4 tells other areas how to reach an ASBR; Type 5 carries external routes (E2 by default: cost not added inside the domain; E1: internal cost added); Type 7 is used inside an NSSA and translated to Type 5 by the ABR when the P bit is set. A non-zero forwarding address must be reachable or the route is not used.
First checks
show ip ospf database summary— Type 3 prefixes and the ABR that sent them.show ip ospf database asbr-summary— Type 4 entries.show ip ospf database external— Type 5 routes, metric type, forwarding address and tag.show ip ospf database nssa-external— Type 7 routes and the P bit.show ip ospf border-routers— ABRs and ASBRs reachable.
Commands
show ip ospf border-routers
Verify in this order
ABR originates Type 3 for each inter-area prefix → ASBR originates Type 5 (or Type 7 in an NSSA) → ABR translates Type 7 to Type 5 → other areas learn the ASBR through Type 4 → routes installed as O IA / O E1 / O E2
Where it usually breaks
underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path
OSPF Summary / External / NSSA LSA Field Reference field-level operational reference
| Field boundary | Known-good for OSPF Summary / External / NSSA LSA Field Reference | Suspicious signature | Next proof |
|---|---|---|---|
| Identity/length | Exact object/peer and coherent structure | Wrong identity, type or boundary | Raw packet/LSDB object + peer state |
| Field semantics | Type 3/4 destination or ASBR identity plus mask/metric; Type 5/7 external metric and metric-type semantics, Forwarding Address, route tag and NSSA translation context, always correlated with Advertising Router and area scope match intended design | missing Type-3 or Type-4 causing inter-area/ASBR reachability loss, wrong summary scope, unexpected E1/E2 metric type, unreachable non-zero Forwarding Address, route-tag policy mismatch, Type-7 present without expected Type-5 translation, multiple ABRs/ASBRs producing unexpected preference, or valid LSAs that are later filtered or lose recursive reachability | Compare same object across both sides |
| State consequence | Field predicts expected protocol/route transition | Object looks valid but local state disagrees | LSDB/SPF or BGP policy → RIB/FIB |
| Closure | Original workload succeeds for the explained reason | Protocol state recovered only transiently | Repeat state/capture + regression test |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=264