Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

OSPF Summary / External / NSSA LSA Field Reference

Direct 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.

When to use this

Use it when inter-area or external routes are missing or use the wrong metric, or when NSSA routes are not translated.

First 30 seconds

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.

Operational verification

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

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard
Key commandshow ip ospf database summary 10.20.0.0
Scope / prerequisiteUse it when inter-area or external routes are missing or use the wrong metric, or when NSSA routes are not translated.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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, subnets was omitted from the redistribute command.
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 references

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.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points

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.

Key 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.
ReferenceWhat it is1 section · depth on demand

Mechanics & mental model

Four LSA types carry routes that come from outside the area. Type 3 brings networks from other areas, type 5 brings routes from outside OSPF, type 4 tells where the router that injected them is, and type 7 is the form external routes take inside an NSSA.

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 3Type 4
DescribesA network in another areaHow to reach an ASBR
Link State IDDestination networkASBR router ID
Originated byABRABR
MetricCost from the ABR to the networkCost 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.

FieldMeaning
E bit1 = type 2 metric (E2), 0 = type 1 (E1)
MetricExternal cost set by the ASBR
Forwarding addressWhere to send traffic; 0.0.0.0 means "to the ASBR"
External route tag32-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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Field structure, identity and state ownership

TypeIssued byLink State IDFlooded
3 SummaryABRThe networkWithin one area
4 ASBR SummaryABRThe ASBR's router IDWithin one area
5 ExternalASBRThe external networkThrough all normal areas
7 NSSA ExternalASBR inside an NSSAThe external networkWithin 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
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 2328

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%
Technical changelog & impact

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.

Related reference impactReview these references after material technical changes when their shared boundary is affected.
Terminology layer

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.

Aliases that resolve here
lsa type 3 fieldslsa type 4 fieldslsa type 5 fieldslsa type 7 fieldsospf forwarding address field
Embedded reference data

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 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
Embedded quick reference

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.

Confirmation

Confirm action

Continue?