Address Families
Cheat sheet · https://pcornel.dk/topic.php?topic=1119
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 ospfv3andshow 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 routeshow ipv6 routeshow ospfv3show ospfv3 interface briefshow ospfv3 neighborshow ip route ospfv3show ipv6 route ospfshow 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
| Boundary | Known-good for Address Families | Suspicious signature | Next proof |
|---|---|---|---|
| Intent | Matches OSPFv3 address-family separation for IPv6 and, on supporting platforms, IPv4 unicast while sharing protocol infrastructure without merging each family route state design | Policy, area, family or metric input differs | Compare effective configuration |
| Protocol state | Stable expected adjacency/database/topology decision | one 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 RIB | Inspect peer/LSDB/topology detail |
| Route/forwarding | Expected RIB/FIB next hop or multipath set | Protocol state exists but route/path disagrees | RIB/FIB/CEF and next-hop proof |
| Closure | Original test passes for explained reason | Symptom moved, was bypassed or state was forced | Regression test |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1119