Use it after adding or changing a static route.
Verification · IPv4
1. Configured (show running-config | include ip route) but not in show ip route static?
2. → show ip route <next hop>: the next hop is not reachable.
3. Tracked route → show track <n>: down?
4. Installed but not used → a longer prefix wins, or a lower distance.
5. Interface-only route on Ethernet → add the next hop address.
Inspect the full route selection and then CEF/adjacency/ARP for the actual destination.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show ip cef <prefix> detailShow Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
show ip cef <prefix> detailReferenceInspect detailed CEF recursion/forwarding state.
Use when: Inspect detailed CEF recursion/forwarding state.
Quick note: This output proves only its local evidence boundary; continue to the next layer.
Cisco IOS / IOS XE · mixedshow ip route <prefix>ReferenceDisplay the route the router uses for a destination or prefix.
Use when: Inspect the exact installed route and next-hop decision.
Quick note: This output proves only its local evidence boundary; continue to the next layer.
Cisco IOS / IOS XE · mixedshow ip route staticShowDisplay static routes in the routing table.
Use when: Quickly determine which configured static candidates actually reached the current IPv4 RIB.
Quick note: Presence proves local RIB installation only; it does not prove CEF adjacency, remote return path or application reachability.
Cisco IOS / IOS XE · control planeshow ip routeShowIPv4 RIB routes and selected next hops.
Use when: Use at the Network Troubleshooting, Ping, Traceroute and Debugging boundary after prerequisite state is verified.
Quick note: Operational guidance. One successful probe does not prove all sources, packet sizes, protocols, directions or times are healthy.
Cisco IOS XE · mixedHow to read the output
show ip cef <prefix> detailLook first: prefix adjacency/next hop and egress interface
Healthy: CEF resolves the prefix to the intended adjacency.
Warning: Drop/punt/unresolved adjacency or unexpected egress.
Does not prove: A CEF entry does not prove downstream reachability or return path.
show ip route <prefix>Look first: route source/code, prefix, next hop, outgoing interface
Healthy: Expected prefix is installed with intended next hop/source.
Warning: Route absent, unexpected protocol/AD/metric, recursive next hop or wrong exit.
Does not prove: RIB presence does not prove FIB programming or packet delivery.
show ip route staticLook first: route source/code, prefix, next hop, outgoing interface
Healthy: Expected prefix is installed with intended next hop/source.
Warning: Route absent, unexpected protocol/AD/metric, recursive next hop or wrong exit.
Does not prove: RIB presence does not prove FIB programming or packet delivery.
show ip routeLook first: route source/code, prefix, next hop, outgoing interface
Healthy: Expected prefix is installed with intended next hop/source.
Warning: Route absent, unexpected protocol/AD/metric, recursive next hop or wrong exit.
Does not prove: RIB presence does not prove FIB programming or packet delivery.
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 First 30 seconds Verify boundary
Immediate answer: Verify exact prefix, administrative distance, recursive next hop and CEF adjacency before testing the application path.
Verification chain: configured static → RIB candidate → recursive resolution → selected RIB route → CEF adjacency → packet → return path
Stop condition: A static route in configuration does not show it is installed; an installed route does not show two-way service reachability.
Step 2 Known-good, broken and proof-boundary verification Verify boundary
Known-good is the intended static route installed in the correct VRF, recursive resolution complete, CEF pointing to the expected adjacency, and the original destination reachable with the intended path. Broken state includes unresolved next hop, wrong mask/VRF, hidden route or incomplete adjacency. Compare running config, RIB and CEF for the same prefix. A configured or installed static route does not show return-path or application health; closure requires the original workload plus adjacent next-hop evidence.
Step 3 Native known-good discriminator and proof boundary — Verification Verify boundary
Healthy IPv4 static-route Verification requires the expected prefix/next hop and administrative preference in show ip route, the intended adjacency/egress in show ip cef <prefix> detail, and successful repetition of the original sourced flow. Suspicious evidence includes an unexpected competing route, unresolved recursion, glean/drop adjacency, wrong VRF or a route that exists only in configuration. RIB/CEF output shows selection and local forwarding-programming state only; it cannot show remote acceptance or symmetric return. Compare the reverse route/peer response and rerun the original workload before closing the change.
Step 4 RIB-to-forwarding workflow Narrow the fault
1. show ip route static — which static routes are installed?
2. show ip route — which prefix/source actually wins and what is the gateway of last resort?
3. Check the route to the configured next hop when recursive resolution is involved.
4. Inspect CEF/adjacency/ARP if the RIB is correct but traffic still fails.
5. Then test policy, upstream reachability and the return path.
Stop at the first step that disagrees with the design.
Step 5 Failure isolation: observation → implication → next check Narrow the fault
If the static route is missing from the RIB, verify exact prefix/mask, VRF and next-hop reachability, then compare competing routes and administrative distance. If the RIB contains it but traffic fails, inspect CEF adjacency/ARP and the next-hop segment. If outbound forwarding works but replies fail, inspect remote route and return path. If a tracked/floating route behaves unexpectedly, confirm the tracked dependency and timing. Do not add another static route until the failing step is known.
Step 6 Common mistakes Narrow the fault
- Checking only the route, not the return route.
- Pinging from the default source instead of the relevant interface.
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 target prefix appears as an installed static route with the intended next hop/interface and administrative distance.
command output · Evidence referenceStatic route is in the RIB but traffic still failsThe exact destination is covered by the intended installed static route and next hop in the local routing table, but the traffic test still fails.
A static route with a next hop is installed only if that next hop is reachable through another route. Its distance is 1, so it beats every protocol unless configured higher. On Ethernet, give a next hop address, not just the interface.
show ip route static— the static routes installed.show running-config | include ip route— those configured.show ip route <next hop>— whether the next hop is reachable.show ip cef <prefix>— forwarding for the prefix.show track— if the route is tied to a track object.
ReferenceHow it works2 sections · depth on demand
Mechanics, state owner and dependency boundary
IPv4 static-route verification separates configuration, recursive next-hop resolution, RIB selection and FIB/CEF programming. A static route can exist in configuration but stay out of the RIB because the next hop is unresolved or a better route wins; a RIB entry can still fail in forwarding if adjacency/CEF state is incomplete. Track prefix, administrative distance, VRF, next hop and outgoing interface as one route identity.
Native protocol/state mechanics and ownership — Verification
IPv4 static-route Verification spans configured route intent, RIB selection and CEF programming. show ip route and show ip route <prefix> expose the selected routing information base entry; show ip route static isolates static candidates; show ip cef <prefix> detail exposes recursive forwarding resolution and adjacency programming. These are separate state owners: a configured static can be absent from the RIB, a RIB route can resolve differently in CEF, and a correct CEF entry can still be blocked later by ACL, PBR, NAT or return-path policy.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Verifying static routes: installed, resolved and used
A configured static route isn't necessarily installed, and an installed one isn't necessarily the one used. Check all three.
R1# show running-config | include ^ip route
ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/0/0 203.0.113.1 name ISP-A
ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/0/2 198.51.100.1 10 name ISP-B
ip route 10.30.0.0 255.255.0.0 GigabitEthernet0/0/1 10.255.0.2
R1# show ip route static
S* 0.0.0.0/0 [1/0] via 203.0.113.1, GigabitEthernet0/0/0
S 10.30.0.0/16 [1/0] via 10.255.0.2, GigabitEthernet0/0/1
R1# show ip route 10.30.12.7
R1# show ip cef 10.30.12.7 detail
R1# traceroute 10.30.12.7 source Loopback0
R1# show ip static route
The ISP-B default (AD 10) is configured but not in the routing table, because the AD 1 route is present. That's the intended floating behaviour.
Checks
| Question | Command |
|---|---|
| Is the route configured? | show running-config | include ip route |
| Is it installed? | show ip route static |
| Which route wins for an address? | show ip route <address> (longest match) |
| What will forwarding use? | show ip cef <address> |
| Does traffic follow it? | traceroute |
Why a route isn't installed
| Cause | Check |
|---|---|
| A better AD route for the same prefix exists | show ip route <prefix> shows the other source |
| Exit interface down | show ip interface brief |
| Next hop not resolvable | show ip route <next-hop> |
| AD 255 | Cisco's technote notes 255 means unreachable and is never installed |
Why a dead route stays installed
Cisco's technote shows a primary static route staying in the table after its link failed, because the next hop was still reachable through another, less specific route. If show ip route <next-hop> resolves via an unexpected route, the static route will stay installed. Use fully specified routes or tracking to avoid it.
Documented example, not captured output.
Method
IPv4 static route verification confirms the route is installed and that traffic actually follows it.
1. show ip route static — the route is present (not just configured).
2. If missing: check the next hop is reachable (show ip route <next-hop>) and the exit interface is up.
3. show ip cef <destination> — the forwarding entry and adjacency.
4. ping/traceroute to a host in the destination network, from the right source.
5. Check the return path on the remote side.
| Observation | Meaning |
|---|---|
| Configured, not in table | Next hop unresolvable, interface down, or better AD route exists |
| In table, traffic fails | Adjacency/ARP, remote return route, ACL |
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
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 → IPv4 → Verification. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc791.html · confidence 94%Quick lookup tables
IPv4 static route troubleshooting flow
Move from route intent to forwarding in evidence order
| Step | Verify | Primary evidence |
|---|---|---|
| 1 | Exact destination and intended prefix | Address/prefix design |
| 2 | Installed static route | show ip route static |
| 3 | Winning route / default | show ip route |
| 4 | Recursive next hop or exit interface | Route/interface state |
| 5 | Forwarding programming / adjacency | CEF + ARP/adjacency |
| 6 | Policy and return path | ACL/PBR/NAT/upstream route |
| 7 | Service | Ping/transport/application test |
Static route output cues
Common Cisco IOS / IOS XE fields used during quick lookup
| Cue | Meaning | Boundary |
|---|---|---|
S | Installed static route | RIB route source |
S* | Static route associated with candidate/default context | Default-route selection context |
[1/0] | Common static AD / metric display | Preference / route metadata |
via <next-hop> | Recursive next hop shown | Next-hop selection, not adjacency proof |
Gateway of last resort | Selected default next-hop context | Default routing, not upstream proof |