Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Operational Show Commands

Direct answer

Operational show commands read a device's current state without changing it. Each is a snapshot: counters must be compared over time, and several outputs combined, before drawing a conclusion.

When to use this

Use them first in any investigation, and to prove a fix worked.

First 30 seconds

1. Pick the command that proves the state in question.

2. Run it, note show clock.

3. For counters: clear counters <interface>, wait, run again.

4. Cross-check with a second view (log, neighbour table, route).

5. Run the same command after the fix.

Operational verification

question defined → the command that answers it chosen → output filtered → time recorded → counters compared over an interval → confirmed by a second source

Evidence · next step

Confirm remote collector receipt/source identity and compare timestamps.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE · Cisco IOS XE · IOS/IOS XE
Key commandshow ip route <destination>
Scope / prerequisiteUse them first in any investigation, and to prove a fix worked.
Show · 10Reference · 2
What next?3 suggested next steps
Catalog command links12
Evidence1
On this pageJump to a specific section
Verification

Show Commands

Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.

How to read the output

show ip route <destination>

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 cef <destination> detail

Look 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 interfaces

Look first: line/protocol state, errors/discards, rate, duplex/speed, last input/output

Healthy: State and counters align with expected traffic and physical conditions.

Warning: CRC/input errors, drops, resets, queue drops or unexpected negotiation.

Does not prove: An interface counter is a symptom until correlated with path/time/workload.

show ip route

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.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Known-good, broken and when it is fixed Verify boundary

Known-good means the required state chain is internally consistent and the original workload succeeds. Broken evidence is the first concrete state/counter that diverges from design or baseline. The limit of what it shows is fundamental: a healthy show command shows only the state it directly owns, but it does not show adjacent dependencies or end-to-end service. Document command, scope, timestamp and interpretation so the evidence can be reproduced.

Step 2 Verification and output interpretation Verify boundary

Read state plus counters/deltas, confirm the exact VRF/address family/interface where applicable, and cross-check summary output with a more specific command when the conclusion matters.

Step 3 Native failure isolation and next-check logic Narrow the fault

Build a short evidence chain from the symptom: interface/line state, relevant protocol/session, route or VLAN selection, forwarding/adjacency, policy/counters, then endpoint/service. Compare exact objects and timestamps and prefer deltas during the original test. If one show output is healthy, move to the next dependency rather than repeating equivalent commands. If outputs conflict, investigate stale state, VRF/context mismatch or control-plane/data-plane divergence before making changes.

Evidence references

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.

other · 1
Command lookup Jump straight to Cisco syntax
Key points

Filter instead of scrolling: | include, | exclude, | section, | begin. Counters are totals since the last clear — clear them, wait, look again. Note the time with each output so it can be matched with logs.

Key checks
  • show ip interface brief — every interface, address and state.
  • show interfaces <interface> — counters and errors.
  • show ip route <dst> — the route used.
  • show logging | include <keyword> — related events.
  • show running-config | section <keyword> — one feature's configuration.
  • show clock — the time of the output.
ReferenceHow it works1 section · depth on demand

How it works

Operational show commands expose current device state across interfaces, control planes, FIB/adjacency, policy and counters. Their diagnostic power comes from selecting the command owned by the suspected boundary and keeping object scope explicit. Configuration output is desired state; protocol summaries are control-plane state; CEF/MAC/ARP and counters are forwarding evidence. No single command is universally authoritative across all layers.

ReferenceImportant terms & boundaries4 sections · depth on demand

In depth

Operational show commands

Show commands are the safe, read-only way to understand a device's state. Cisco's IOS XE CLI fundamentals guide pairs them with output filters (| include, | begin, | exclude) and paging searches, which make it practical to find the relevant lines in long output.

Show commands by question

QuestionCommand
Is the interface up, any errors?show interfaces <int>, show ip interface brief, show interfaces status
Which routes, which path?show ip route <dst>, show ip cef <dst>
Neighbours up?show ip ospf neighbor, show ip eigrp neighbors, show bgp ipv4 unicast summary
Layer 2show mac address-table, show vlan brief, show spanning-tree, show etherchannel summary
Who is connected?show cdp neighbors, show lldp neighbors, show ip arp
What happened?show logging
Healthshow processes cpu sorted, show memory statistics, show environment
Configurationshow running-config | section <keyword>
R1# show ip interface brief | exclude unassigned
R1# show interfaces GigabitEthernet0/0/1 | include line protocol|rate|errors|drops
GigabitEthernet0/0/1 is up, line protocol is up
  5 minute input rate 41200000 bits/sec, 6100 packets/sec
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
  Input queue: 0/375/0/0 (size/max/drops/flushes); Total output drops: 0
R1# show ip ospf neighbor
Neighbor ID     Pri   State           Dead Time   Address         Interface
10.255.0.2        0   FULL/  -        00:00:35    10.0.12.2       GigabitEthernet0/0/1
R1# show running-config | section router ospf
R1# show logging | include %OSPF|%BGP|%LINEPROTO

Before and after a change

SnapshotUse
Interfaces, routes, neighbours, CPUCompare after the change
show running-configRollback reference
Countersclear counters after the change to see new errors

Save outputs before maintenance (for example with a script or Catalyst Center's command runner); comparing before and after is the fastest way to spot what changed.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Quick reference

Operational show commands display the current state of a device and are the core of troubleshooting. The right command depends on the layer and protocol.

AreaCommand
Interfacesshow ip interface brief, show interfaces status
Layer 2show mac address-table, show spanning-tree, show etherchannel summary
Layer 3show ip route, show ip cef, show ip arp
Protocolsshow ip ospf neighbor, show bgp summary, show standby brief
Healthshow processes cpu sorted, show logging

Filter large output with | include, | section and | begin.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Protocol/service mechanics and state model

Operational show commands expose configuration, interface, protocol, route, forwarding, counter and platform state without intentionally changing the network. Each command has a scope and refresh model: some values are instantaneous, some cumulative counters, some cached state, and some summaries of deeper tables. Correct interpretation starts by knowing which subsystem owns the field being read.

Limits and common misconceptions

A show command can be technically correct yet irrelevant to the failing layer. “Up”, “Established” or “installed” states do not automatically show adjacent dependencies or end-to-end service. Every assurance signal has blind spots.

ReferenceConfiguration & state1 section · depth on demand

Design and configuration intent

Prefer a minimal read-only command set that moves from physical/interface state through control plane and RIB/FIB toward service evidence. Preserve timestamps and command context so before/after comparisons are meaningful.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

Authoritative/upstream documentation reviewed for bounded claims in Network Assurance → Troubleshooting → Operational Show Commands. 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%
Embedded reference data

Quick lookup tables

Operational Show Commands · operational reference

Compact protocol/state/evidence reference for fast lookup.

Show evidenceScope
InterfaceLink/counters
ProtocolNeighbor/control state
RouteRIB selection
CEFForwarding programming
Confirmation

Confirm action

Continue?