Restoring the default configuration
This restoration procedure resets the configuration to the factory defaults. The default configuration files are always present on the switch and can be restored with the copy command.
To restore the default configuration, perform the following procedure in privileged EXEC mode.
source_file destination_file command to overwrite the startup configuration with the default configuration.
switch# copy default-config startup-config
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
Reboot the switch.
switch# reload system