Академический Документы
Профессиональный Документы
Культура Документы
SUMMARY:
This article documents how to install or upgrade Junos software on SRX devices.
SOLUTION:
This sections contains the following:
http://www.juniper.net/support/downloads/junos.html
Useful links:
1. Read the Release Notes, as they document new features, changes in default behavior,
known limitations, and issues. A copy of the Release Notes is available here: Junos
Software for SRX Series Services Gateways Documentation . Click your Release version,
and then click the Release Notes.
2. Set up your connection to the SRX to log your session during the installation and through
the reboot, as the transcript can provide valuable information if an issue happens and
JTAC needs to review it.
3. Con rm there are no uncommitted changes present because candidate changes are
usually lost on a reboot. Enter the command:
user@srx# top
user@srx# show | compare
If the command contains con guration information that you want to keep, then perform
a commit.
4. Backup your con guration, by logging your session while performing the following
command. Keep it in a safe place.
user@srx> show configuration | no-more
5. If you want to backup the current Junos and con guration onto media (such as a
USB/CF) so that it can be put back into the SRX if the SRX does not boot up and allow the
SRX to boot up, refer to the following instructions: Backing Up the Current Installation.
For example:
a. Prepare USB Stick: KB12880-How to mount a USB drive on the EX/J/SRX series
platforms
b. Save a snapshot from a running SRX to the USB Stick. Use the command:
6. If you are going to do a J-Web installation or copy the Junos software image to the SRX,
then check the ash size and purge unused les:
Check current Flash size:
show system storage | match cf
If Flashsize is still lower than the size of your image, then try the following:
Clear les from the /var/log directory. Clear or remove any traceoptions les and
clear any log les which are not needed. Note that you will loose all contents of the
log le after a clear is done.
clear log <log-filename>
https://kb.juniper.net/InfoCenter/index?page=content&id=KB16652&actp=METADATA 2/7
1/22/2020 SRX Getting Started - Junos Software Installation/Upgrade - Juniper Networks
Purge software backup. Note that if you delete the backup software, you will not be
able to rollback using the "request system software rollback" command.
request system software delete-backup
To save space browse directories and erase les manually: Be careful with which le
you choose to delete.
file list /var/tmp
file delete /var/tmp/xyz
If you cannot free up enough space, then refer to KB19466 - Common and safest les to
remove in order to increase the system storage OR use CLI Installation Method 2 or 3
below.
Note: for a Chassis cluster installation, a SRX device with Redundant Routing Engines
(JSRP), it is recommended to use CLI Installation Method 1 or 2. In Chassis cluster
installation when the request system reboot command is executed it only affects
the node on which this command is run. Both nodes of the cluster need to use the
same hardware and release. In case of Chassis cluster upgrade we recommend to
upgrade both the nodes followed by a reboot at the same time.
OR
https://kb.juniper.net/InfoCenter/index?page=content&id=KB16652&actp=METADATA 3/7
1/22/2020 SRX Getting Started - Junos Software Installation/Upgrade - Juniper Networks
2. Install software with the commands below. For detailed instructions, refer to Installing
the Software.
For example:
From the local le in /var/tmp
user@srx> request system software add no-copy /var/tmp/junos-srxsme-
11.4R4.4-domestic.tgz
user@srx> request system reboot
If validation of con guration reports that your current con g is not working with the
new release (e.g. on downgrade), you can bypass this with the no-validate option.
user@srx> request system software add no-copy no-validate
ftp://172.16.1.1/junos-srxsme-11.4R4.4-domestic.tgz
user@srx> request system reboot
3. Insert the USB device into the USB slot. For example, slot 0 would return the following:
https://kb.juniper.net/InfoCenter/index?page=content&id=KB16652&actp=METADATA 4/7
1/22/2020 SRX Getting Started - Junos Software Installation/Upgrade - Juniper Networks
user@srx% ls /dev/
Locate difference in outputs to locate drive label. (It will usually be da#s1, i.e. da0s1)
Example:
user@srx% mount -t msdosfs /dev/da0s1 /tmp/usb (there is a space between
the label name and /tmp)
Software installation via J-Web is the simplest of these procedures. However, it does
require a minimum of 512MB compact ash and it is slower than the CLI methods. Refer to
these steps to install the software via J-Web:
1. Select Maintain > Software > Upload Package.
2. Specify the 'File to Upload.'
3. Click Upload and Install Package to perform the installation.
For additional details regarding a software installation, refer to J-Web Interface User Guide
[PDF] or J-Web Interface User Guide [HTML] .
Note: The KB's below are valid only for Branch SRX devices. As of now, high-end SRX devices
DO NOT support USB or TFTP installs from the loader.
Installing Junos OS Using TFTP on SRX Series Devices
Installing Junos OS from the Boot Loader Using a USB Storage Device on an SRX Series
Device
Technical Documentation
https://kb.juniper.net/InfoCenter/index?page=content&id=KB16652&actp=METADATA 6/7
1/22/2020 SRX Getting Started - Junos Software Installation/Upgrade - Juniper Networks
For additional information not covered in this article, refer to the technical documentation:
Note: Select your Junos version from the pull-down list near the top of the page.
https://kb.juniper.net/InfoCenter/index?page=content&id=KB16652&actp=METADATA 7/7