How do I erase my router configurations when I'm done with the router?
How to erase router configurations
This article assumes that you are already connected to the router and have access to the EXEC mode CLI (i.e., the prompt ends with a # sign, similar to Router#. If you can't get to this prompt because of an unknown password, check out this knowledgebase article.
To erase your router configurations, follow these steps:
- From the privileged EXEC prompt, type the command
erase startup-config
which will delete the startup configuration. - When you receive the following message:
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]
Press ENTER to confirm. - Now restart the router by entering the command
reload
. - You may receive a message that says:
System configuration has been modified. Save? [yes/no]:
Typeno
and press enter to ensure you don't save anything before reloading. - Finally, you will receive the following message:
Proceed with reload? [confirm]
Press ENTER to confirm.
When the router restarts, it should prompt you to enter the initial configuration dialog, at which point you can disconnect from the router.