A rescue configuration file is helpful in the event that your router’s configuration file has been misconfigured. You can restore the router to this rescue configuration to bring the router back online. If you save this file off the router, the rescue configuration can also be used to restore your router in the event of a software failure.
To save a current router configuration as a rescue configuration file:
For more information about editing the configuration, see the JUNOS System Basics Guide.
user@host> request system configuration rescue save
user@host> ftp host
Name: username
Password: password
230 User user logged in.
ftp> cd /filepath
ftp> lcd /config
ftp>bin
Type set to I.
ftp> put rescue.conf.gz
Transfer complete.
ftp> bye
Goodbye.