There are two configuration files for Cisco devices

There are two configuration files for Cisco devices

  • running-config
  • startup-config

These configuration files summarize the configuration commands configured on Cisco devices as a text file. The following example output is part of running-config.

Fig. running-config sample
Fig. running-config sample

Some of the configuration commands in running-config are explicitly set by the administrator, while others are included by default, but please keep in mind that each line of this output is a configuration command.

running-config is the currently running configuration file and the running-config file is stored in memory (DRAM). The commands you enter are reflected in the running-config file and the Cisco devices operate according to the running-config file.

And the startup-config is the configuration file for the Cisco devices when they start up. The startup-config is stored in NVRAM where its contents are not erased when the power is turned off. the startup-config file in NVRAM is copied to the running-config in DRAM when the Cisco device starts up. Therefore, when it starts up, it is running with the configuration of the contents of the startup-config.

Saving your configuration

Saving your configuration means copying “running-config” to “startup-config”. if you copy running-config to startup-config. the configuration commands you set for the Cisco device will be reflected when you reboot.

Fig. running-config and startup-config
Fig. running-config and startup-config

Cisco Basic