Installing Software on a Device with a Single Routing Engine
You can use this procedure to upgrade Junos OS on device with a single Routing Engine.
To install software upgrades on a 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@switch> 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, where package.tgzcommand. This is your last chance to stop the installation. -
-
Reboot the device to load the installation and start the new software:
user@switch> 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: hostname Model: ex4100-24mp Junos: 22.4R1-S1.1 JUNOS OS Kernel 64-bit [20230120.4e9750f_builder_stable_12_224] JUNOS OS libs [20230120.4e9750f_builder_stable_12_224] JUNOS OS runtime [20230120.4e9750f_builder_stable_12_224] JUNOS OS time zone information [20230120.4e9750f_builder_stable_12_224] JUNOS OS libs compat32 [20230120.4e9750f_builder_stable_12_224] JUNOS OS 32-bit compatibility [20230120.4e9750f_builder_stable_12_224] JUNOS py extensions [20230203.030933_builder_junos_224_r1_s1] JUNOS py base [20230203.030933_builder_junos_224_r1_s1] JUNOS OS package [20230117.184352_builder_stable_12] JUNOS OS EFI runtime [20230120.4e9750f_builder_stable_12_224] JUNOS OS crypto [20230120.4e9750f_builder_stable_12_224] JUNOS OS boot-ve files [20230120.4e9750f_builder_stable_12_224] JUNOS OS EFI boot files [20230120.4e9750f_builder_stable_12_224] JUNOS network stack and utilities [20230203.030933_builder_junos_224_r1_s1] JUNOS libs [20230203.030933_builder_junos_224_r1_s1] JUNOS libs compat32 [20230203.030933_builder_junos_224_r1_s1] JUNOS runtime [20230203.030933_builder_junos_224_r1_s1] JUNOS na telemetry [22.4R1-S1.1] JUNOS Web Management Platform Package [20230203.030933_builder_junos_224_r1_s1] JUNOS ex runtime [20230203.030933_builder_junos_224_r1_s1] JUNOS Routing aggregated [20230203.030933_builder_junos_224_r1_s1] JUNOS probe utility [20230203.030933_builder_junos_224_r1_s1] JUNOS ex platform support [20230203.030933_builder_junos_224_r1_s1] JUNOS Openconfig [22.4R1-S1.1] JUNOS dcp network modules [20230203.030933_builder_junos_224_r1_s1] JUNOS modules [20230203.030933_builder_junos_224_r1_s1] JUNOS ex modules [20230203.030933_builder_junos_224_r1_s1] JUNOS ex libs [20230203.030933_builder_junos_224_r1_s1] JUNOS ex libs compat32 [20230203.030933_builder_junos_224_r1_s1] JUNOS L2 RSI Scripts [20230203.030933_builder_junos_224_r1_s1] JUNOS ex Data Plane Crypto Support [20230203.030933_builder_junos_224_r1_s1] JUNOS daemons [20230203.030933_builder_junos_224_r1_s1] JUNOS SDN Software Suite [20230203.030933_builder_junos_224_r1_s1] JUNOS Extension Toolkit [20230203.030933_builder_junos_224_r1_s1] JUNOS Phone-home [20230203.030933_builder_junos_224_r1_s1] JUNOS Packet Forwarding Engine Support (EX41XX) [20230203.030933_builder_junos_224_r1_s1] JUNOS Firmware Platform Package [22.4R1.1] JUNOS jdocs ex [20230203.030933_builder_junos_224_r1_s1] JUNOS jail runtime [20230120.4e9750f_builder_stable_12_224] JUNOS FIPS mode utilities [20230203.030933_builder_junos_224_r1_s1] JUNOS dsa [20230203.030933_builder_junos_224_r1_s1]