Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Floating Static · IPv6

Direct 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.

When to use this

Use it to add a backup path that takes over only when the primary route disappears, or when a backup static route is unexpectedly active (or never activates).

First 30 seconds

1. Floating static = higher AD than the primary: ipv6 route ::/0 2001:db8:2::1 250.

2. Installed only when the primary route disappears.

3. show ipv6 route static — check which one is active.

Operational verification

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

Evidence · next step

Perform a controlled primary-path failure and verify backup route eligibility and forwarding.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard · Cisco IOS / IOS XE
Key commandipv6 route <prefix>/<length> <next-hop> <administrative-distance>
Scope / prerequisiteUse it to add a backup path that takes over only when the primary route disappears, or when a backup static route is un…
Reference · 1
What next?3 suggested next steps
Catalog command links1
Evidence2
On this pageJump to a specific section
Cisco IOS / IOS XE first

Primary Commands

Configuration and operational commands for this Topic.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

5 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Operational verification and known-good state Verify boundary
show ipv6 route 2001:DB8:20::/64
show ipv6 static
show running-config | include ipv6 route

The first shows which source currently holds the prefix and its distance. show ipv6 static lists every static route with a marker on those installed in the routing table, so the waiting backup is visible. The configuration shows the distance at the end of the floating route's line.

Known-good: in normal operation the prefix comes from the primary source and the floating route is listed but not installed; with the primary down, the same prefix is static with the high distance.

Step 2 Verification and output interpretation Verify boundary

While the primary path is healthy, verify the lower-AD route owns the prefix and confirm the backup next hop/interface is itself healthy. During a controlled primary withdrawal, use show ipv6 route <prefix> to confirm the floating static installs with the expected AD and next hop. Check show ipv6 neighbors when a link-local or directly attached next hop is used, and inspect forwarding resolution. After restoring the primary, verify the lower-AD route reclaims the prefix. A change in route ownership shows local failover logic; it does not by itself show the remote application is healthy through the backup path.

Step 3 Verification & troubleshooting Narrow the fault

1. Record the primary route source and AD.

2. Confirm the floating static uses a higher AD.

3. Verify it is inactive while the primary is healthy.

4. Fail the primary path in a controlled test and verify the static enters the RIB.

5. Restore the primary and verify normal preference returns.

Step 4 Failure signatures and troubleshooting branches Narrow the fault
  • The backup route is active when it should not be. The primary route is gone — investigate the primary.
  • The backup is always active. Its distance is lower than the primary's, for example 100 against OSPF's 110.
  • The backup does not take over. Its own next hop or interface is unusable, or the primary never left the table.
  • The primary path is broken but there is no failover. The primary route is still installed because its next hop is up; a remote failure is not seen.
  • Traffic stays on the backup after repair. The primary route has not been re-installed.
Step 5 When the problem is really fixed Narrow the fault
  • In normal operation the primary route is installed and the floating route is only listed.
  • A controlled failure of the primary puts the floating route in the table and traffic continues.
  • After the primary is restored, it takes the prefix back without manual action.
  • The kind of failure the backup cannot detect is known and accepted, or covered by tracking.
Evidence references

Evidence · 2 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

command output · 2
Command lookup Jump straight to Cisco syntax
Key points

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.

Key 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.

ReferenceWhat it is1 section · depth on demand
ReferenceWhy it matters1 section · depth on demand

Why it matters

It is the cheapest form of redundancy: a backup path without running a routing protocol over it. Its limitation needs to be understood, though. It reacts only when the primary route is withdrawn from the table. If the primary's next hop stays up while the path further on is broken, nothing happens and traffic keeps going into the fault.

ReferenceImportant terms & boundaries6 sections · depth on demand

Key points

  • The configured AD must be worse than the intended primary source
  • Healthy steady state can mean the floating static is absent from the IPv6 RIB
  • If it becomes active unexpectedly, investigate the primary route first
  • If it does not activate after primary loss, verify next-hop/interface eligibility
  • AD only compares competing sources for the same prefix; a longer prefix still wins.

In depth

IPv6 floating static route: a backup with a higher administrative distance

Cisco's IOS XE IPv6 static routing guide describes a floating static route as backing up a dynamic route, with an administrative distance higher than the dynamic protocol's, since lower values are preferred. Its example is ipv6 route 2001:DB8::/32 serial 2/0 201. The guide lists the static default as 1, and defaults such as eBGP 20, OSPF 110, IS-IS 115 and RIP 120.

R1(config)# ipv6 router ospf 1
R1(config)# interface GigabitEthernet0/0/1
R1(config-if)# ipv6 ospf 1 area 0
R1(config)# ipv6 route 2001:db8:30::/48 GigabitEthernet0/0/2 fe80::2 210
R1# show ipv6 route 2001:db8:30::/48
Routing entry for 2001:DB8:30::/48
  Known via "ospf 1", distance 110, metric 20, type intra area
R1(config)# interface GigabitEthernet0/0/1
R1(config-if)# shutdown
R1# show ipv6 route 2001:db8:30::/48
Routing entry for 2001:DB8:30::/48
  Known via "static", distance 210, metric 0
  Routing paths:
    FE80::2, GigabitEthernet0/0/2

Choosing the AD

PrimaryFloating AD above
Another static route1
eBGP20
OSPFv3110
IS-IS115
EIGRP internal / external90 / 170
iBGP200

Using 210 or higher works behind any IGP.

When the backup takes over

The floating route is installed only when the primary disappears from the routing table. A static primary disappears when its interface goes down, or when its next hop can't be resolved. A dynamic primary disappears when the protocol withdraws it.

Pitfall

With a recursive primary static route, the next hop may still resolve through another route after the link fails, so the primary stays and the floating route never appears. Use the fully specified form for the primary, as the guide recommends on multi-access interfaces.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Quick reference

An IPv6 floating static route works like the IPv4 version: a higher administrative distance keeps it out of the table until the primary route is gone.

ipv6 route ::/0 2001:db8:ff::1                  ! primary
ipv6 route ::/0 2001:db8:fe::1 250              ! backup
show ipv6 route ::/0

Documented example, not captured output.

Verify the backup by removing the primary in a maintenance window and checking that ::/0 switches to the backup next hop.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Mechanics and state ownership

Administrative distance is only compared between routes for exactly the same prefix. A connected route has distance 0, a static route 1, EIGRP 90, OSPF 110. The floating route needs a distance higher than whatever supplies the primary: above 110 to back up an OSPFv3 route, above 90 for EIGRP, above 1 for another static route. A value such as 250 works in all cases.

The route with the higher distance is kept in the configuration but not installed. It appears in show ipv6 static, which lists all static routes and marks the installed ones, but not in show ipv6 route.

Failover depends on the primary leaving the table. A dynamic primary is withdrawn when its neighbour is lost. A static primary on an Ethernet link is withdrawn only when the interface goes down or its next hop becomes unresolvable — not when something breaks two hops away. Detecting that kind of failure takes a routing protocol or object tracking tied to the primary route.

State model and protocol mechanics

IPv6 floating statics use the same local route-preference principle as IPv4: a static route is configured with an administrative distance above the preferred source for the identical destination prefix. The candidate remains non-best while the lower-AD route is present, then can install when that route disappears. Next-hop semantics remain IPv6-specific: a link-local backup next hop requires interface context and Neighbor Discovery, while a global next hop may be recursively resolved. The mechanism does not test arbitrary remote health; it only reacts to the route-selection inputs available on the local router.

Limits and common misconceptions

A floating IPv6 static route is not active monitoring. If the preferred routing protocol continues to advertise a route despite a failure beyond its detection scope, the higher-AD static remains non-best. Administrative distance is local policy, not an end-to-end quality metric. Link-local scope adds another dependency: the correct interface and ND adjacency must be present when the backup activates. Successful failover in the RIB does not show firewall, MTU, return-path or application behavior on the alternate path. Keep detection, route withdrawal, static installation and service validation separate.

ReferenceConfiguration & state1 section · depth on demand

Design and configuration model

Configure the backup to the same IPv6 destination with an AD deliberately above the primary protocol or route. Ensure its next hop is genuinely independent enough to survive the failure scenarios the backup is meant to cover. For a link-local next hop, include the correct outgoing interface. If the primary route can remain installed during remote black holes, pair route preference with appropriate tracking only when the operational design calls for it. Avoid backup routes that recurse through the primary path, as they can appear configured but fail exactly when needed. Document expected failover and failback behavior.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical examples

Configuration & expected output

Concrete examples are shown only when the stored reference contains an actual configuration or output shape for this Topic.

Configuration example

Cisco IOS / IOS XEBackup default route with AD 250

Assumptions: Lab devices; addresses and interface names are examples.

ipv6 route ::/0 2001:DB8:1::1
ipv6 route ::/0 2001:DB8:2::1 250

Expected output

Cisco IOS / IOS XEshow ipv6 route ::/0

Expected state: During failover: the static with distance 250 is the installed route.

Routing entry for ::/0
  Known via "static", distance 250, metric 0
  Route count is 1/1, share count 0
  Routing paths:
    2001:DB8:2::1
      Last updated 00:00:42 ago
! Illustrative output, not captured Evidence.
`distance 250` shows the backup route is active, so the primary is gone. In normal operation the same command shows distance 1 (or the routing protocol) via the primary next hop.
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 8200

Authoritative/upstream documentation reviewed for bounded claims in Routing → Static Routing → IPv6 → Floating Static. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc8200.html · confidence 94%
Embedded reference data

Quick lookup tables

IPv6 floating static state

Interpret backup route presence correctly

ObservationLikely meaningNext check
Primary installed; floating static absentHealthy steady stateConfirm AD and backup config
Floating route installs after primary lossExpected failoverVerify forwarding/return path
Floating route active unexpectedlyPrimary route missing or less preferredInvestigate primary source/AD
Primary lost; floating route absentBackup not eligibleCheck next-hop/interface and AD

Floating Static · operational reference

Compact state and interpretation boundaries for fast lookup.

Floating IPv6 stateMeaning
Higher ADBackup candidate preference
Primary presentFloating route stays non-best
Primary removedStatic may install if next hop resolves
Link-local backupInterface + ND state also required

Floating Static operational reference

Topic-specific bounded interpretation: known-good state, suspicious signatures and the next technical proof boundary.

BoundaryKnown-good for Floating StaticSuspicious signatureNext proof
IntentMatches IPv6 floating static backup designConfiguration differs from peer/designCompare effective config
Control stateStable expected role/route/member statethe floating route winning all the time because its distance is too low, never activating because the primary route remains installed despite upstream failure, or activating toward an unusable next hopInspect protocol/RIB detail
ForwardingExpected egress/Port-Channel/VLAN pathState exists but traffic path disagreesFIB/MAC/adjacency
ClosureOriginal test passes for explained reasonSymptom merely moved or was bypassedRegression test
Depth when you need it

Deep reference

Additional depth

Preference-based IPv6 failover

A floating IPv6 static uses a higher administrative distance than the preferred path for the same prefix. It can remain absent from the RIB during normal operation, become eligible after primary loss, and become inactive again when the preferred route returns.

Confirmation

Confirm action

Continue?