Reset Edgerouter to Factroy Defaults
There are several methods for resetting to factory defaults:There are several methods for resetting to factory defaults:
1. Runtime reset: Use the hardware Reset button while the system is already up and running (available since v1.1.0)
2. Power-on reset: Use the hardware Reset button while powering up the device
Reset config file to defaults from CLI. (Note: This only reset the start-up configuration and will not reset any other system changes.)
3. Last resort recovery (recompile, scripts, etc.). Only use this after trying the previous methods.
Press and hold the reset button for +/- 20sec
There should be a light that is blinking when it stops, continue to hold for a little longer and then stop
The new “runtime reset to factory defaults” feature achieves the same result as the previous reset mechanism (holding reset button while powering up the device) but should be easier to perform since it is done while the device is already up and running.
To perform the runtime reset, follow these steps:
The device should be up and running. If the device is just powered on and still booting, wait until booting is completed.Press and hold the Reset button.The right LED on the right-most Ethernet port should start flashing within a couple of seconds.Continue holding the Reset button until the LED becomes ON (no flashing). You may need to hold the button for about 10 seconds total.A few seconds after the LED becomes ON, it will turn OFF. This means the reset is completed, and the unit will automatically reboot at this point.Wait for the reboot to complete for the defaults to take effect.The reset mechanism also logs its actions in syslog, so, for example, if you look at the syslog during the reset, you may see the following messages:
1. Disconnect the Power Adapter from the Power port.
2. Press and hold the Reset button while connecting the Power Adapter to the Power port.
3. Keep holding the button until the right LED of the last Ethernet port (port 2) starts flashing.
4. Continue holding the button until the LED becomes ON (not flashing) after a few seconds.
5. The LED becomes OFF after about a second, indicating the reset is complete.
Reset config file from CLI
Note: This only reset the start-up configuration and will not reset any other system changes. If you cannot physically access the EdgeRouter, you can copy the default configuration to the start-up configuration using the CLI:
cp /opt/vyatta/etc/config.boot.default /config/config.boot
Then reboot the router to load the default configuration.
The default IP address for the EdgeRouter is 192.168.1.1
SSH and GUI are enabled by default, you can use either to proceed with configuration.