Use it when inter-area or external routes are missing or use the wrong metric, or when NSSA routes are not translated.
OSPF Summary / External / NSSA LSA Field Reference
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.
1. show ip ospf database summary / external / nssa-external — which LSA types exist.
2. Check advertising router (ABR/ASBR) and metric type (E1/E2).
3. Type-7 must be translated to Type-5 at the NSSA ABR.
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show ip ospf database summary 10.20.0.0Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Field/LSDB/capture verification and known-good sequence Verify boundary
show ip ospf database summary 10.20.0.0
show ip ospf database asbr-summary
show ip ospf database external 203.0.113.0
show ip ospf database nssa-external
show ip ospf border-routers
Each command prints the LSAs of one type with advertising router, metric and, for external ones, metric type, forwarding address and tag. show ip ospf border-routers lists the ABRs and ASBRs this router can reach and at what cost.
For an external route, check three things in order: the type 5 LSA is present, the ASBR (or the forwarding address) is reachable, and the metric type is the intended one.
Known-good: the LSA is present from the expected advertising router, the border router is reachable, and the route is in the routing table with the expected code.
Step 2 Failure signatures and field-level troubleshooting Narrow the fault
- An inter-area route is missing. No type 3 LSA: the ABR does not have the route, filters it, or is not connected to area 0.
- The type 5 LSA is present but the route is not installed. The ASBR is not reachable (no type 4 LSA in this area), or the forwarding address is not reachable through an internal OSPF route.
- External routes are absent in one area. It is a stub area, which does not accept type 5.
- Traffic leaves through the more distant ASBR. E2 metrics ignore internal cost; use E1 if distance should count.
- NSSA routes do not reach the rest of the network. The ABR is not translating type 7 to type 5, or the forwarding address is filtered from other areas.
- Redistributed routes are missing altogether. On older releases,
subnetswas omitted from theredistributecommand.
Step 3 When the problem is really fixed Narrow the fault
- The LSA is present with the intended metric type, metric and forwarding address.
- The advertising router is listed in
show ip ospf border-routers. - The route is installed with the expected code and next hop.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
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.
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.
ReferenceWhat it is1 section · depth on demand
ReferenceWhy it matters1 section · depth on demand
Why it matters operationally
Routes marked O IA, O E1, O E2 and O N2 come from these LSAs. When such a route is missing or points the wrong way, the fields to read are the advertising router, the metric and — for external routes — the metric type and the forwarding address.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Summary and external LSAs carry routes between areas and from outside OSPF
Intra-area detail stays inside an area. Other areas and external networks are known only through these LSA types.
Summary-LSA (types 3 and 4)
RFC 2328 defines the body as a network mask and a metric. For type 4 the mask must be zero, because type 4 describes a router (an ASBR), not a network.
| Type 3 | Type 4 | |
|---|---|---|
| Describes | A network in another area | How to reach an ASBR |
| Link State ID | Destination network | ASBR router ID |
| Originated by | ABR | ABR |
| Metric | Cost from the ABR to the network | Cost from the ABR to the ASBR |
The RFC's ABR rules: only intra-area routes are summarised into the backbone; intra- and inter-area routes are summarised into other areas; external routes are never summarised; type 4 isn't originated into stub areas; and stub areas can receive a default summary with StubDefaultCost.
AS-external-LSA (type 5)
The body holds a network mask, the E bit (external metric type), the metric, a forwarding address and an external route tag.
| Field | Meaning |
|---|---|
| E bit | 1 = type 2 metric (E2), 0 = type 1 (E1) |
| Metric | External cost set by the ASBR |
| Forwarding address | Where to send traffic; 0.0.0.0 means "to the ASBR" |
| External route tag | 32-bit value for policy (for example route maps on other routers) |
C9300# show ip ospf database summary 10.20.0.0
C9300# show ip ospf database asbr-summary
C9300# show ip ospf database external 172.16.0.0
LS Type: AS External Link
Link State ID: 172.16.0.0 (External Network Number )
Advertising Router: 10.0.0.21
Network Mask: /20
Metric Type: 2 (Larger than any link state path)
Metric: 20
Forward Address: 0.0.0.0
External Route Tag: 0
NSSA (type 7)
Type 7 LSAs carry the same fields within an NSSA, and the NSSA ABR translates them into type 5 for the rest of the domain. They are defined in a separate standard, not in RFC 2328.
Documented example, not captured output.
Field structure, identity and state ownership
| Type | Issued by | Link State ID | Flooded |
|---|---|---|---|
| 3 Summary | ABR | The network | Within one area |
| 4 ASBR Summary | ABR | The ASBR's router ID | Within one area |
| 5 External | ASBR | The external network | Through all normal areas |
| 7 NSSA External | ASBR inside an NSSA | The external network | Within the NSSA only |
Type 3 carries a mask and a metric: the ABR's own cost to the network. A router adds its cost to the ABR.
Type 4 carries only a metric: the ABR's cost to the ASBR. Routers in other areas need it to work out how far away the originator of a type 5 LSA is.
Type 5 carries a mask and four more fields:
- Metric type — E2 (the default): the metric stays as set at redistribution, however far away the ASBR is. E1: the internal cost to the ASBR is added. An E1 route is always preferred over an E2 route for the same network.
- Metric — 20 by default for redistributed routes.
- Forwarding address — normally 0.0.0.0, meaning "send the traffic to the ASBR". If it holds an address, traffic is sent there instead, and the route is used only if that address is reachable through an OSPF internal route.
- Route tag — a number carried along unchanged, used to mark routes for filtering.
Type 7 has the same fields as type 5. The ABR of the NSSA translates it into a type 5 LSA for the rest of the network; a bit in the LSA (P) permits this. Its forwarding address is normally filled in.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Network & Protocols → OSPF Summary / External / NSSA LSA Field Reference. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc2328.html · confidence 94%What changed and what may be affected
Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.
Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
OSPF Summary / External / NSSA LSA Field Reference field-level operational reference
Identity-first field interpretation, suspicious signatures and the next protocol/forwarding proof boundary.
| 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 |
Operational notes
Former standalone Cheat Sheet content now lives directly inside the Topic where it belongs.
OSPF External LSA Fields
Type 5/7 operational field checklist.
Check: metric type (E1/E2), metric, Forwarding Address, route tag, Advertising Router, LS sequence/checksum. Then verify recursive reachability and CEF.