cisco IOS — Displaying Configuration File Information

configuration for the device is a mixture of the original startup configuration and the one or two downloaded configuration files. Network Versus Host Configuration Files For historical reasons, the first file the device downloads is called the network configuration file. The second file the device downloads is called the host configuration file. Two configuration files can be used when all of the devices on a network use many of the same commands. The network configuration file contains the standard commands used to configure all of the devices. The host configuration files contain the commands specific to one particular host.

If you are loading two configuration files, the host configuration file should be the configuration file you want to have precedence over the other file. Both the network and host configuration files must reside on a network server reachable via TFTP, RCP, or FTP, and must be readable. How to Manage Configuration File Information Displaying Configuration File Information To display information about configuration files, complete the tasks in this section: Procedure Managing Configuration Files Network Versus Host Configuration Files Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. • Enter your password if prompted. Step 2 show boot Example:

Device# show boot Lists the contents of the BOOT environment variable (if set), the name of the configuration file pointed to by the CONFIG FILE _ environment variable, and the contents of the BOOTLDR environment variable. Step 3 more file-url Example: Device# more 10.1.1.1 Displays the contents of a specified file. Step 4 show running-config Example: Device# show running-config Displays the contents of the running configuration file. (Command alias for the more system:running-config command.) Step 5 show startup-config Example: Device# show startup-config Displays the contents of the startup configuration file.

(Command alias for the more nvram:startup-config command.) Managing Configuration Files 8