Restoring the default configuration

This restoration procedure resets the configuration to the factory defaults. The default configuration files are always present on the device and can be restored with the copy command.

About this task

To restore the default configuration, perform the following procedure in privileged EXEC mode.

Procedure

  1. Enter the copy default-config startup-config command to overwrite the running configuration with the default configuration.
    device# copy default-config startup-config
  2. Confirm that you want to make the change by entering Y when prompted.
    This operation will modify your startup configuration. Do you want to continue? [Y/N]: y
  3. Reboot the device.
    device# reload system