Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Network Route · IPv6

Direct answer

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.

When to use this

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.

First 30 seconds

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.

Operational verification

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

Evidence · next step

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
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>
Scope / prerequisiteUse it to add a fixed IPv6 route to a prefix behind another router, or when a configured ipv6 route does not show up in…
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 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-routing is 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 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

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.

Key checks

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

FormExampleWhen
Fully specified with link-local next hopipv6 route 2001:db8:30::/48 Gi0/0/1 fe80::2The usual choice on Ethernet; link-local next hops need the interface
Recursive with global next hopipv6 route 2001:db8:40::/48 2001:db8:ff::2When the neighbour has a stable global address on the link
Directly attachedipv6 route 2001:db8:50::/48 Serial0/1/0Point-to-point links only

Documented points

PointDetail
Prerequisitesipv6 unicast-routing, IPv6 on at least one interface with an address
Recursive validityThe next hop must resolve to a valid output interface without self-recursion
Default routeRecursive routes don't resolve through ::/0 unless ipv6 route static resolve default is set
VRFsThe 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.

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

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

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
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 XEStatic route with a global next hop, and the same with a link-local next hop

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::2

Expected output

Cisco IOS / IOS XEshow ipv6 route static

Expected 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.
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 → Network Route. 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

Network Route · operational reference

Compact state and interpretation boundaries for fast lookup.

IPv6 route componentMeaning
Prefix/lengthDestination set
Global next hopCan be recursively routed
Link-local next hopRequires local-link/interface context
ND/CEFResolves forwarding adjacency

Network Route operational reference

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

BoundaryKnown-good for Network RouteSuspicious signatureNext proof
IntentMatches IPv6 static network route designConfiguration differs from peer/designCompare effective config
Control stateStable expected role/route/member statethe 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 adjacencyInspect 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
Confirmation

Confirm action

Continue?