Pcornel
Networking · Network & Protocols › OSPF Protocol Reference

OSPF Summary / External / NSSA LSA Field Reference

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

Back to the Topic

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 boundaryKnown-good for OSPF Summary / External / NSSA LSA Field ReferenceSuspicious signatureNext proof
Identity/lengthExact object/peer and coherent structureWrong identity, type or boundaryRaw packet/LSDB object + peer state
Field semanticsType 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 designmissing 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 reachabilityCompare same object across both sides
State consequenceField predicts expected protocol/route transitionObject looks valid but local state disagreesLSDB/SPF or BGP policy → RIB/FIB
ClosureOriginal workload succeeds for the explained reasonProtocol state recovered only transientlyRepeat 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

Confirmation

Confirm action

Continue?