video demonstration on how to save switch configuration files




If changes made to the running configuration do not have the desired effect and the running-config file has not yet been saved, you can restore the device to its previous configuration by removing the changed commands individually or reload the device using the reload privileged EXEC mode command to restore the startup-config.

The downside to using the reload command to remove an unsaved running configuration is the brief amount of time the device will be offline, causing network downtime.

When initiating a reload, the IOS will detect that the running config has changes that were not saved to the startup configuration. A prompt will appear to ask whether to save the changes. To discard the changes, enter n or no.

Alternatively, if undesired changes were saved to the startup configuration, it may be necessary to clear all the configurations. This requires erasing the startup configuration and restarting the device. The startup configuration is removed by using the erase startup-config privileged EXEC mode command. After the command is issued, the switch will prompt you for confirmation. Press Enter to accept.

After removing the startup configuration from NVRAM, reload the device to remove the current running configuration file from RAM. On reload, a switch will load the default startup configuration that originally shipped with the device.

1 comment: