Pcornel
Networking · Network & Protocols › OSPF Protocol Reference

OSPF NSSA Type-7 → Type-5 Translation Reference

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

Back to the Topic

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.

Remember

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.

First 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?

Commands

area <area-id> nssa [no-summary]
Configure an OSPF area as NSSA with optional additional summary suppression.
show ip ospf database nssa-external
show ip ospf database external <prefix>
show ip route <forward-address>
show ip ospf

Verify in this order

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

Where it usually breaks

underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=242

Confirmation

Confirm action

Continue?