On J-series Services Routers, if the current configuration fails, you can load a rescue configuration or the factory default configuration by pressing the CONFIG (Reset) button:
![]() |
Caution: When you set the router back to the factory default configuration, the current committed configuration and all previous revisions of the router’s configuration are deleted. |
To limit how the CONFIG button resets a router configuration, include one or both of the following statements at the [edit chassis] hierarchy level:
- [edit chassis]
-
config-button {
- no-clear;
- no-rescue;
- }
no-clear—Prevents resetting the router to the factory default configuration. You can still press and quickly release the button to reset to the rescue configuration (if one was set previously).
no-rescue—Prevents resetting the router to the rescue configuration. You can still press and hold the button for more than 15 seconds to reset to the factory default configuration.
When both the no-clear and no-rescue statements are present, the CONFIG button does not reset to either configuration.