Juniper JUNOS SOFTWARE 10.2 - SOFTWARE INSTALLATION AND UPGRADE GUIDE 4-28-2010 Upgrade Manual page 66

Table of Contents

Advertisement

JUNOS Release 10.2 Software Installation and Upgrade Guide
5.
6.
Saving a Rescue Configuration File
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:
1.
2.
3.
44
Saving a Rescue Configuration File
issue the following commands:
dd if=/dev/zero of=/dev/externalDrive count=20
dd if=installMedia of=/dev/externalDrive bs=64k
where:
—Refers to the removable media name. For example, the
externalDrive
removable media name on the M120 is
the names of the storage media, see "Routing Engines and Storage Media
Names (M Series, MX Series, T Series, TX Matrix, and TX Matrix Plus
Routers)" on page 16.
—Refers to the installation media downloaded into the
installMedia
directory. For example,
The following code example can be used to create an emergency boot disk using
a PC Card on an M20 router:
dd if=/dev/zero of=/dev/ad3 count=20
dd if=install-media-9.0R2.10 domestic.tgz of=/dev/ad3 bs=64k
The following code example can be used to create an emergency boot disk using
a USB storage device on an M120 router or a TX Matrix Plus router:
dd if=/dev/zero of=/dev/da0 count=20
dd if=install-media-9.0R2.10 domestic.tgz of=/dev/da0 bs=64k
Log out as
su
:
exit
Edit the configuration file on the router to reflect the base configuration you wish
to use.
For more information about editing the configuration, see the JUNOS System
Basics Guide.
In the CLI operational mode, save this edited base configuration as the rescue
configuration file:
user@host> request system configuration rescue save
Copy the rescue configuration to a remote server:
for both Routing Engines. For
da0
install-media-9.0R2.10 domestic.tgz
/var/tmp
.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos 10.2

Table of Contents