28.06.2014 Views

Discussion

Discussion

Discussion

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

You can also copy the software to the router and then install that copy:<br />

aviva@RouterA> file copy server1:junos-jseries-7.4R1.7-export-cf256.gz /cf/var/tmp<br />

aviva@server1's password:<br />

junos-jseries-7.4R1.7-export-cf256.gz 100% 64MB 774.5KB/s 01:24<br />

aviva@RouterA> request system software add validate unlink reboot /cf/var/tmp/junosjseries-7.4R1.7-export-cf256.gz<br />

<strong>Discussion</strong><br />

To upgrade to a newer software release, first download the J-series install package,<br />

junos-jseries, from the Juniper Networks web site (http://www.juniper.net/support)<br />

and copy it to a local server and then to the router. When moving the package to the<br />

router, a good place to put it is /cf/var/tmp.<br />

The request system software command includes a few options. The validate option<br />

checks that the new software is compatible with your current router configuration<br />

file. When you are updating to a different release of the JUNOS software, the validation<br />

check is performed automatically. The unlink option removes the software<br />

package from the router as soon as possible to make more room on the hard disk for<br />

the installation to complete. The final option reboots the router after the validation<br />

and the installation complete and if the upgrade is successful. When the reboot is<br />

complete, you see the login prompt.<br />

Use the request system software add command to install the new software. During<br />

the installation, the filesystem on the router’s flash disk is rebuilt and all components<br />

of the JUNOS software are completely reinstalled. Configuration information<br />

from the previous software installation is retained, but the contents of logfiles might<br />

be erased. This is why you take a snapshot of the software using the request system<br />

snapshot command before you load a new version of the software (see Recipe 1.19).<br />

See Also<br />

Juniper Networks web site (http://www.juniper.net/support); Recipes 1.19, 1.20, and<br />

1.22<br />

1.24 Creating an Emergency Boot Disk<br />

Problem<br />

You want to create a boot disk to use in an emergency if the software and filesystems<br />

on the router become so damaged that you just want to reconfigure the router from<br />

scratch.<br />

Solution<br />

Create a PCMCIA boot flash card that contains the JUNOS install media. First, copy<br />

the install media from the JUNOS software download page on the Juniper Networks<br />

52 | Chapter 1: Router Configuration and File Management<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!