Co-Authored By:
Asked by: Primitivo Lanchas
technology and computing computer networkingHow do I remove startup config?
Furthermore, what does erase startup config do?
To reset the switch to factory default, issue the erase startup-config or write erase command. This command does not clear the boot variables, such as config-register and boot system settings.
- Reset the switch to factory defaults: Erase the existing configuration: write erase. Reload the switch software: reload.
- Save the configuration: IP_switch-A-1# copy running-config startup-config.
- Reboot the switch and wait for the switch to reload: IP_switch-A-1# reload.
Then, why is it necessary to erase the startup configuration before reloading the router?
Answer: It is necessary to erase the startup configuration before reloading so that previous configurations would be reset and it won't be hard to troubleshoot if an error occurs. It is so that we wills tart with a clean state.
Completely Clearing a Cisco Switch… The Easy Way! Hold the "mode" button on the front of the switch for 10 seconds. The lights will blink then go solid – the switch completely wipes all configuration and then reboots.