Pcornel
Networking · Network Assurance › Troubleshooting

Operational Show Commands

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

Back to the Topic

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.

Remember

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.

First 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.

Commands

show ip interface brief
Compact IPv4 interface/address/protocol state.
show ip route
IPv4 RIB routes and selected next hops.
show logging
Logging configuration, buffer and recent messages.
show ipv6 interface brief
Quick IPv6 interface/address overview.
show interfaces
Display interface status, counters and errors.
show arp
Display the ARP cache.
show ipv6 route
Display the IPv6 routing table.
show ipv6 neighbors
Inspect IPv6 neighbor cache state and L2 mappings.
show processes cpu
Display CPU utilization by process.
show memory
Display memory usage.
show ip route <destination>
Read-only observation for selected route, source, next hop and outgoing interface.
show ip cef <destination> detail
Read-only observation for FIB next hop, adjacency and forwarding disposition.
show interfaces <int>
show interfaces status
show ip route <dst>
show ip cef <dst>

Verify in this order

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

Where it usually breaks

physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result

Operational Show Commands · operational reference

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

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

Confirmation

Confirm action

Continue?