Floating Static
Cheat sheet · https://pcornel.dk/topic.php?topic=1084
Answer
A floating IPv6 static route is configured with an administrative distance higher than the preferred dynamic or static route so that it remains inactive while the primary route is present and becomes eligible when the preferred route is withdrawn. The backup is a RIB-selection mechanism; it does not monitor application health unless the primary route itself is withdrawn by another tracking mechanism.
Remember
Give the backup a higher administrative distance than the primary: above 110 for OSPFv3, above 90 for EIGRP, above 1 for another static. While the primary exists the floating route is only in the configuration, not in the routing table. It takes over only if the primary route is actually withdrawn — a failure further away that leaves the primary next hop up does not trigger it.
First checks
show ipv6 route <prefix> → which source is installed now and its distance. show running-config | include ipv6 route → the floating route and its AD. After a failover test: show ipv6 route static → the backup with its high distance.
Commands
ipv6 route <prefix>/<length> <next-hop> <administrative-distance>- Configure a floating IPv6 static route with a higher administrative distance.
show ipv6 staticshow ipv6 routeshow ipv6 route <prefix>show ipv6 neighbors
Verify in this order
primary route installed (lower AD) → floating static configured with higher AD, hidden → primary withdrawn (link down, neighbour lost) → floating route installed → primary returns → floating route hidden again
Where it usually breaks
underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path
IPv6 floating static state
| Observation | Likely meaning | Next check |
|---|---|---|
| Primary installed; floating static absent | Healthy steady state | Confirm AD and backup config |
| Floating route installs after primary loss | Expected failover | Verify forwarding/return path |
| Floating route active unexpectedly | Primary route missing or less preferred | Investigate primary source/AD |
| Primary lost; floating route absent | Backup not eligible | Check next-hop/interface and AD |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1084