Pcornel
Networking · IOS / IOS XE Fundamentals

Device Information

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

Back to the Topic

Answer

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.

Remember

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

First checks

  • show version — model, IOS version, uptime, reload reason
  • show inventory — PIDs and serial numbers
  • show license summary — licensing
  • show platform — module state (XE)

Commands

show bootvar
Shows the BOOT variable (the image to load), the configuration file and the configuration register.
show env all
Shows fan, temperature and power supply status on a Catalyst switch or stack member.
show flash:
Lists the files in flash with their size and date, plus used and free space.
show license usage
Lists each license the device uses with its count, version, status and enforcement type.
show memory statistics
Shows the processor and I/O memory pools with total, used, free, lowest-ever free and largest free block.
show processes cpu history
Shows CPU usage as text graphs for the last 60 seconds, 60 minutes and 72 hours.
show processes cpu sorted
Shows CPU utilization for the last 5 seconds, 1 minute and 5 minutes, with the busiest processes first.
show processes memory sorted
Shows total, used and free processor memory, with the processes holding the most memory first.
show reload
Shows whether a reload is scheduled and when it will happen.
show license status
Shows the Smart Licensing state: transport and reporting settings, registration or trust-code status, and the last and …
show switch
Lists the members of a Catalyst stack with role, MAC address, priority, hardware version and state.
show tech-support
Collects the output of many show commands in one long report for troubleshooting or a Cisco TAC case.
show platform
Display installed hardware modules and their state.
show inventory
Display hardware inventory with serial numbers.
show version
Display software version, uptime and hardware.
show license summary
Display installed licenses.

Verify in this order

show version/inventory → record → compare with standards

Where it usually breaks

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

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

Confirmation

Confirm action

Continue?