Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

OSPF NSSA Type-7 → Type-5 Translation Reference

Direct answer

Inside an NSSA, redistributed routes travel as type 7 LSAs. The area's ABR translates each into a type 5 LSA so the rest of the network can use it.

When to use this

Use it when routes redistributed inside an NSSA do not appear elsewhere in the network.

First 30 seconds

1. Inside the NSSA: does the type 7 LSA exist? If not, fix redistribution.

2. On the ABR: is it the translator?

3. In the backbone: does the type 5 LSA exist?

4. Is its forwarding address reachable through an O or O IA route?

5. Routers inside the NSSA with no way out → add a default route from the ABR.

Operational verification

redistribution on the NSSA's ASBR → type 7 LSA with P bit in the NSSA → ABR with highest router ID translates → type 5 LSA in the backbone → forwarding address reachable → O E route installed

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 · Cisco IOS XE
Key commandarea <area-id> nssa [no-summary]
Scope / prerequisiteUse it when routes redistributed inside an NSSA do not appear elsewhere in the network.
Reference · 1
What next?3 suggested next steps
Catalog command links1
Evidence1
On this pageJump to a specific section
Cisco IOS / IOS XE first

Primary Commands

Configuration and operational commands for this Topic.

Operational workflow

Verification & Troubleshooting

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

2 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 Operational verification Verify boundary
show ip ospf database nssa-external 203.0.113.0
show ip ospf
show ip ospf database external 203.0.113.0
show ip route 203.0.113.0

Inside the NSSA, the first command shows the type 7 LSA, its options ("Type 7/5 translation" when the P bit is set) and its forwarding address. On the ABR, show ip ospf says under the area whether this router performs type 7 to type 5 translation. In the backbone, the third command shows the resulting type 5 LSA, advertised by the ABR. The last shows the installed route.

Known-good: the type 7 LSA exists with the P bit set, one ABR reports that it translates, the type 5 LSA exists in the backbone, and its forwarding address is reachable there.

Step 2 Failure isolation workflow Narrow the fault
  • No type 7 LSA in the NSSA. Redistribution is not working on the ASBR — nothing to do with translation.
  • Type 7 present, no type 5 in the backbone. The P bit is cleared, or the ABR expected to translate is not the one with the highest router ID and the other is not connected to area 0.
  • Type 5 present, route not installed. The forwarding address is not reachable from the backbone; advertise that network or use suppress-fa.
  • Routers inside the NSSA have no route out. An NSSA gets no default route automatically; add default-information-originate or no-summary on the ABR.
  • Neighbours lost after configuring the NSSA. Not all routers in the area have area <id> nssa.
  • The routes appear twice in the backbone. Expected only briefly, when the translator role moves between ABRs.
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

Check in order: is the type 7 LSA created, does the ABR translate it, can the type 5 route be used. Only the ABR with the highest router ID translates. The translated LSA keeps a forwarding address inside the NSSA, which must be reachable from the backbone — or use translate type7 suppress-fa.

Key checks
  • show ip ospf database nssa-external <network> — the type 7 LSA and its P bit, inside the NSSA.
  • show ip ospf on the ABR — whether it performs type 7 to type 5 translation.
  • show ip ospf database external <network> — the type 5 LSA in the backbone.
  • show ip route <forwarding address> — reachable through an internal route?
ReferenceWhat it is1 section · depth on demand

Mechanics & mental model

An NSSA is a stub area that is allowed to redistribute routes. Inside the area those routes travel as type 7 LSAs. At the edge, an ABR converts each one into an ordinary type 5 LSA so the rest of the network can use it. This topic is about that conversion.

ReferenceWhy it matters1 section · depth on demand

Why it matters operationally

When routes redistributed inside an NSSA do not show up in the rest of the network, the problem lies at one of three points: the type 7 LSA was never created, the ABR did not translate it, or the translated route cannot be used. Checking them in that order finds the cause.

ReferenceHow it works1 section · depth on demand

How it works

Inside the NSSA. The redistributing router creates a type 7 LSA for each external route. It is flooded within the NSSA only, and routers there install it as O N2 (or O N1). The LSA carries a bit, P, that asks for it to be translated.

At the border. If the NSSA has several ABRs, only one translates: the one with the highest router ID. It creates a type 5 LSA with the same prefix and metric and floods it into the backbone, where routers install it as O E2.

The forwarding address. A type 7 LSA carries the address of the redistributing router as its forwarding address, and the translation copies it into the type 5 LSA. Routers outside the NSSA resolve the route through that address, not through the ABR. They must therefore have an internal OSPF route to it — which they do not if the NSSA's networks are filtered or summarised away at the ABR. area <id> nssa translate type7 suppress-fa makes the ABR set the forwarding address to 0.0.0.0, so traffic is sent to the ABR.

When no translation happens. If the redistributing router is itself an ABR, it advertises the routes directly as type 5 into the backbone and clears the P bit on the type 7 copy. The P bit is also cleared when redistribution is limited with nssa-only.

External summarisation of translated routes is configured on the translating ABR with summary-address.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

NSSA and Type-7 to Type-5 translation

An NSSA is a stub area that is still allowed to bring in external routes. RFC 3101 defines how:

  • Type-7 LSAs: routers inside the NSSA carry external routes as Type-7 LSAs, flooded only within that NSSA.
  • Translation: an NSSA border router translates Type-7 LSAs with the P bit set into Type-5 LSAs for the rest of the domain.
  • Translator election: among border routers with the default role (Candidate), the highest router ID becomes translator. A router configured as Always translates regardless.
  • N bit: in hellos, ensures all routers in the area agree that it is an NSSA.
  • Forwarding address: if the P bit is set, the forwarding address must be non-zero.

Area types compared

Area typeType 3 summariesType 5 externalsType 7 externalsDefault route
NormalYesYesNoOnly if originated
StubYesNoNoType 3 from the ABR
Totally stubby (Cisco)Default onlyNoNoType 3 from the ABR
NSSAYesNoYesOptional Type 7
Totally stubby NSSA (Cisco no-summary)Default onlyNoYesType 3 from the ABR

Default routes (RFC 3101)

If summaries are imported into the NSSA, the border router's default is a Type-7 LSA with the P bit clear, so it isn't translated. If summaries aren't imported (no-summary), the default must be a Type-3 summary. Otherwise inter-area traffic could follow an external default by mistake.

Translation in practice

CheckCommand
Which router translatesshow ip ospf | include translat on the ABRs
Type-7 LSAs inside the NSSAshow ip ospf database nssa-external
The translated Type-5 elsewhereshow ip ospf database external <prefix> (advertising router = the translator)
Forwarding address reachableshow ip route <forward-address>
ABR1(config)# router ospf 1
ABR1(config-router)# area 30 nssa
ABR1(config-router)# area 30 nssa translate type7 always
ASBR3(config)# router ospf 1
ASBR3(config-router)# area 30 nssa
ASBR3(config-router)# redistribute static subnets
ABR1# show ip ospf | include NSSA|translat
    It is a NSSA area
    Perform type-7/type-5 LSA translation
R2# show ip ospf database external 10.77.0.0 | include Advertising|Forward|Metric Type
  Advertising Router: 10.255.0.1
  Forward Address: 10.30.0.5
  Metric Type: 2 (Larger than any link state path)

Forwarding address pitfalls

The translated Type-5 keeps the forwarding address from the Type-7 (here 10.30.0.5). Routers outside the NSSA must have a route to that address, or the external route is ignored. That is a common reason why "the route is in the database but not in the routing table".

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.
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 NSSA Type-7 → Type-5 Translation 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
nssa translationtype 7 type 5ospf p bitnssa external
Embedded quick reference

Operational notes

Former standalone Cheat Sheet content now lives directly inside the Topic where it belongs.

NSSA Type-7 Translation — Fast Check

Inside/outside LSDB evidence

1. Area really NSSA.

2. Type-7 exists inside.

3. P-bit/translation eligibility.

4. Identify translating ABR.

5. Type-5 exists outside.

6. RIB/CEF downstream.

Confirmation

Confirm action

Continue?