Pcornel
Networking · Network & Protocols › OSPF Protocol Reference

OSPF Passive Interface & Default Origination Reference

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

Back to the Topic

Answer

A passive interface has its network advertised by OSPF but sends no Hellos and forms no neighbours. default-information originate makes a router advertise a default route into OSPF.

Remember

Passive does not remove the network from OSPF. Without always, the default route is advertised only while the router has one itself — which is what you want with two exits. passive-interface default needs no passive-interface on the links to other routers.

First checks

  • show ip ospf interface <interface> — "No Hellos (Passive interface)".
  • show ip protocols | section Passive — the passive interfaces.
  • show ip route 0.0.0.0 — the originating router's own default route.
  • show ip ospf database external 0.0.0.0 — the advertised default.

Commands

show ip protocols

Verify in this order

user-facing interfaces passive, networks still advertised → router links not passive, neighbours Full → originating router has its own default route → type 5 LSA for 0.0.0.0 → other routers install O*E2

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=245

Confirmation

Confirm action

Continue?