Use it when routes redistributed inside an NSSA do not appear elsewhere in the network.
OSPF NSSA Type-7 → Type-5 Translation Reference
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.
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
area <area-id> nssa [no-summary]Primary Commands
Configuration and operational commands for this Topic.
Verification & 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 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-originateorno-summaryon 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 · 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.
show ip ospf database nssa-external <network>— the type 7 LSA and its P bit, inside the NSSA.show ip ospfon 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
ReferenceWhy it matters1 section · depth on demand
Why it matters operationally
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 type | Type 3 summaries | Type 5 externals | Type 7 externals | Default route |
|---|---|---|---|---|
| Normal | Yes | Yes | No | Only if originated |
| Stub | Yes | No | No | Type 3 from the ABR |
| Totally stubby (Cisco) | Default only | No | No | Type 3 from the ABR |
| NSSA | Yes | No | Yes | Optional Type 7 |
Totally stubby NSSA (Cisco no-summary) | Default only | No | Yes | Type 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
| Check | Command |
|---|---|
| Which router translates | show ip ospf | include translat on the ABRs |
| Type-7 LSAs inside the NSSA | show ip ospf database nssa-external |
| The translated Type-5 elsewhere | show ip ospf database external <prefix> (advertising router = the translator) |
| Forwarding address reachable | show 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.
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 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%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.
Operational notes
Former standalone Cheat Sheet content now lives directly inside the Topic where it belongs.