OSPF Timers & Authentication Deep Reference
Cheat sheet · https://pcornel.dk/topic.php?topic=226
Answer
OSPF hello and dead timers set how often a router announces itself and how long silence is tolerated. Authentication makes a router accept OSPF packets only from neighbours that know the key. Both must agree between neighbours.
Remember
Timers must be equal on both ends: 10/40 seconds on Ethernet and point-to-point, 30/120 on non-broadcast. Authentication type, key ID and key must all match. Very short timers cause flapping; BFD is the better tool for fast detection.
First checks
show ip ospf interface <interface>— timers, and whether authentication is enabled with which key ID.show ip ospf neighbor— the dead time counting down.debug ip ospf hello/debug ip ospf adj— names the mismatch; use briefly.
Commands
ip ospf bfdip ospf message-digest-keyip ospf authentication key-chainshow ip ospf neighbordebug ip ospf helloip ospf hello-interval <s>ip ospf dead-interval <s>ip ospf authentication key-chain <name>
Verify in this order
Hellos arrive → area and timers match → authentication type, key ID and key match → neighbour accepted → dead timer refreshed by every Hello
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=226