Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

IPv6 · Static Routing

Direct answer

IPv6 static routing works like IPv4: ipv6 route <prefix>/<length> <next hop | interface> [distance]. A next hop that is a link-local address must be given together with the outgoing interface.

When to use this

Use it to add or check an IPv6 static or default route.

First 30 seconds

1. ipv6 unicast-routing configured?

2. show ipv6 route static — installed?

3. Not installed → next hop unreachable, or link-local given without an interface.

4. show ipv6 neighbors — next hop REACH or STALE?

5. show ipv6 cef <prefix> — forwarding agrees.

Operational verification

ipv6 unicast-routing on → route configured (link-local next hop with interface) → next hop reachable and resolved by ND → route installed → CEF forwards

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Treating configured ipv6 route text as evidence the route is installed.
  • Forgetting that ::/0 loses to every longer matching installed prefix.
  • Using a link-local next hop without understanding interface scope.
  • Treating a RIB entry as evidence of Neighbor Discovery/CEF adjacency or return path.
  • Choosing a floating-static AD without comparing it to the actual primary route source.
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
Scope / prerequisiteUse it to add or check an IPv6 static or default route.
What next?2 suggested next steps
Child topics (this level)5
Evidence0
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

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

2 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 Layered verification Verify boundary

Inspect RA/ND and address lifetime/source choice, route/FIB next hop and neighbor state, then test the original IPv6 destination and return path.

Step 2 Branching troubleshooting Narrow the fault

Concrete boundaries: link/interface → RA/ND reachability → address/prefix/source selection → neighbor cache → route selection → FIB adjacency → policy/security → original IPv6 flow.

Path: Networking → Static Routing → IPv6. Local intent: IPv6: Network Route, Host Route, Default Route, Floating Static.

Command lookup Jump straight to Cisco syntax
Drill down

Subtopics

Go one level deeper into this subject.

Key points

ipv6 unicast-routing must be enabled for the router to forward IPv6. With a link-local next hop, write both interface and address: ipv6 route ::/0 Gi0/0 fe80::1. The next hop must be reachable and resolved by Neighbor Discovery.

Key checks
  • show ipv6 route static — the static routes installed.
  • show running-config | include ipv6 route|ipv6 unicast-routing — configuration.
  • show ipv6 neighbors — whether the next hop is resolved.
  • show ipv6 cef <prefix> — the forwarding entry.
  • ping ipv6 <next hop> — reachability (name the interface for link-local).
ReferenceWhat it is1 section · depth on demand

What it is

IPv6 static routing on Cisco IOS / IOS XE is configured with ipv6 route. A route identifies an IPv6 prefix and a forwarding next hop; the route must be eligible for the IPv6 RIB before it can affect forwarding.

IPv6 operation separates link-local formation, Router/Neighbor Discovery, prefix/default-router learning, optional SLAAC/DHCPv6 parameters, neighbor reachability and route/FIB programming. Close with Inspect RA/ND and address lifetime/source choice, route/FIB next hop and neighbor state, then test the original IPv6 destination and return path. and state what the evidence does not show.

ReferenceWhy it matters1 section · depth on demand

Why it matters

Use IPv6 static routes for explicit deterministic paths, a default route toward an upstream router, exact /128 host steering, or a floating backup path when dynamic routing is unnecessary or intentionally supplemented.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

IPv6 static routes: the same ideas, with a few differences

Cisco's IOS XE IPv6 static routing guide requires ipv6 unicast-routing to be enabled, IPv6 enabled on at least one interface, and an IPv6 address on that interface before static routes are configured. The syntax is ipv6 route <prefix>/<length> {<next-hop> | <interface> [<next-hop>]} [<distance>].

FormExample from the guideBehaviour
Directly attachedipv6 route 2001:DB8::/32 gigabitethernet1/0/0The destination itself is used as next hop; valid while the interface is up with IPv6
Recursiveipv6 route 2001:DB8::/32 2001:DB8:3000:1The interface comes from looking up the next hop
Fully specifiedipv6 route 2001:DB8::/32 gigabitethernet1/0/0 2001:DB8:3000:1Required on multi-access interfaces; the next hop must be directly attached
R1(config)# ipv6 unicast-routing
R1(config)# interface GigabitEthernet0/0/1
R1(config-if)# ipv6 address 2001:db8:ff::1/64
R1(config)# ipv6 route 2001:db8:30::/48 GigabitEthernet0/0/1 fe80::2
R1(config)# ipv6 route ::/0 GigabitEthernet0/0/0 fe80::1
R1# show ipv6 route static
S   2001:DB8:30::/48 [1/0]
     via FE80::2, GigabitEthernet0/0/1
S   ::/0 [1/0]
     via FE80::1, GigabitEthernet0/0/0
R1# show ipv6 static detail

Differences from IPv4 (documented)

PointDetail
tag and permanentThe guide says IPv6 static routes don't support these IPv4 keywords
Default route resolutionA recursive static route doesn't resolve through the default route unless ipv6 route static resolve default is configured
Dynamic interfacesDon't use them for static routes; the routes are lost on reconnect

Link-local next hops

Neighbouring routers often advertise only link-local addresses (fe80::/10), and those are the same on every link. A link-local next hop therefore only means something together with the outgoing interface, so use the fully specified form.

Verification

The guide lists show ipv6 static [detail], show ipv6 route static and debug ipv6 routing.

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

IPv6 static routes work like IPv4 ones with ipv6 route. When the next hop is a link-local address, the exit interface must be specified because link-local addresses are only unique per link.

ipv6 unicast-routing
ipv6 route 2001:db8:50::/48 2001:db8:12::2
ipv6 route ::/0 Gi0/0 fe80::1
ipv6 route 2001:db8:60::/48 2001:db8:13::2 200

Documented example, not captured output.

Verify with show ipv6 route static and ping to an address in the destination prefix.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
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. 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 static route forms

Fast mapping from routing intent to the source-taxonomy command form

IntentSource commandKey point
Remote prefixipv6 route <prefix>/<length> <next-hop>Next hop must be usable in the correct scope
One hostipv6 route <address>/128 <next-hop>/128 exact match
Default/fallbackipv6 route ::/0 <next-hop>Least-specific IPv6 route
Backup pathipv6 route <prefix>/<length> <next-hop> <administrative-distance>Higher AD than primary

IPv6 next-hop scope

The key IPv6-specific static-route boundary

Next hopScopeOperational requirement
Global unicastRoutable/global addressMust be recursively reachable in the IPv6 RIB
Link-local fe80::/10Link onlyMust be associated with the correct outgoing interface/link
Directly connected destination prefixLocal interface pathInterface and ND/adjacency state still matter
Depth when you need it

Deep reference

Additional depth

IPv6 route-selection and next-hop scope

For a destination, the router selects the longest matching installed IPv6 prefix. When equal prefixes come from different route sources, administrative distance participates in preference. A selected static route then has to resolve its forwarding next hop. Global-unicast next hops can be recursively routed; link-local next hops are meaningful only on a specific link, so production IOS / IOS XE syntax normally pairs a link-local next hop with an outgoing interface. The source taxonomy intentionally keeps the simplified <next-hop> form.

Confirmation

Confirm action

Continue?