Install Junos OS Software Package
You can use this procedure to upgrade Junos OS on the device with a single Routing Engine.
Junos OS packages contain manifests that include the hash values and digital signature of the packages. During software installation, Junos OS verifies these hash values and digital signature of the software packages. The installation proceeds only if the verification is successful.
To install software upgrades on your device with a single Routing Engine:
- Download the software package as described in Downloading Software Packages from Juniper Networks.
- If you have not already done so, connect to the console port on the device from your management device, and log in to the Junos OS CLI.
- (Optional) Back up the current software configuration to a second storage option. See the Junos OS Installation and Upgrade Guide for instructions on performing this task.
-
(Optional) Copy the software package to the device. We recommend that you use
FTP to copy the file to the /var/tmp/ directory.
This step is optional because Junos OS can also be upgraded when the software image is stored at a remote location. These instructions describe the software upgrade process for both scenarios.
-
Install the new package on the device:
user@host> request system software add package
Replace package with one of the following paths:
-
For a software package in a local directory on the device, use /var/tmp/package.tgz.
-
For a software package on a remote server, use one of the following paths, replacing package with the software package name.
-
ftp://hostname/pathname/package.tgz
-
http://hostname/pathname/package.tgz
-
Note:If you need to terminate the installation, do not reboot your device; instead, finish the installation and then issue the
request system software delete package.tgzcommand. This is your last chance to stop the installation. -
-
Reboot the device to load the installation and start the new software:
user@host> request system reboot
-
After the reboot has completed, log in and use the
show versioncommand to verify that the new version of the software is successfully installed.user@host> show version Hostname: host Model: ex4400-24mp Junos: 24.2R2.18 xJUNOS OS Kernel 64-bit [20241123.ec94286_builder_bsd15_242] JUNOS early ex config [20250221.075806_builder_junos_242_r2] JUNOS ex runtime [20250221.075806_builder_junos_242_r2] JUNOS ex platform support [20250221.075806_builder_junos_242_r2] JUNOS OS libs compat32 [20241123.ec94286_builder_bsd15_242] JUNOS modules [20250221.075806_builder_junos_242_r2] JUNOS OS libs [20241123.ec94286_builder_bsd15_242] JUNOS ex modules [20250221.075806_builder_junos_242_r2] JUNOS OS 32-bit compatibility [20241123.ec94286_builder_bsd15_242] JUNOS OS runtime [20241123.ec94286_builder_bsd15_242] JUNOS OS EFI boot files [20241123.ec94286_builder_bsd15_242] JUNOS OS time zone information [20241123.ec94286_builder_bsd15_242] JUNOS network stack and utilities [20250221.075806_builder_junos_242_r2] JUNOS libs [20250221.075806_builder_junos_242_r2] JUNOS py extensions [20250221.075806_builder_junos_242_r2] JUNOS py base [20250221.075806_builder_junos_242_r2] JUNOS OS package [20241014.220147_builder_main] JUNOS OS EFI runtime [20241123.ec94286_builder_bsd15_242] JUNOS OS crypto [20241123.ec94286_builder_bsd15_242] JUNOS OS boot files [20241123.ec94286_builder_bsd15_242] JUNOS SDN Software Suite [20250221.075806_builder_junos_242_r2] JUNOS jail runtime [20241123.ec94286_builder_bsd15_242] JUNOS dcp network modules [20250221.075806_builder_junos_242_r2] JUNOS libs compat32 [20250221.075806_builder_junos_242_r2] JUNOS ex libs compat32 [20250221.075806_builder_junos_242_r2] JUNOS OS network modules [20241123.ec94286_builder_bsd15_242] JUNOS daemons [20250221.075806_builder_junos_242_r2] JUNOS runtime [20250221.075806_builder_junos_242_r2] JUNOS Routing aggregated [20250221.075806_builder_junos_242_r2] JUNOS probe utility [20250221.075806_builder_junos_242_r2] JUNOS system counters [20250221.075806_builder_junos_242_r2] JUNOS Openconfig [24.2R2.18] JUNOS L2 RSI Scripts [20250221.075806_builder_junos_242_r2] JUNOS Web Management Platform Package [20250221.075806_builder_junos_242_r2] JUNOS support scripts [20250221.075806_builder_junos_242_r2] JUNOS python routing scripts for consistency check in RIB/FIB/PFE [20250221.075806_builder_junos_242_r2] JUNOS Routing mpls-oam-basic [20250221.075806_builder_junos_242_r2] JUNOS Routing lsys [20250221.075806_builder_junos_242_r2] JUNOS Routing 32-bit Compatible Version [20250221.075806_builder_junos_242_r2] JUNOS lite sysmond [20250221.075806_builder_junos_242_r2] JUNOS EX PFE LOGGING [20250221.075806_builder_junos_242_r2] JUNOS Extension Toolkit [20250221.075806_builder_junos_242_r2] JUNOS Phone-home [20250221.075806_builder_junos_242_r2] JUNOS Packet Forwarding Engine Support (EX44XX) [20250221.075806_builder_junos_242_r2] JUNOS jdocs ex [20250221.075806_builder_junos_242_r2] JUNOS ex Common BIOS [20250221.075806_builder_junos_242_r2] JUNOS dsa [20250221.075806_builder_junos_242_r2] JUNOS FIPS mode utilities [20250221.075806_builder_junos_242_r2] JUNOS na telemetry [24.2R2.18] JUNOS ex Data Plane Crypto Support [20250221.075806_builder_junos_242_r2]