How to Reset a Cisco Router or Switch to Factory Default
Complete procedure to erase startup configuration and reload a Cisco router or switch to factory defaults, including the `erase startup-config` and `reload` commands.
Step-by-step
- Connect via console cable to the device
- Enter privileged EXEC mode:
enable - Erase the startup configuration:
erase startup-config(confirm when prompted) - Reload the device:
reload(confirm when prompted, do NOT save) - After reboot, the device will enter initial configuration dialog — type
noto skip - Verify factory default:
show running-configshould show minimal default config
Reference: www.tutorialspoint.com