Use it when a configured static route is missing from the table, or traffic does not follow it.
Static
A static route (code S) is a route configured by hand: a prefix, and a next hop address and/or an outgoing interface. It stays until removed, and is installed only while its next hop can be resolved.
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.
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
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
Verify the static route in configuration, including VRF, destination mask/prefix length, next hop, exit interface and administrative distance. Then inspect the RIB for the exact destination and determine why that route did or did not win among same-prefix candidates. Follow recursive next-hop lookup until a connected route and ARP/ND adjacency are reached, then confirm CEF/FIB programs the expected egress. For a floating static, simulate or observe primary-route withdrawal in a controlled manner and show the backup installs only when intended. Test the return path independently because a correct forward static route does not create reverse reachability.
Step 2 Failure signatures and troubleshooting branches Narrow the fault
If a configured static is missing from the RIB, check next-hop recursion, interface state, VRF and competing route preference. If the RIB contains the static but CEF shows unresolved/drop behavior, inspect the supporting connected/recursive route and ARP/ND. If traffic uses an unexpected path, check for a more-specific prefix before changing administrative distance. If a floating static never activates, confirm the primary route truly withdraws and the backup next hop remains resolvable. If forwarding succeeds one way only, troubleshoot reverse routing and stateful policy rather than adding random parallel statics.
Step 3 When the problem is really fixed Narrow the fault
Closure requires the static route to install under the intended conditions, resolve to a usable FIB adjacency and carry the original traffic with a compatible return path. For floating backups, show both primary-normal and backup-failover states and restoration to the primary without a persistent black hole. Test one destination inside the static prefix and, for summaries, one boundary address so mask mistakes are exposed. Preserve configuration and observed RIB/FIB output as separate artifacts if used as Evidence; authored expectations do not constitute device verification.
Step 4 Common mistakes Narrow the fault
- Static route without a reachable next hop.
- Floating static AD set too low.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
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 works1 section · depth on demand
Quick reference
Static routes (code S) are manually configured and have administrative distance 1 by default. They stay in the table as long as their next hop is resolvable, unless tracked with IP SLA or BFD.
ip route 10.50.0.0 255.255.0.0 10.0.0.2
ip route 10.50.0.0 255.255.0.0 10.0.0.6 200 ! floating backup
show ip route static
Documented example, not captured output.
A static route whose next hop is reachable but whose real path is broken keeps black-holing traffic; use tracking for important static routes.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Static routes in the routing table (code S)
A static route is a route you configure by hand. Cisco's IOS XE routing guide gives the syntax ip route prefix mask {ip-address | interface [ip-address]} [distance] [name] [permanent | track number] [tag tag], with a default administrative distance of 1, and explains that a static route stays until removed with no ip route, but leaves the table when its interface goes down or its next hop isn't valid.
R1(config)# ip route 10.50.0.0 255.255.0.0 10.0.12.2 name TO-SITE-B
R1(config)# ip route 10.60.0.0 255.255.0.0 GigabitEthernet0/0/1 10.0.12.2
R1(config)# ip route 10.70.0.0 255.255.0.0 10.0.13.2 130
R1# show ip route static
S 10.50.0.0/16 [1/0] via 10.0.12.2
S 10.60.0.0/16 [1/0] via 10.0.12.2, GigabitEthernet0/0/1
R1# show ip static route
The 10.70.0.0/16 route with distance 130 isn't shown: it's a floating static route, installed only if the OSPF route (distance 110) for the same prefix disappears.
Forms of static routes
| Form | Behaviour |
|---|---|
| Next-hop IP | Recursive lookup to find the outgoing interface |
| Exit interface only | Treated as directly connected; on Ethernet, can cause ARP for every destination |
| Interface and next hop | No recursion, correct ARP; recommended on multi-access links |
| Floating (higher distance) | Backup to a dynamic route |
| Tracked | Removed when an IP SLA object goes down |
Behaviour from the guide
| Point | Detail |
|---|---|
| Parallel paths | Up to six static routes to one prefix can be installed |
| RIP and EIGRP | Advertise a static route that points to an interface without redistribute static, if the interface is covered by a network statement |
| Override | A dynamic route with a lower distance replaces a floating static |
Use names (name ...) to document why a static route exists.
Documented example, not captured output.
Mechanics and state ownership
A static route begins as configuration intent: for a destination prefix, the administrator specifies a next-hop address, outgoing interface or both. Before the route can enter the RIB, the router must be able to satisfy platform eligibility rules such as resolving the recursive next hop or having the referenced interface available. If another route to the exact same prefix has better administrative preference, the static may remain configured but not selected. Once installed, recursive lookup continues until the router reaches a directly connected next hop that can be programmed into the FIB/CEF with an ARP/ND adjacency. Longest-prefix match still applies across different prefixes, so a more-specific dynamic route can override a static summary without “beating” its administrative distance.
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 → Routing Table → Static. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%Quick lookup tables
Static operational reference
Topic-specific bounded interpretation: known-good state, suspicious signatures and the next technical proof boundary.
| Static-route state | Known-good | Failure signature | Next boundary |
|---|---|---|---|
| Config | Correct prefix/VRF/next hop | Wrong mask/table | Intent/config |
| RIB | Installed when intended | Configured but absent | Recursion/preference |
| Recursion | Next hop resolves | Recursive dependency missing | Supporting route |
| FIB/adjacency | Usable egress | Unresolved/drop | ARP/ND/interface |
| Floating behavior | Activates only on primary loss | Never/always active | AD/track/primary state |