Académique Documents
Professionnel Documents
Culture Documents
Just in case, to reboot the device from the backup USB stick enter the following command
in operational mode
Type Yes and press Enter button on the keyboard. The device will now reboot and load
the OS from USB stick.
First of all download the latest JunOS software from Juniper’s website www.juniper.net.
Now copy that downloaded JunOS file into the USB stick. Remember that the USB Stick
must have FAT32 file type partitioned or the upgrade won’t work. Then, log in to the device
using root user. We need to mount the USB stick into the device first. Type the following
command from shell prompt.
root@SRX-FW% ls /dev/da*
/dev/da0 /dev/da0s1c /dev/da0s2c /dev/da0s3e
/dev/da0s4a
/dev/da0s1 /dev/da0s2 /dev/da0s3 /dev/da0s3f
/dev/da0s4c
/dev/da0s1a /dev/da0s2a /dev/da0s3c /dev/da0s4
/dev/da0s4e
After you hit enter you will see the above output. These are partitions of the JunOS in SRX. Now,
insert the USB stick into the SRX device. Again type the previous command.
root@SRX-FW% ls /dev/da*
/dev/da0 /dev/da0s2 /dev/da0s3c /dev/da0s4a /dev/da1s1
/dev/da0s1 /dev/da0s2a /dev/da0s3e /dev/da0s4c /dev/da1s5
/dev/da0s1a /dev/da0s2c /dev/da0s3f /dev/da0s4e
/dev/da0s1c /dev/da0s3 /dev/da0s4 /dev/da1
Here we can notice that there are three new partition of the USB stick. Note that /dev/da1s1 or
/dev/da1s5 is the one you must mount. Now create a folder named flash under /var/tmp. This will
be the mounting location. Now type the following command to create the folder.
After mounting you can view the lists of files under USB Flash Drive by typing this
command.
root@SRX-FW% ls /var/tmp/flash/
System Volume Information junos-srxsme-15.1X49-D75.5-
domestic.tgz
Jut if you need unmount the USB stick, type following cmd
root@SRX-FW% umount /var/tmp/flash
By now what we have done is, just inserted the USB in the device and the USB stick is visible.
You can install JunOS directly from the USB or copy the installation file to other location and start
the install. To install JunOS directly from USB type following commands,
You can also copy the installation file into the device’s hard disk after mounting is done. Here I
will copy to /var/tmp location. To do so type following commands: –
root@SRX-FW% cp /var/tmp/flash/junos-srxsme-15.1X49-D75.5-domestic.tgz
/var/tmp
root@SRX-FW% ls /var/tmp/flash
System Volume Information junos-srxsme-15.1X49-D75.5-
domestic.tgz
After copying the file, exit from shell mode and remove the USB from device. To install the
JunOS, enter the following command in operation mode.
The device will install the software and reboot the SRX. In this way you can upgrade
JunOS in SRX device.
Now, what if the SRX devices are in cluster. How do you perform the upgrade?
To upgrade branch series SRX cluster, you need to upgrade the SRX device one by one
and then reboot all device in cluster at the same time. You can mount the USB and copy
installation file to say node 0 and upgrade the node 0 first. Then you can copy the file
from node 0 to node 1 and then upgrade node 1. You can also use same USB to mount
and copy files to node 1. To copy file from node 0 to node 1 directly, type following
command,
{primary: node 0}
root@host> file copy /var/tmp/junos-srxsme-10.4R8.5-domestic.tgz
node1:/var/tmp
After copying the JunOS file to node 1, login to node 1 device. To switch the login, type
following command.
{primary: node 0}
root@host> request routing-engine login node 1
Now you can upgrade node 1 and reboot both device at the same time.
Snapshot :
root@SRX> request system snapshot slice alternate