To restore a saved configuration, perform the following tasks:
To copy the saved configuration to the router:
Escape character is '^]'.
[Enter]
router (ttyd0)
login: root
Password: [Enter]
Initially, access to the router is limited to the console port after a recovery installation. Access through the management ports and interfaces is set in the configuration. For information on accessing the router through the console port, see the administration guide for your particular router.
# cli
root@host> ftp remote-server
user: username
password: password
ftp> bin
Type set to I.
ftp> get /path/file
ftp> bye
Goodbye.
Once the saved configuration file is copied to the router, you load and commit the file:
user@routername> configure
Entering configuration mode
[edit]
user@host#
user@host#
load override /var/tmp/filename
load complete
user@host# commit
commit complete
user@host# exit
user@host>
After you have installed the software on the router, committed the configuration, and are satisfied that the new configuration is successfully running, issue the request system snapshot command to back up the new software to the /altconfig file system. If you do not issue the request system snapshot command, the configuration on the alternate boot drive will be out of sync with the configuration on the primary boot drive.
The request system snapshot command causes the root file system to be backed up to /altroot, and /config to be backed up to /altconfig. The root and /config file systems are on the router’s CompactFlash card and the /altroot and /altconfig file systems are on the router’s hard disk.