To restore the default configuration, perform the following procedure in privileged EXEC mode.
device# copy default-config startup-config
This operation will modify your startup configuration. Do you want to continue? [Y/N]: y
device# reload system