After reboot, it will not ask you the secret password and will proceed to the setup wizard or initial system configuration dialog, as it booted up with a blank configuration.ĥ. Follow this command, confreg 0x2142, to ignore the startup-configuration and reset or reload the router. Press the break sequence (ctrl-Break) while the router is initializing to break into ROMMON prompt.ģ. The following procedure is the steps when we are going to recover the forgotten enable password or enable secret command configured in our Cisco router or switch.Ģ.
Resetting the Cisco router to factory default involves erasing the NVRAM. Router 1#copy running-config startup-configĤ. Save the configuration using the ‘copy running-config startup-config’ command. No service timestamps debug datetime msecģ. Verify the configuration by using one of the following commands.
In the global configuration mode, create a hostname first on the router as we will use it for verification if the router is already reset into the factory settings. The following procedure is the steps when we are going to factory reset a Cisco router.ġ.
We will discuss how to restore our Cisco routers and switches to the factory defaults and also how to implement password recovery on them.įactory Reset on Cisco Router or Switch IOS It will make a new and blank startup configuration file, and it will show you the setup wizard for a quick configuration of the router.īut what if we want to retain the existing configuration on the router? Another solution is to perform a password recovery on the router. What if we forget the login credentials of our Cisco routers or switches and we are not able to log in to make changes in configuration? To reset the Cisco router or switch is one of the quickest ways to resolve the issue.