BuildTheNet

Opening your workspace

Your learning content and tools are loading.

Device Management

show version

Shows the software version, uptime, image file, memory, interface count and configuration register.

Written by a working field network engineer · CCNA, Security+, CySA+

Hardware and software facts about the device: software version, uptime, how it last restarted, the image file, memory, interface count and the configuration register. The example is SW1, an eight-port Catalyst 2960-Plus with two Gigabit uplinks.

Example output

SW1#show version
Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 15.0(2)SE11, RELEASE SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2017 by Cisco Systems, Inc.

ROM: Bootstrap program is C2960 boot loader

SW1 uptime is 2 hours, 14 minutes
System returned to ROM by power-on
System image file is "flash:/c2960-lanbasek9-mz.150-2.SE11.bin"

cisco WS-C2960+8TC-L (PowerPC405) processor (revision B0) with 131072K bytes of memory.
Last reset from power-on
1 Virtual Ethernet interface
8 FastEthernet interfaces
2 Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.

64K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address       : 00:50:79:66:68:00

Switch Ports Model              SW Version            SW Image
------ ----- -----              ----------            ----------
*    1 10    WS-C2960+8TC-L     15.0(2)SE11           C2960-LANBASEK9-M

Configuration register is 0xF

Reference output: hand-written in standard Cisco IOS format for this example network, not captured from a device. Shortened: the compile date, boot loader version, serial number and hardware assembly lines are left out.

Useful variants

What each column or field means

FieldMeaning
VersionThe IOS release running.
uptime isTime since the last reload. An unexpectedly short uptime means the device restarted.
System returned to ROM byWhy it last restarted: power-on, reload, or a crash reason.
System image fileThe IOS image the device booted from.
memory / interfacesInstalled memory and the number and types of physical interfaces: SW1’s 8 FastEthernet and 2 Gigabit ports. The Virtual Ethernet interface is the VLAN 1 SVI; port-channels are not counted.
Base ethernet MAC AddressThe switch’s base MAC. Spanning tree uses it in the bridge ID, which is why SW1 appears as 0050.7966.6800 on the STP pages.
Configuration registerOn a router, 0x2102 is normal (boot from flash, load startup-config) and 0x2142 skips the startup-config for password recovery. Catalyst switches such as SW1 show 0xF and recover passwords from the boot loader instead.

When it doesn’t look right

Configuration register is 0x2142 on a router.

The router will ignore its saved configuration on every boot. After password recovery set config-register 0x2102 and save.

Uptime is a few minutes and nobody reloaded it.

Check “System returned to ROM by” for the reason (power, crash), and the logs.

Related commands

Try it yourself

Learn it in the CCNA path

Topic

Device Management — Read the configuration and software version, save changes, discover neighbors with CDP and LLDP, and check logging and time.

All 57 commands