ISR 4K Factory reset to return to Cisco

This guide i used to reset to factory before ship back to Cisco. so there is no config in the router.

Reset Cisco ISR4XXX Router to Factory Settings :

To reset your router settings back to the original factory Configuration, follow the below steps. This will delete(Format) any configuration you have on your Cisco router.

The steps below assume you have connected your Cisco router to a console and have accessed your router’s command-line interface(CLI).

  1. First switch off your router.
  2. Then, switch on your router and within the first 20 seconds of startup send a break character to the terminal.
    • Windows OS – If you are using PuTTY, on your keyboard press Ctrl + Break buttons at the same time; or you right click on the bar at the top of the PuTTY window and select Special Command > Break.
    • You may also refer end of this blog – how can do it.
  3. Next, You will immediately be taken to the prompt.
  4. After that, at the prompt, type the following command to tell the Cisco router to skip the existing configuration or settings on startup: confreg 0x2142.
  5. Then, at the prompt, type the following command to restart the Cisco router: reset.
  6. The router will restart shortly.
  7. Next, If you are prompted for initial configuration dialogue, type no.
  8. Then, After the loading has stopped, press Return to be taken to the main prompt on screen.
  9. At the prompt:
    • Type en to enter privileged mode
    • Type write erase to issue the erase comment
    • Type y to confirm erase command
    • Type configure t
    • Type config-register 0x2102 this tells the Cisco  router to process existing config on startup
    • Type end
  10. Finally, switch off your router and then turn it back on. Your router has now been restored to the original factory configuration.

How to Simulate a Break Key Sequence

Break key sequence simulation is useful if your terminal emulator does not support the break key, or if a bug does not allow your terminal emulator to send the correct signal.

Note: The hyperterminal under Windows NT had this behavior in the past.

Complete these steps to simulate a break key sequence:

  1. Connect to the router with these terminal settings:1200 baud rateNo parity8 data bits1 stop bitNo flow controlYou no longer see any output on your screen, and this is normal.
  2. Power cycle (switch off and then on) the router and press the SPACEBAR for 10-15 seconds in order to generate a signal similar to the break sequence.
  3. Disconnect your terminal, and reconnect with a 9600 baud rate. You enter the ROM Monitor mode.

If all these methods fail to properly send a break, retry the procedures from a different terminal or PC platform.

Happy Labbbbiiiiiiiiiiiiiiiiiiiiiiiiiii!