Pcornel
Networking · Routing › Static Routing › IPv6

Verification

Cheat sheet · https://pcornel.dk/topic.php?topic=1085

Back to the Topic

Answer

Verify an IPv6 static route by checking that it is installed (show ipv6 route static), that its next hop resolves to an interface and neighbor (show ipv6 neighbors), and that traffic actually reaches the destination (ping/traceroute for IPv6).

Remember

Check in order: installed, resolved, forwarded, returned. Most "static route does not work" cases are a missing route back on the far router — test with a ping sourced from an address inside your own prefix, not from the outgoing interface.

First checks

show ipv6 route <prefix> → S, next hop, interface. show ipv6 neighbors → next hop in REACH or STALE, not INCMP. ping ipv6 <destination> source <inside interface> → tests the return path too. traceroute ipv6 <destination> → where it stops.

Commands

show ipv6 route
Display the IPv6 routing table.
show ipv6 route static
Display IPv6 static routes.
show ipv6 route <prefix>
Read-only Networking observation for Inspect IPv6 static route selection. Focus: IPv6 route source, distance/metric, ne…
show ipv6 cef <prefix> detail
Read-only Networking observation for Inspect IPv6 CEF resolution. Focus: IPv6 FIB next hop, adjacency and outgoing inte…
show ipv6 static [prefix] [interface …] [recursive] [detail]
debug ipv6 routing
show ipv6 static detail
show ipv6 route <address>
show ipv6 cef <address>
show ipv6 neighbors <interface>
show ipv6 neighbors
show ipv6 cef <destination>
ping
traceroute
show ip route

Verify in this order

route configured → installed as S → next hop resolved by neighbour discovery → CEF entry → packet leaves → far side has a route back → reply received

Where it usually breaks

underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path

IPv6 static route output cues

CueMeaningBoundary
SInstalled static IPv6 routeRIB source
S*Static candidate/default contextDefault selection
[1/0]Common static AD / metricPreference metadata
via <next-hop>Selected next hopNot ND/adjacency proof
via FE80::..., <interface>Link-local next hop plus interface scopeLink-specific forwarding context

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1085

Confirmation

Confirm action

Continue?