The router resumes factory settings
Write commands in privileged mode
Router#erase startup-config restores factory settings
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]
[OK]
Erase of nvram: complete
% SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvram
Router#reload restart the system
Restore factory settings are complete.