Pcornel
Networking · Routing › OSPF › OSPFv3

Neighbors

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

Back to the Topic

Answer

OSPFv3 neighbours find each other with hellos sent to a multicast address from link-local addresses, and must agree on area, timers, instance ID and authentication before becoming FULL.

Remember

The subnet does not have to match (adjacency is between link-local addresses), but area, hello and dead timers, instance ID, area type and MTU do. IPv6 must be enabled on the interface.

First checks

  • show ospfv3 neighbor (or show ipv6 ospf neighbor) — neighbours and state.
  • show ospfv3 interface brief (or show ipv6 ospf interface brief) — OSPFv3 interfaces and areas.
  • show ospfv3 database — the LSAs.
  • show ipv6 route ospf — the routes installed.
  • show ipv6 interface brief — link-local addresses, which OSPFv3 uses for adjacencies.

Commands

show ospfv3 neighbor
show ospfv3 interface <interface>
show ipv6 interface brief
ping FE80::<neighbour>%<interface>
ping ipv6 <link-local>
show ip ospf neighbor

Verify in this order

ipv6 unicast-routing on → router ID set → interfaces enabled in the right area → link-local hellos match → FULL → LSAs exchanged → IPv6 routes installed with link-local next hops

Where it usually breaks

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

Neighbors operational reference

BoundaryKnown-good for NeighborsSuspicious signatureNext proof
IntentMatches OSPFv3 neighbor discovery and adjacency state over IPv6 link-local communication, including parameter compatibility and network-type-dependent expectations designPolicy, area, family or metric input differsCompare effective configuration
Protocol stateStable expected adjacency/database/topology decisionneighbors stuck in Init/ExStart/Exchange, no neighbor because interface or area activation differs, expected Full adjacency missing because of MTU or parameter mismatch, a normal DROTHER 2-Way state misclassified as failure, or healthy neighbors being treated as proof of application reachabilityInspect peer/LSDB/topology detail
Route/forwardingExpected RIB/FIB next hop or multipath setProtocol state exists but route/path disagreesRIB/FIB/CEF and next-hop proof
ClosureOriginal test passes for explained reasonSymptom moved, was bypassed or state was forcedRegression test

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

Confirmation

Confirm action

Continue?