Resetting the Configuration File When the SRX110 Services Gateway Is Inaccessible
You can use the SRX110 Services Gateway's Reset Config button to restore the device's configuration file when the current one is faulty or fails. You can also change the default behavior of the Reset Config button.
This topic includes the following sections:
- Using the Reset Config Button on the SRX110 Services Gateway
- Changing the Reset Config Button Behavior on the SRX110 Services Gateway
Using the Reset Config Button on the SRX110 Services Gateway
If a configuration fails or denies management access to the services gateway, you can use the Reset Config button to restore the device to the factory default configuration or a rescue configuration. For example, if someone inadvertently commits a configuration that denies management access to a services gateway, you can delete the invalid configuration and replace it with a rescue configuration by pressing the Reset Config button.
![]() | Note: The Reset Config button is recessed to prevent it from being pressed accidentally. |
The rescue configuration is a previously committed, valid configuration. You must have previously set the rescue configuration through the J-Web interface or the CLI.
To press the Reset Config button, insert a small probe (such as a straightened paper clip) into the pinhole on the front panel.
- By default, pressing and quickly releasing the Reset Config
button loads and commits the rescue configuration through the J-Web
interface or the CLI. The Status LED glows amber during this time.
For details, see the Junos OS CLI Reference
.
- By default, pressing and holding the Reset Config button
for 15 seconds or more—until the Status LED glows amber—deletes
all configurations on the device, including the backup configurations
and rescue configuration, and loads and commits the factory configuration.
For details about factory default settings, see the following guides:
Changing the Reset Config Button Behavior on the SRX110 Services Gateway
You can change the default operation of the Reset Config button by limiting how the button resets the services gateway:
- To prevent the Reset Config button from setting the device
to the factory default configuration and deleting all other configurations:
admin@host# set chassis config-button no-clear
You can still press and quickly release the button to reset it to the rescue configuration.
- To prevent the Reset Config button from setting the device
to the rescue configuration:
admin@host# set chassis config-button no-rescue
You can still press and hold the button for 15 seconds or more to reset the gateway to the factory defaults.
- To disable the button and prevent the device from resetting
to either configuration:
admin@host# set chassis config-button no-clear no-rescue
The no-rescue option prevents the Reset Config button from loading the rescue configuration. The no-clear option prevents the Reset Config button from deleting all configurations on the services gateway.
To return the function of the Reset Config button to its default behavior, remove the config-button statement from the device configuration.