100-150 CCST ยท Troubleshooting and device commands
show running-config, show version, show inventory, show switch
What show running-config, show version, show inventory and show switch display and which question each one answers.
Key points
- show running-config: the configuration currently active on the device. show version: IOS software version, hardware platform, uptime and memory. show inventory: the installed hardware parts with product ID and serial number. show switch: the members of a stacked switch and their roles.
- All are run in privileged EXEC mode.
Source: https://www.cisco.com/c/en/us/td/docs/ios/fundamentals/command/reference/cf_book/cf_s4.html
Practice questions
Which command shows the IOS software version and the device uptime?
- show running-config
- show ip route
- show mac address-table
- show version
Show answer
Answer: D. show version
show version reports software, hardware and uptime information. show running-config shows configuration, not version details.
Which command-to-purpose pairs are correct?
- show running-config - the current active configuration
- show version - IOS release, platform and uptime
- show inventory - installed parts with serial numbers
- show inventory - per-interface error counters
- show version - the MAC addresses of connected hosts
Show answer
Answer: A. show running-config - the current active configuration, B. show version - IOS release, platform and uptime, C. show inventory - installed parts with serial numbers
The first three pairs are right. show inventory does not list interface counters and show version does not list MAC addresses of hosts.
show running-config displays the configuration saved in NVRAM that will be used at the next boot.
Show answer
Answer: False
False. It shows the active configuration in memory; the saved one is the startup configuration.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
