Use it to identify the hardware, software version, uptime and serial number of a device before working on it.
Device Information
Device information commands identify what you are working on: show version (software, uptime, reload reason), show inventory (hardware and serial numbers), show license and show platform.
1. Device information identifies model, version, serials and licensing.
2. Check reload reason after unexpected restarts.
3. Inventory is needed for support cases.
4. Compare version with release notes and advisories.
5. Record in inventory/CMDB.
show version/inventory → record → compare with standards
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show versionShow Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
show versionShowDisplay software version, uptime and hardware.
Use when: Use at the IOS / IOS XE Fundamentals boundary after prerequisite state is verified.
Quick note: Operational guidance. A command accepted by the parser does not prove feature support, correct scope, persistence or desired forwarding behavior.
Cisco IOS / IOS XE · mixed · verifiesshow inventoryShowDisplay hardware inventory with serial numbers.
Use when: Use at the IOS / IOS XE Fundamentals boundary after prerequisite state is verified.
Quick note: Operational guidance. A command accepted by the parser does not prove feature support, correct scope, persistence or desired forwarding behavior.
Cisco IOS / IOS XE · mixedshow platformShowDisplay installed hardware modules and their state.
Use when: Use at the IOS / IOS XE Fundamentals boundary after prerequisite state is verified.
Quick note: Operational guidance. A command accepted by the parser does not prove feature support, correct scope, persistence or desired forwarding behavior.
Cisco IOS / IOS XE · mixedshow license summaryShowDisplay installed licenses.
Use when: Use at the IOS / IOS XE Fundamentals boundary after prerequisite state is verified.
Quick note: Operational guidance. A command accepted by the parser does not prove feature support, correct scope, persistence or desired forwarding behavior.
Cisco IOS / IOS XE · mixedshow clockShowDisplay the device date and time.
Use when: Use at the IOS / IOS XE Fundamentals boundary after prerequisite state is verified.
Quick note: Operational guidance. A command accepted by the parser does not prove feature support, correct scope, persistence or desired forwarding behavior.
Cisco IOS / IOS XE · mixedshow bootvarShowShows the BOOT variable (the image to load), the configuration file and the configuration register.
Use when: Before a reload after an upgrade, or when a device booted the wrong image.
Quick note: Catalyst 9000 switches in install mode boot packages.conf. On some platforms the command is show boot.
Cisco IOS / IOS XE · configuration · verifiesshow env allShowShows fan, temperature and power supply status on a Catalyst switch or stack member.
Use when: A switch logs environmental alarms, reboots unexpectedly, or you check a site after a power event.
Quick note: Syntax differs by platform. Catalyst 9000 uses show env all (show environment all is also accepted). Routers use show environment.
Cisco IOS / IOS XE · state · verifiesshow flash:ShowLists the files in flash with their size and date, plus used and free space.
Use when: Before copying a new image, or to check that the boot image is present.
Quick note: On Catalyst 9000 the same files are under bootflash:, and dir flash: gives the same listing.
Cisco IOS / IOS XE · state · verifiesshow license usageShowLists each license the device uses with its count, version, status and enforcement type.
Use when: You need to know which license level (for example Network Advantage or DNA Advantage) the device actually uses.
Quick note: Status IN USE means the feature set is active. Compare the level with what was ordered for the device.
Cisco IOS / IOS XE · configuration · verifiesshow memory statisticsShowShows the processor and I/O memory pools with total, used, free, lowest-ever free and largest free block.
Use when: The device logs memory allocation failures, or you check headroom before an upgrade.
Quick note: A small "Largest" value with plenty of "Free" means fragmented memory. Large allocations can then fail even though memory looks free.
Cisco IOS / IOS XE · state · verifiesshow processes cpu historyShowShows CPU usage as text graphs for the last 60 seconds, 60 minutes and 72 hours.
Use when: You need to know whether high CPU is a short spike or a lasting problem.
Quick note: "*" marks the maximum and "#" the average in each interval. A spike pattern with a fixed period often matches polling or backups.
Cisco IOS / IOS XE · state · verifiesshow processes cpu sortedShowShows CPU utilization for the last 5 seconds, 1 minute and 5 minutes, with the busiest processes first.
Use when: The device is slow, protocols flap, or monitoring reports high CPU.
Quick note: "8%/4%" means 8% total, of which 4% is interrupt (packet handling). High interrupt CPU points at punted traffic, not at a process.
Cisco IOS / IOS XE · state · verifiesshow processes memory sortedShowShows total, used and free processor memory, with the processes holding the most memory first.
Use when: Free memory is low, or you suspect a memory leak.
Quick note: Compare two outputs hours apart. A process whose Holding value only grows is the leak candidate.
Cisco IOS / IOS XE · state · verifiesshow reloadShowShows whether a reload is scheduled and when it will happen.
Use when: During a change where you scheduled "reload in" as a safety net, or after an unexpected reboot.
Quick note: "reload in 10" before a risky remote change gives a way back if you lose access. Remove it with reload cancel when the change works.
Cisco IOS / IOS XE · state · verifiesshow license statusShowShows the Smart Licensing state: transport and reporting settings, registration or trust-code status, and the last and next usage report.
Use when: Licenses show as not authorized, or you need to check that the device reports usage to CSSM, SSM On-Prem or CSLU.
Quick note: On IOS XE 17.3.2 and later the device uses Smart Licensing Using Policy. Missing ACKs make the device log reminders but normally do not stop features.
Cisco IOS / IOS XE · configuration · verifiesshow switchShowLists the members of a Catalyst stack with role, MAC address, priority, hardware version and state.
Use when: A stack member is missing, or after a stack reload or member replacement.
Quick note: "Ready" is the normal state. The asterisk marks the switch you are logged in to.
Cisco IOS / IOS XE · state · verifiesshow tech-supportShowCollects the output of many show commands in one long report for troubleshooting or a Cisco TAC case.
Use when: You open a TAC case, or need a full snapshot of the device state.
Quick note: Send it to a file instead of the screen, for example show tech-support | redirect flash:tech.txt. The output contains the configuration, so handle it as sensitive.
Cisco IOS / IOS XE · mixed · verifiesVerification & 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 Verification and output interpretation Verify boundary
Use show version as the canonical release/uptime reference, then show inventory or platform views when module/serial/FRU identity matters. Preserve exact release strings in handoffs to ChatGPT. Prefer read-only canonical commands first and preserve exact software release, hardware identity and configuration scope in copied evidence. Compare active state with intended state and, where persistence matters, compare running and startup sources. For a claim about forwarding or protocol behavior, follow the configuration evidence with the corresponding operational table rather than stopping at configuration text.
- User EXEC, privileged EXEC, global and subconfiguration modes have different scope
- Running-config is active state; startup-config is boot input
- IOS XE separates a Linux-based platform and modular processes from the IOS CLI experience
- Syntax and feature support remain model, license and release specific.
show version— model, IOS version, uptime, reload reasonshow inventory— PIDs and serial numbersshow license summary— licensingshow platform— module state (XE)
ReferenceWhy it matters1 section · depth on demand
When to use it
Use it to navigate safely, distinguish configuration from observation, and capture the exact platform and release before applying syntax.
ReferenceImportant terms & boundaries4 sections · depth on demand
In depth
Device information commands
A few show commands answer most questions about a device. Cisco's IOS XE CLI fundamentals guide describes show version as displaying system hardware and software status, show running-config as the active configuration, and the output filters (| include, | begin, | exclude) that narrow long output.
Core information commands
| Command | Shows |
|---|---|
show version | Software version, uptime, reload reason, hardware, memory, licence, configuration register |
show inventory | Chassis, modules, transceivers with serial numbers |
show running-config | Active configuration |
show startup-config | Saved configuration |
show ip interface brief | Interfaces, addresses, status |
show interfaces status | Switch ports: VLAN, speed, duplex, type |
show cdp neighbors / show lldp neighbors | Directly connected devices |
show logging | Recent log messages |
show processes cpu sorted | CPU load per process |
show platform / show environment | Hardware state, power, fans, temperature |
SW1# show version | include Version|uptime|reason|Model Number|System Serial
Cisco IOS XE Software, Version 17.12.04
SW1 uptime is 41 weeks, 2 days, 3 hours, 12 minutes
Last reload reason: PowerOn
Model Number : C9300-48P
System Serial Number : FOC2512X0AB
SW1# show inventory | include NAME|PID
NAME: "c93xx Stack", DESCR: "c93xx Stack"
PID: C9300-48P , VID: V02 , SN: FOC2512X0AB
NAME: "Te1/1/1", DESCR: "SFP-10GBase-SR"
PID: SFP-10G-SR , VID: V03 , SN: AVD2201K1AB
SW1# show processes cpu sorted | include CPU utilization
CPU utilization for five seconds: 7%/1%; one minute: 6%; five minutes: 6%
Information for support cases
| Item | Command |
|---|---|
| Full diagnostic bundle | show tech-support (long; redirect to a file) |
| Crash information | show logging, dir crashinfo: / core files |
| Interface problems | show interfaces <int>, show interfaces <int> transceiver detail |
SW1# show tech-support | redirect flash:tech-2026-11-28.txt
SW1# copy flash:tech-2026-11-28.txt scp://user@10.99.0.20/cases/
Record the hostname, serial number and software version in every change and incident record; they are the first things support asks for.
Documented example, not captured output.
Quick reference
Device information commands identify hardware, software and health: model, serial numbers, IOS XE version, uptime, reload reason, memory, CPU and environment status. They are the first output to collect for inventory and support cases.
show version
show inventory
show environment all
show processes cpu sorted
show platform resources
show license summary
Documented example, not captured output.
show tech-support collects most of this in one file for TAC cases; redirect it to flash or a server because the output is very long.
Architecture/protocol mechanics and state model
show version, inventory and platform views answer different identity questions: software release/image, chassis/module/serial identity, uptime/reload context and platform-specific component state. Cisco IOS/IOS XE reference work should keep parser context, active running state, persistent startup state and device runtime state as separate concepts. Commands can be syntactically valid in one mode and invalid or semantically different in another. A useful reference records the exact prompt/mode and distinguishes observation commands from state-changing commands, because the CLI itself is an interface to multiple subsystems rather than a single flat shell.
Limits and common misconceptions
A version string does not show feature support on every SKU/license, and inventory presence does not show a module is healthy or forwarding. Keep software identity, hardware inventory and runtime health separate. CLI state, stored configuration, software image, hardware inventory and service health are different evidence layers. The site should make those boundaries explicit and leave live fault synthesis to ChatGPT. Exact output fields and some defaults vary by platform/release, so generic Cisco references should retain version context whenever a feature claim depends on it.
ReferenceConfiguration & state1 section · depth on demand
Design and configuration intent
Record device identity before changes or evidence capture: hostname, platform, serial, software release, boot image, uptime and relevant modules/licenses. Exact syntax/output can vary, but identity must remain unambiguous. Configuration intent should be reviewable before and after change. Capture the relevant current state, make the smallest scoped change, verify the resulting runtime behavior and decide explicitly whether persistence across reload is intended. Avoid equating command acceptance with technical success, and avoid saving unrelated changes simply because the device has unsaved configuration.
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 IOS / IOS XE Fundamentals → Device Information. 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%Official Cisco guidance confirming show version as software/image/hardware release evidence. Verification covers the reference concepts represented by this Topic; deployment-specific runtime behavior still requires local evidence.
Basis: https://sec.cloudapps.cisco.com/security/center/resources/ios_nx_os_reference_guide · confidence 92%Quick lookup tables
Device Information · operational reference
Compact state/design/evidence reference for fast lookup.
| View | Primary evidence | Does not prove |
|---|---|---|
show version | Software/image/uptime | Feature health |
show inventory | FRU/serial identity | Operational state |
| Platform view | Component state | End-to-end service |
| License view | Entitlement/state | Configuration correctness |