Neighbor
Cheat sheet · https://pcornel.dk/topic.php?topic=1090
Answer
An OSPF neighbor is a router on the same link whose Hello packets have been received and accepted, which requires matching area, subnet, timers, authentication and stub flags. Neighbors then become Full or, on multiaccess links between DROTHERs, stay in 2-Way.
Remember
Do not infer service health from one command. For Neighbor, distinguish configured intent, protocol/security state, installed forwarding state and the original workload result.
First checks
show ip ospf neighbor— neighbour list and stateshow ip ospf interface <interface>— hello/dead timers
Commands
show ip protocols- Display active routing protocol parameters.
ip ospf hello-interval <seconds>- Changes the OSPF Hello timer on an interface. Peers must be compatible.
ip ospf dead-interval <seconds>- Changes the OSPF Dead timer on an interface.
show ip ospf neighborshow ip ospf interface <interface>debug ip ospf hello
Verify in this order
hello sent → parameters match → neighbour listed → adjacency
Where it usually breaks
underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path
Neighbor · technical reference
| Item | Meaning |
|---|---|
| Init | One-way Hello awareness |
| 2-Way | Bidirectional neighbor awareness |
| Full | Database adjacency completed where required |
| Dead timer | Liveness timer, not route-health proof |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1090