Pcornel
Browse topics
Options
Recent
Favorites
Command · Cisco IOS XE

show ip route

show ip route

IPv4 RIB routes and selected next hops.

Read output firstroute source/code, prefix, next hop, outgoing interface
HealthyExpected prefix is installed with intended next hop/source.
WarningRoute absent, unexpected protocol/AD/metric, recursive next hop or wrong exit.
Does not proveRIB presence does not prove FIB programming or packet delivery.
Execution context

exec

Use when

Use at the Network Troubleshooting, Ping, Traceroute and Debugging boundary after prerequisite state is verified.

Privilege execState impact Read-onlyProduction Unknown

Operational impact: Read-only; protect operational output and limit broad queries.
Command detailsSafety model · family · platform · verification · bundle
Privilegeexec
Execution contextexec
State impactRead-only
Safe during productionUnknown
CategoryRouting
Evidence levelmixed
Primary DomainNetworking
Historical technical verificationNeeds verification dateCurrent command content requires review after a Git edit.
Family Outing
PlatformCisco IOS XE
Prerequisiteexec
Output fields

Field glossary

Important fields projected from persisted Command guidance.

Exact interface, VLAN/VRF, address, peer, state, counters, timestamps and returned scope.

Important persisted output field; use surrounding guidance for interpretation.

Alternatives / equivalents

Related syntax choices

Alternative relations and equivalent groups are shown without claiming identical semantics.

Command → Topic semantics

Used in these Topics

Each relation carries both placement role and operational semantic: verifies, configures, troubleshoots, collects evidence, changes state or general.

Find another Command

Reference enrichment

Evidence boundary

What this output can establish — and where you must not over-claim.

Proves

Supports the state directly exposed by show ip route for the selected object and execution context.

Does not prove

Does not by itself prove root cause, adjacent dependency health, effective end-to-end behavior, return-path health or workload recovery.

Next check

Confirm forwarding for the same prefix with show ip cef <prefix>, and check that the next hop resolves (show ip route <next-hop>, show ip arp <next-hop>). Then repeat the original ping/traceroute from the intended source and check the return route on the far side.

Depth when you need it

Command guidance

Execution context

exec

Use when

Use at the Network Troubleshooting, Ping, Traceroute and Debugging boundary after prerequisite state is verified.

Important fields

Exact interface, VLAN/VRF, address, peer, state, counters, timestamps and returned scope.

Common problems

Wrong scope, stale state, missing attachment, asymmetric path, permissions or unsupported platform syntax.

Operational impact

Read-only; protect operational output and limit broad queries.

Runtime cautions

Capture command, target and timestamp; compare with adjacent evidence.

Technical context

Operational guidance. One successful probe does not prove all sources, packet sizes, protocols, directions or times are healthy.

Aliases

routing table
Output contract

Signatures & field dictionary

Stored signatures help classify observed output; field definitions explain how to read the command without treating a single token as end-to-end proof.

Output field dictionary

FieldRoute code

Source protocol or connected/local origin.

FieldPrefix

Installed destination network and prefix length.

Fieldvia

Selected next hop and often the route age/interface.

Command Output Deep Dive

Variants · known-good and broken output

Read the stored sample against its authored expected state and interpretation, then return to the Command evidence boundary for what the observation can and cannot prove.

Known-good · 3Broken · 2Transitional · 1Observed · 2
1 · Observe the exact persisted fields/state.2 · Compare with authored known-good, broken or transitional samples.3 · Apply the Command evidence boundary; output is not end-to-end proof.4 · Run the next discriminating check and repeat the original workload/test when relevant.
Bounded illustrative output patternKnown-good · Cisco IOS / IOS XE
O    10.10.0.0/16 [110/20] via 192.0.2.2, 00:02:12, GigabitEthernet1
Expected state

Required prefix exists with the expected source, next hop/interface, AD and metric.

Interpretation

Illustrative structural pattern, not verbatim vendor output. RIB presence does not prove a usable FIB adjacency or return path. Next: Resolve the selected next hop with CEF/adjacency and test the original traffic.

Evidence boundary

Supports the state directly exposed by show ip route for the selected object and execution context.

Does not prove: Does not by itself prove root cause, adjacent dependency health, effective end-to-end behavior, return-path health or workload recovery.
Illustrative connected VLAN routesObserved · Cisco IOS / IOS XE
C    10.10.10.0/24 is directly connected, Vlan10
    L    10.10.10.1/32 is directly connected, Vlan10
    C    10.20.20.0/24 is directly connected, Vlan20
    L    10.20.20.1/32 is directly connected, Vlan20
Expected state

connected inter-VLAN networks installed

Interpretation

Illustrative RIB proves local connected routes. It does not prove endpoint VLAN membership, ARP or return-path success.

Evidence boundary

Supports the state directly exposed by show ip route for the selected object and execution context.

Does not prove: Does not by itself prove root cause, adjacent dependency health, effective end-to-end behavior, return-path health or workload recovery.
Known-good interpretationKnown-good · Cisco IOS XE
COMMAND: show ip route
STATE: known-good
Key fields: interface/neighbor/session=up/established/expected; exact VRF/VLAN/address-family object present; route/MAC/policy state selected; counters stable or incrementing for test flow.
RESULT: expected operational state is present for the tested object/context.
Expected state

Known-good

Interpretation

Known-good means the important fields agree with the intended object and the command is observing the correct context. Correlate protocol/control state with RIB/FIB/CEF or switching state and verify counters move for the test packet. This proves only the state exposed by this command; close with the adjacent dependency and original workload rather than treating a green-looking output as end-to-end proof.

Evidence boundary

Supports the state directly exposed by show ip route for the selected object and execution context.

Does not prove: Does not by itself prove root cause, adjacent dependency health, effective end-to-end behavior, return-path health or workload recovery.
Transitional interpretationTransitional · Cisco IOS XE
COMMAND: show ip route
STATE: transitional
Key fields: init/exstart/loading/active/converging/pending; hold/dead/retry timer active; sequence or counter still advancing; forwarding entry may be incomplete.
RESULT: the object is negotiating, converging, applying, rebuilding, retrying or otherwise not yet terminal.
Expected state

Transitional

Interpretation

Transitional output is not automatically broken. Networking protocols legitimately pass through negotiation/convergence states; state plus timers and progress distinguishes normal transition from stuck control plane. Preserve timers, counters, sequence/task identifiers and whether progress changes between samples. If progress stops past the expected operating envelope, branch to the dependency that owns the transition instead of repeatedly restarting the whole stack.

Evidence boundary

Supports the state directly exposed by show ip route for the selected object and execution context.

Does not prove: Does not by itself prove root cause, adjacent dependency health, effective end-to-end behavior, return-path health or workload recovery.
Illustrative IPv4 RIB with static defaultObserved · Cisco IOS / IOS XE
Gateway of last resort is 192.0.2.1 to network 0.0.0.0\n\nS*   0.0.0.0/0 [1/0] via 192.0.2.1\nC    192.0.2.0/24 is directly connected, GigabitEthernet0/0\nL    192.0.2.10/32 is directly connected, GigabitEthernet0/0\nS    10.20.0.0/16 [1/0] via 192.0.2.2
Expected state

The RIB contains the connected path needed to resolve static next hops plus the intended static/default prefixes.

Interpretation

Illustrative only. Route table output is a local control-plane view, not end-to-end forwarding proof.

Evidence boundary

Supports the state directly exposed by show ip route for the selected object and execution context.

Does not prove: Does not by itself prove root cause, adjacent dependency health, effective end-to-end behavior, return-path health or workload recovery.
Broken interpretationBroken · Cisco IOS XE
COMMAND: show ip route
STATE: broken
Key fields: down/idle/disabled/inconsistent; expected route/VLAN/neighbor/prefix missing; unresolved next hop/adjacency; drops/errors for test flow.
RESULT: expected state is absent, failed, denied, unresolved or inconsistent for the tested object/context.
Expected state

Broken

Interpretation

Broken output localizes a candidate boundary. Local failure state narrows the boundary but still requires comparison with peer/link/policy and return path. It still does not establish root cause by itself; compare the same field with the adjacent control/data-plane or upstream/downstream dependency, then make the smallest controlled correction and repeat the original test.

Evidence boundary

Supports the state directly exposed by show ip route for the selected object and execution context.

Does not prove: Does not by itself prove root cause, adjacent dependency health, effective end-to-end behavior, return-path health or workload recovery.
Known-good route entryKnown-good · Cisco
O    10.20.0.0/16 [110/20] via 192.0.2.2, 00:08:14, GigabitEthernet0/0
Expected state

healthy

Interpretation

The expected OSPF prefix is installed via the intended next hop. RIB presence does not prove end-to-end application reachability.

Evidence boundary

Supports the state directly exposed by show ip route for the selected object and execution context.

Does not prove: Does not by itself prove root cause, adjacent dependency health, effective end-to-end behavior, return-path health or workload recovery.
Known-bad missing-specific-route exampleBroken · Cisco
Gateway of last resort is 192.0.2.254 to network 0.0.0.0
S*   0.0.0.0/0 [1/0] via 192.0.2.254
-- expected 10.20.0.0/16 route is absent --
Expected state

broken

Interpretation

The expected specific prefix is absent from this RIB view; the default route is not equivalent proof.

Evidence boundary

Supports the state directly exposed by show ip route for the selected object and execution context.

Does not prove: Does not by itself prove root cause, adjacent dependency health, effective end-to-end behavior, return-path health or workload recovery.
Confirmation

Confirm action

Continue?