Pcornel
Networking · Routing › OSPF › OSPFv3

IPv6 OSPF

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

Back to the Topic

Answer

IPv6 OSPF is OSPFv3 carrying IPv6 routes: adjacencies form between link-local addresses, and IPv6 prefixes are advertised in dedicated LSAs separate from the topology.

Remember

ipv6 unicast-routing must be on. Enable it per interface: ipv6 ospf <process> area <area> (classic) or ospfv3 <process> ipv6 area <area> (address-family mode). A router with no IPv4 address needs router-id configured by hand. Next hops in the routing table are link-local.

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 interface
Display OSPFv3 interface settings.
show ipv6 route ospf
Display OSPFv3 routes in the IPv6 routing table.
show ospfv3 …
show ipv6 ospf …
show ospfv3 interface brief
show ospfv3 neighbor
show ospfv3 database
ip routing
show ipv6 ospf [<pid>] [<area>] interface
show ipv6 ospf
show ip ospf …

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

IPv6 OSPF operational reference

BoundaryKnown-good for IPv6 OSPFSuspicious signatureNext proof
IntentMatches OSPFv3 operation for IPv6 unicast, where adjacencies are interface-centric and commonly use IPv6 link-local next hops while prefix reachability is carried separately from classic OSPFv2 addressing assumptions designPolicy, area, family or metric input differsCompare effective configuration
Protocol stateStable expected adjacency/database/topology decisionneighbors missing because OSPFv3 is not enabled on the intended interface, link-local or interface-scope confusion, a valid Full adjacency with the required IPv6 prefix absent from the LSDB or RIB, a route installed with an unexpected link-local next hop, or operators expecting OSPFv2-style network statements to explain interface participationInspect 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=1115

Confirmation

Confirm action

Continue?