Junos Software Upgradation
Junos Software Upgradation
Junos Software Upgradation
includes the latest bug fixes and security vulnerability fixes. Running old software in a production
environment can be considered risky depending on how the device is exposed.
The installation procedure for Junos is the same across all Juniper platforms. This procedure is fairly
simple and requires the use of an FTP or HTTP Server. The easiest way to get your jinstall file to the
Juniper device is using a mini HTTP server called HFS. This webserver can be downloaded from Here
As with any upgrade or downgrade procedure you’re going to need the software. When it comes to
juniper you must acquire this software from the Juniper Software Downloads section as there is no way to
backup software from an Existing Juniper device to a web server or tftp server like you can with Cisco.
For the purpose of this lab we’re going to be upgrade the Junos software on SW1 in the lab which is an
EX3200-24T. The Device is currently running 12.1R8.4 and we’re going to upgrade it to 12.3R4.6
You first need to have the jinstall file to complete this procedure and for this procedure we’ll need the
“jinstall-ex-3200-12.3R4.6-domestic-signed.tgz” placed into the root directory filesystem on HFS. This can
be easily done by right clicking the root directory in HFS and adding the jinstall file by navigating to it in
the browser window.
Once the jinstall file is in the web root, you then need connectivity from the http server to the switch. This
can be easily done by connecting the management ethernet interface of the EX3200 into the same
vlan/subnet as your desktop. Assign the me0.0 interface an IP address and verify connectivity with the
desktop using ping. Once connectivity is verified you’re ready to proceed.
The command you’ll be using to upgrade/downgrade the Junos Software on the switch is request system
software add “http://192.168.1.5/jinstall-ex-3200-12.3R4.6-domestic-signed.tgz reboot which is executed
in user mode. You must have ROOT or super-user rights to perform this procedure. The switch will
automatically download the software via HTTP and verify the package and set the environment variables
and prompt for a reboot.
If you have already completed the software add step and you want to cancel the pending
upgrade/downgrade than all you need to do is perform a request system software delete jinstall in user
mode prior to rebooting.
Once the system has rebooted, you will notice that the new software you just requested is now running on
the system.
Lab Instruction
The following lab instruction is performed on a Juniper EX3200-24T Switch.
Configure and Verify connectivity from the Switch to the Web Server
root@SW1> show version
Hostname: SW1
Model: ex3200-24t
JUNOS Base OS boot [12.1R8.4]
JUNOS Base OS Software Suite [12.1R8.4]
JUNOS Kernel Software Suite [12.1R8.4]
JUNOS Crypto Software Suite [12.1R8.4]
JUNOS Online Documentation [12.1R8.4]
JUNOS Enterprise Software Suite [12.1R8.4]
JUNOS Packet Forwarding Engine Enterprise Software Suite [12.1R8.4]
JUNOS Routing Software Suite [12.1R8.4]
JUNOS Web Management [12.1R8.4]
JUNOS FIPS mode utilities [12.1R8.4]
root@SW1> config
[edit]
root@SW1# set interfaces me0 unit 0 family inet address 172.16.22.121/24
[edit]
root@SW1# commit and-quit
commit complete
Exiting configuration mode
root@SW1>
root@SW1>
*** FINAL System shutdown message from root@SW1 ***
Terminated
OWaiting (max 60 seconds) for system process `vnlru_mem' to stop...done
Waiting (max 60 seconds) for system process `vnlru' to stop...done
Waiting (max 60 seconds) for system process `bufdaemon' to stop...done
Waiting (max 60 seconds) for system process `syncer' to stop...
Syncing disks, vnodes remaining...9 9 1 3 2 1 1 1 0 0 0 done
SW1 (ttyu0)
login:
login: root
password: juniper1 <--- NOTICE: Password will not display when typed
root@SW1:RE:0% cli
root@SW1> show version
Hostname: SW1
Model: ex3200-24t
JUNOS Base OS boot [12.3R4.6]
JUNOS Base OS Software Suite [12.3R4.6]
JUNOS Kernel Software Suite [12.3R4.6]
JUNOS Crypto Software Suite [12.3R4.6]
JUNOS Online Documentation [12.3R4.6]
JUNOS Enterprise Software Suite [12.3R4.6]
JUNOS Packet Forwarding Engine Enterprise Software Suite [12.3R4.6]
JUNOS Routing Software Suite [12.3R4.6]
JUNOS Web Management [12.3R4.6]
JUNOS FIPS mode utilities [12.3R4.6]
root@SW1>