Performing a factory reset on a Cisco router is often the definitive solution for persistent configuration errors, forgotten passwords, or when preparing a device for resale. This process erases all stored settings, returning the hardware to its original state as it left the factory. While the procedure is straightforward, it requires careful attention to avoid unnecessary downtime. Understanding the exact steps ensures you can recover network connectivity swiftly and securely.
Preparing for the Reset
Before initiating the reset, proper preparation prevents data loss and streamlines the recovery process. You must gather the necessary physical and digital resources to manage the router once it reboots. Because the reset wipes the configuration, you need alternative methods to access the device.
Physical and Network Requirements
Ensure you have a console cable, typically an RJ45 to DB9 or USB adapter, to connect directly to the router. This cable bypasses the network interfaces, providing direct access to the bootloader and CLI. Additionally, verify that your laptop or PC has a compatible port or adapter for the connection.
Establishing a Console Session
Use a terminal emulation program like PuTTY or Tera Term to establish a serial connection. The standard baud rate for Cisco devices is 9600, with 8 data bits, no parity, 1 stop bit, and no flow control (9600, 8, N, 1). This setup allows you to view the router's output and input commands even when the operating system is inactive.
Initiating the Factory Reset
The reset process is executed during the router's boot sequence, requiring you to interrupt the normal loading of the operating system. This interruption grants you access to the ROM Monitor mode, where specific configuration registers are adjusted to bypass the startup configuration stored in NVRAM.
Step-by-Step Hardware Reset
Power off the router completely by disconnecting the power supply. With the device unpowered, locate the Mode button on the console panel. Press and hold this button while simultaneously reconnecting the power supply. Continue holding the Mode button until the System LED transitions to a green state, indicating the bootloader is ready.
Configuring the Boot Register
Once in ROM Monitor mode, you will be presented with a prompt. Enter the command `confreg 0x2142` and press Enter. This specific configuration register value instructs the router to ignore the contents of NVRAM upon the next reboot, effectively forcing it to operate in setup mode or load a default configuration. Reloading the Device After setting the configuration register, the final step in the hardware reset is to restart the router. This action triggers the bootstrap loader to initialize the hardware with the new register setting. The device will now bypass the saved configuration and operate as if it were new.
Reloading the Device
Executing the Reload Command
In the ROM Monitor prompt, type the command `reset` or `boot` to initiate the reload. The router will perform a power-on self-test and then reboot. Because the configuration register is set to ignore NVRAM, the system will not load the old configuration, and the factory defaults will take effect.
Post-Reset Configuration
Following the reset, the router will typically prompt you through the initial setup dialog. This interactive menu allows you to define basic parameters such as the hostname, management IP address, and enable passwords. If the setup dialog does not appear, you can manually enter configuration mode to begin rebuilding your network policies.
Verifying Default Operation
To confirm the reset was successful, use the `show version` command in privileged EXEC mode. This command displays the hardware version, uptime, and the configuration register value. Verify that the uptime is low and that the configuration register matches the value you set (0x2142), confirming that the device is operating with default settings.