IOS supports many different types of show commands. This section covers a few of the common show commands used to both manage and troubleshoot a router. The scope of this document is not to instruct how to use these commands to troubleshoot a router, but to make the user aware that these management options exist. For specific information about troubleshooting a network using these commands, refer to the appropriate troubleshooting document.
To display the running-configuration, type the following command in privileged EXEC mode:
To display the startup-configuration that is stored in NVRAM, type the following command in privileged EXEC mode:
The following is the show running-config output from the example used in the Router Configuration section.
enable password cisco
ip address 10.1.1.1 255.0.0.0
ip address 220.127.116.11 255.0.0.0
ip route 0.0.0.0 0.0.0.0 18.104.22.168
line vty 0 4
When displaying a configuration, the exclamation marks (!) function as line separators to make reading easier. Referring to the above example, notice how commands entered at the interface configuration level appear indented underneath the respective interface (e.g. interface Ethernet0). Likewise, commands entered underneath the routing engine configuration level appear indented underneath the routing engine (e.g. router rip). Global level commands are not indented. This type of display allows a user to easily identify which configuration parameters are set at the global configuration level and which are set at the various configuration sub-levels.
Note: If an interface was in a shutdown state, the word ‘shutdown’ would appear indented under the particular interface in shutdown state. Also, commands that are enabled by default are not displayed in the configuration listing.