


Now create a folder named flash under /var/tmp. Note that /dev/da1s1 or /dev/da1s5 is the one you must mount. Here we can notice that there are three new partition of the USB stick.

Now, insert the USB stick into the SRX device. These are partitions of the JunOS in SRX. dev/da0s1a /dev/da0s2a /dev/da0s3c /dev/da0s4 /dev/da0s4eĪfter you hit enter you will see the above output. Type the following command from shell prompt. We need to mount the USB stick into the device first. Then, log in to the device using root user.
#Copy log files from junos os upgrade
Remember that the USB Stick must have FAT32 file type partitioned or the upgrade won’t work.
#Copy log files from junos os software
Upgrading the JunOS Softwareįirst of all download the latest JunOS software from Juniper’s website Now copy that downloaded JunOS file into the USB stick. The device will now reboot and load the OS from USB stick. Type Yes and press Enter button on the keyboard. Just in case, to reboot the device from the backup USB stick enter the following command in operational mode request system reboot media usb Information for snapshot on usb (/dev/da1s2a) (backup) Information for snapshot on usb (/dev/da1s1a) (primary) You can view the snapshot information on USB by typing following command, show system snapshot media usb The following filesystems were archived: / /altroot /config /var /recovery/state /recovery/software (this may take a few minutes)Ĭopying '/dev/da0s4a' to '/dev/da1s4a'. (this may take a few minutes)Ĭopying '/dev/da0s4e' to '/dev/da1s4e'. (this may take a few minutes)Ĭopying '/dev/da0s3f' to '/dev/da1s3f'. (this may take a few minutes)Ĭopying '/dev/da0s3e' to '/dev/da1s3e'. (this may take a few minutes)Ĭopying '/dev/da0s2a' to '/dev/da1s2a'. Partition Mountpoint Size Snapshot argumentĬopying '/dev/da0s1a' to '/dev/da1s1a'. Request system snapshot media usb partition
