Pcornel
Networking · Routing › OSPF › OSPFv3

Address Families

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

Back to the Topic

Answer

OSPFv3 address families let one OSPFv3 process carry IPv6 and, optionally, IPv4 routes: router ospfv3 <process> with address-family ipv6 unicast and/or address-family ipv4 unicast. Each family runs as its own instance.

Remember

Even for IPv4, OSPFv3 forms adjacencies over IPv6 link-local addresses — IPv6 must be enabled on the interfaces. Interfaces join per family: ospfv3 <process> ipv4 area <area> / ospfv3 <process> ipv6 area <area>. Show commands are per family.

First checks

  • show ospfv3 neighbor — neighbours per address family.
  • show ospfv3 interface brief — interfaces per address family.
  • show ip route ospfv3 and show ipv6 route ospf — routes per family.
  • show running-config | section ospfv3 — families configured.

Commands

show running-config [section|interface|...]
Display active configuration.
router ospfv3 <process-id>
Start an OSPFv3 process.
show ip route
show ipv6 route
show ospfv3
show ospfv3 interface brief
show ospfv3 neighbor
show ip route ospfv3
show ipv6 route ospf
show ip route ospf

Verify in this order

router ospfv3 with the needed address families → IPv6 enabled on interfaces → interfaces joined per family → adjacencies per family → routes installed per family

Where it usually breaks

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

Address Families operational reference

BoundaryKnown-good for Address FamiliesSuspicious signatureNext proof
IntentMatches OSPFv3 address-family separation for IPv6 and, on supporting platforms, IPv4 unicast while sharing protocol infrastructure without merging each family route state designPolicy, area, family or metric input differsCompare effective configuration
Protocol stateStable expected adjacency/database/topology decisionone address family working while another is absent, commands interpreted without family context, prefixes activated under the wrong family, a shared neighbor being treated as proof of both IPv4 and IPv6 route exchange, or route troubleshooting mixing the IPv6 link-local adjacency with the wrong family RIBInspect 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=1119

Confirmation

Confirm action

Continue?