Use it to add a fixed IPv6 route to a prefix behind another router, or when a configured ipv6 route does not show up in the routing table.
Network Route · IPv6
An IPv6 static network route sends traffic for a configured prefix, such as 2001:db8:20::/64, to a next hop or exit interface: ipv6 route 2001:db8:20::/64 2001:db8:12::2. The longest matching prefix wins over shorter ones.
1. ipv6 route 2001:db8:10::/64 2001:db8::2 (or interface + link-local).
2. show ipv6 route static.
3. With a link-local next hop you must also give the interface.
ipv6 unicast-routing → static route configured → next hop or interface usable → S entry in the routing table → neighbour discovery for the next hop → traffic forwarded → return route on the far side
Check the full IPv6 RIB and next-hop/interface scope before changing the prefix.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
ipv6 route <prefix>/<length> <next-hop>Primary Commands
Configuration and operational commands for this Topic.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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 static
show ipv6 route 2001:DB8:20::/64
show ipv6 neighbors
show ipv6 cef 2001:DB8:20::/64
The first lists installed static routes with [1/0] — distance 1, metric 0 — and their next hops. The second shows which route actually matches the prefix. The neighbour table shows whether the next hop has been resolved to a MAC address. CEF shows the interface the traffic leaves by.
Known-good: the prefix is installed as S via the configured next hop, the next hop is REACH or STALE, and a ping sourced from an inside interface succeeds.
Step 2 Verification and output interpretation Verify boundary
Use show ipv6 route <prefix> to confirm installation, source, AD/metric, next hop and interface. show ipv6 route static shows the static set, while CEF/platform forwarding output can show actual resolution for an address inside the prefix. If a link-local next hop is used, verify the associated interface and inspect show ipv6 neighbors for the expected adjacency. A configured route that is absent from the RIB often indicates unresolved next-hop/interface state. A neighbor entry shows local next-hop resolution, not that the remote IPv6 network has a working return route.
Step 3 Verification & troubleshooting Narrow the fault
1. Confirm the destination prefix and length.
2. Verify the next hop can be resolved in the correct interface/link context.
3. Check show ipv6 route static.
4. Check the full show ipv6 route table for the exact destination.
5. Continue to Neighbor Discovery/CEF and return path only after the RIB is correct.
Step 4 Failure signatures and troubleshooting branches Narrow the fault
- The route is configured but not in the table. The next hop cannot be resolved, or the exit interface is down.
- The command is rejected for a link-local next hop. The interface has to be given with it.
- The route is in the table but pings fail. The far router has no route back; test with a ping sourced from your inside prefix.
- Routes are present but nothing is forwarded.
ipv6 unicast-routingis missing. - Traffic takes another path. A more specific prefix exists elsewhere.
- The next hop shows
INCMP. Wrong address, wrong interface, or the neighbour is down.
Step 5 When the problem is really fixed Narrow the fault
- The prefix is in the routing table as a static route via the intended next hop.
- The next hop is resolved in the neighbour table.
- A ping sourced from an inside interface reaches the destination — which proves the return route too.
- The route is documented together with its counterpart on the far router.
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.
The intended IPv6 network prefix does not appear in the installed static-route view.
command output · Evidence referenceLink-local next-hop interface context is wrong or missingThe intended route is absent or resolves through an interface that does not match the link containing the FE80:: next-hop neighbor.
ipv6 unicast-routing must be enabled or the router does not forward IPv6. A static route is installed only while its next hop is reachable or its exit interface is up. A link-local next hop is valid only together with the interface. Static AD is 1; the most specific prefix wins.
show ipv6 route static → S entries with next hop. show ipv6 route <prefix> → the route that actually matches. show running-config | include ipv6 route|unicast-routing → what is configured. show ipv6 neighbors → next hop resolved.
ReferenceWhat it is1 section · depth on demand
What it is
An IPv6 static network route tells the router by hand where to send traffic for one IPv6 prefix: ipv6 route <prefix>/<length> <next hop>. It stays in place until you remove it and does not react to changes elsewhere in the network.
ReferenceWhy it matters1 section · depth on demand
Why it matters
It is the simple, predictable tool for a prefix behind another router where a routing protocol is unnecessary or unwanted — a small site, a stub network, a lab, a route toward a firewall. The price is that you maintain it yourself, and that the router on the other side needs a matching route back.
ReferenceImportant terms & boundaries6 sections · depth on demand
Key points
- Prefix length defines the route scope
- Longest Prefix Match still decides which installed IPv6 route applies to a destination
- A global next hop must be recursively reachable
- A link-local next hop such as
fe80::...is only unique on a link, so IOS/IOS XE normally also needs an exit-interface context - Configuration intent and RIB installation are separate evidence boundaries.
In depth
IPv6 network route: a static route for a prefix
Cisco's IOS XE IPv6 static routing guide shows network routes in three forms: directly attached (interface only), recursive (next hop only) and fully specified. It says to use the fully specified form on multi-access interfaces such as Ethernet, with a directly attached next hop.
R1(config)# ipv6 unicast-routing
R1(config)# ipv6 route 2001:db8:30::/48 GigabitEthernet0/0/1 fe80::2
R1(config)# ipv6 route 2001:db8:40::/48 2001:db8:ff::2
R1# show ipv6 route 2001:db8:30:12::7
Routing entry for 2001:DB8:30::/48
Known via "static", distance 1, metric 0
Route count is 1/1, share count 0
Routing paths:
FE80::2, GigabitEthernet0/0/1
Last updated 2d03h ago
R1# show ipv6 static 2001:db8:30::/48 detail
Forms
| Form | Example | When |
|---|---|---|
| Fully specified with link-local next hop | ipv6 route 2001:db8:30::/48 Gi0/0/1 fe80::2 | The usual choice on Ethernet; link-local next hops need the interface |
| Recursive with global next hop | ipv6 route 2001:db8:40::/48 2001:db8:ff::2 | When the neighbour has a stable global address on the link |
| Directly attached | ipv6 route 2001:db8:50::/48 Serial0/1/0 | Point-to-point links only |
Documented points
| Point | Detail |
|---|---|
| Prerequisites | ipv6 unicast-routing, IPv6 on at least one interface with an address |
| Recursive validity | The next hop must resolve to a valid output interface without self-recursion |
| Default route | Recursive routes don't resolve through ::/0 unless ipv6 route static resolve default is set |
| VRFs | The guide says IPv6 can't insert static routes into VRF tables |
Prefix lengths
IPv6 sites typically get /48 or /56, and subnets are /64. A static route for the site prefix covers every /64 inside it. On the receiving router, a discard route (ipv6 route 2001:db8:30::/48 Null0) stops traffic for unused subnets from looping back.
Documented example, not captured output.
Quick reference
An IPv6 network route is a static route to a specific IPv6 prefix, such as 2001:db8:50::/48, via a global or link-local next hop (the latter with an exit interface).
ipv6 route 2001:db8:50::/48 2001:db8:12::2
ipv6 route 2001:db8:60::/48 Gi0/1 fe80::2
show ipv6 route 2001:db8:50::
Documented example, not captured output.
The longest-match and AD rules are the same as for IPv4.
Mechanics and state ownership
Nothing is forwarded unless ipv6 unicast-routing is enabled; without it the device behaves like an IPv6 host.
The next hop can be given in three ways. A global address makes the router look that address up in turn, and the static route is installed only while that lookup succeeds. An interface alone works on point-to-point links; on Ethernet it forces the router to run neighbour discovery for every single destination and should be avoided. A link-local address together with the interface is the usual choice between routers: link-local addresses always exist and do not change when the network is renumbered, but because the same FE80:: address can exist on every link, the interface has to be named.
A static route has administrative distance 1, so it wins over a dynamic route for exactly the same prefix; a more specific prefix from any source still wins by longest match. When the exit interface goes down or the next hop can no longer be resolved, the route leaves the routing table but stays in the configuration.
State model and protocol mechanics
IPv6 static routes use prefix length rather than a dotted mask, for example 2001:db8:100::/64. As in IPv4, the configured route is a candidate that must be resolvable before it becomes useful in the RIB/FIB. A global unicast next hop can often be recursively resolved through another IPv6 route. A link-local next hop has only local-link scope and the same textual address can legitimately exist on multiple interfaces, so Cisco configuration typically requires the outgoing interface to disambiguate it. Once installed, longest-prefix match selects among IPv6 routes and Neighbor Discovery resolves the on-link next hop to a Layer 2 adjacency.
Limits and common misconceptions
IPv6 static routing does not use ARP; Neighbor Discovery supplies adjacency resolution. A link-local next hop without clear interface scope is ambiguous and should not be treated like a globally unique address. Route installation still does not validate the full remote path. IPv6 forwarding being enabled does not automatically make every static route valid, and a reachable next hop does not show policy/firewall behavior farther along the path. Keep prefix selection, recursive resolution, ND adjacency, FIB state and remote service as separate evidence layers.
ReferenceConfiguration & state1 section · depth on demand
Design and configuration model
Choose the destination prefix and next-hop form deliberately. Use a global next hop when stable global addressing and recursion are desired, or pair an exit interface with a link-local next hop when routing protocols/design use link-local adjacency. Avoid broad prefixes that unintentionally shadow expected dynamic routes. Static IPv6 routing still depends on enabled IPv6 forwarding and correct interface addressing/ND behavior. For backup use, set administrative distance explicitly. Keep endpoint and next-hop addressing documentation clear because abbreviated IPv6 notation can make configuration review harder, and ensure the route to the global next hop does not itself recurse through the destination being defined.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Configuration & expected output
Concrete examples are shown only when the stored reference contains an actual configuration or output shape for this Topic.
Configuration example
Assumptions: Lab devices; addresses and interface names are examples.
ipv6 unicast-routing
ipv6 route 2001:DB8:20::/64 2001:DB8:12::2
! link-local next hop needs the interface:
ipv6 route 2001:DB8:30::/64 GigabitEthernet0/0 FE80::2Expected output
show ipv6 route staticExpected state: Static entries with distance 1 and their next hops.
S 2001:DB8:20::/64 [1/0]
via 2001:DB8:12::2
S 2001:DB8:30::/64 [1/0]
via FE80::2, GigabitEthernet0/0
! Illustrative output, not captured Evidence.`[1/0]` = AD 1, metric 0. The second route uses a link-local next hop, so the interface is shown with it. A configured route that is missing here has an unreachable next hop or a down interface.Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Routing → Static Routing → IPv6 → Network Route. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc8200.html · confidence 94%Quick lookup tables
Network Route · operational reference
Compact state and interpretation boundaries for fast lookup.
| IPv6 route component | Meaning |
|---|---|
| Prefix/length | Destination set |
| Global next hop | Can be recursively routed |
| Link-local next hop | Requires local-link/interface context |
| ND/CEF | Resolves forwarding adjacency |
Network Route operational reference
Topic-specific bounded interpretation: known-good state, suspicious signatures and the next technical proof boundary.
| Boundary | Known-good for Network Route | Suspicious signature | Next proof |
|---|---|---|---|
| Intent | Matches IPv6 static network route design | Configuration differs from peer/design | Compare effective config |
| Control state | Stable expected role/route/member state | the route is configured but absent, a more-specific route wins unexpectedly, a link-local next hop lacks interface context, or ND cannot resolve the recursive/connected adjacency | Inspect protocol/RIB detail |
| Forwarding | Expected egress/Port-Channel/VLAN path | State exists but traffic path disagrees | FIB/MAC/adjacency |
| Closure | Original test passes for explained reason | Symptom merely moved or was bypassed | Regression test |