5.
issue the following commands:
dd if=/dev/zero of=/dev/externalDrive count=20
dd if=installMedia of=/dev/externalDrive bs=64k
where:
■
externalDrive
—Refers to the removable media name. For example, the
removable media name on the M120 is
da0
for both Routing Engines. For
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.
■
installMedia
—Refers to the installation media downloaded into the
/var/tmp
directory. For example,
install-media-9.0R2.10–domestic.tgz
.
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
6.
Log out as
su
:
exit
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.
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
.
2.
In the CLI operational mode, save this edited base configuration as the rescue
configuration file:
user@host>
request system configuration rescue save
3.
Copy the rescue configuration to a remote server:
44
■
Saving a Rescue Configuration File
JUNOS Release 10.2 Software Installation and Upgrade Guide
Summary of Contents for JUNOS 10.2
Page 6: ...vi...
Page 8: ...viii JUNOS Release 10 2 Software Installation and Upgrade Guide...
Page 14: ...xiv List of Figures JUNOS Release 10 2 Software Installation and Upgrade Guide...
Page 16: ...xvi List of Tables JUNOS Release 10 2 Software Installation and Upgrade Guide...
Page 24: ...2 Introduction JUNOS Release 10 2 Software Installation and Upgrade Guide...
Page 44: ...22 Boot Sequence J Series Routers JUNOS Release 10 2 Software Installation and Upgrade Guide...
Page 46: ...24 JUNOS Software Installation JUNOS Release 10 2 Software Installation and Upgrade Guide...
Page 64: ...42 Upgrading Routers Using ISSU JUNOS Release 10 2 Software Installation and Upgrade Guide...
Page 82: ...60 JUNOS Software Licenses JUNOS Release 10 2 Software Installation and Upgrade Guide...
Page 86: ...64 License Key Components JUNOS Release 10 2 Software Installation and Upgrade Guide...
Page 91: ...Part 4 Index Index on page 71 Index 69...
Page 92: ...70 Index JUNOS Release 10 2 Software Installation and Upgrade Guide...