IPv6 static and default routes on Cisco IOS: next hops, link-local addresses and floating routes
In short: IPv6 static routes use the ipv6 route command with a prefix and either a next-hop address, an exit interface or both. A link-local next hop is only meaningful on one link, so it must be paired with the exit interface. Default routes use ::/0, and a higher administrative distance makes a floating backup route.
The command
The syntax mirrors IPv4: ipv6 route prefix/length {next-hop | interface | interface next-hop} [distance]. The router must already have ipv6 unicast-routing enabled.
The three ways to point a route
- Next-hop global address (recursive):
ipv6 route 2001:db8:20::/48 2001:db8:10:ff::2. The router looks up the next hop in its own table to find the exit interface. - Exit interface only:
ipv6 route 2001:db8:20::/48 Serial0/1/0. Fine on point-to-point links. On Ethernet it is a poor idea, because the router has to resolve every destination address with Neighbour Discovery. - Fully specified:
ipv6 route 2001:db8:20::/48 GigabitEthernet0/1 fe80::2. This is the only valid way to use a link-local next hop. Without the interface the router has no idea which link fe80::2 lives on, and IOS rejects the command.
Many engineers prefer link-local next hops on point-to-point links, because they do not change if the global addressing on the link is renumbered.
Default, summary and floating routes
! Default route to the ISP
ipv6 route ::/0 GigabitEthernet0/2 fe80::1
! Backup default over a 4G router, used only if the first disappears
ipv6 route ::/0 2001:db8:10:fe::2 200
! One summary towards the branch sites
ipv6 route 2001:db8:40::/44 2001:db8:10:ff::2
The default static route has an administrative distance of 1. Giving the backup a distance of 200 keeps it out of the routing table until the primary is withdrawn, for example when the exit interface goes down. As with IPv4, a static route pointing at a next hop that is still reachable will not be withdrawn just because the far end stopped forwarding, so pair important routes with IP SLA tracking.
Reading the IPv6 routing table
show ipv6 route marks static routes with S. The two numbers in brackets are administrative distance and metric, for example [1/0]. show ipv6 route static lists only static routes, and show ipv6 static detail tells you whether each one is installed and, if not, why. A route that does not appear is usually waiting on a next hop that is not resolvable.
Real-world example: renumbering without pain
A small company received a new /48 from a second ISP and renumbered its WAN link. The branch router used ipv6 route ::/0 GigabitEthernet0/0 fe80::1, so the default route kept working throughout, while static routes on the head office router that pointed at the old global next hop all went missing at once. The team rewrote those as fully specified link-local routes as well, so the next renumbering would not touch them.
Practice
Why does ipv6 route ::/0 fe80::1 fail on IOS?
ipv6 route ::/0 <interface> fe80::1.What prefix represents the IPv6 default route?
::/0.How do you make a static route a backup that only appears when the primary fails?
Key takeaways
- ipv6 route uses a prefix plus a next hop, an exit interface or both.
- Link-local next hops must be paired with the exit interface.
- ::/0 is the IPv6 default route; a higher distance makes it a floating backup.
- show ipv6 static detail explains why a static route is not installed.
Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.