Juniper Rescue Configuration
In addition to snapshots, Juniper devices can generate a rescue configuration. This is a known good configuration that’s saved in case there is a disaster.
If there’s a problem with the ‘live’ configuration (such as a corruption), the rescue configuration can automatically be loaded. This also provides a known-good configuration that you may wish to roll back to.
To create the rescue configuration:
user@Switch01> request system configuration rescue save
Use show system configuration rescue to see the entire rescue configuration.
To rollback to the rescue configuration:
user@Switch01# rollback rescue load complete user@Switch01# commit
Some EX-Series switches come with an LCD panel on the front. If you have lost access to the switch, you can use the LCD panel to rollback to the rescue configuration.
References
Juniper – Rescue Configuration