Follow these steps to install the software via the CLI from a USB stick:
Download the Junos upgrade file to the USB stick.
Locate the USB device ID that Junos was associating to the USB stick:
[email protected]> start shell
[email protected]% ls /dev/
Insert the USB device into the USB slot. For example, slot 0 would return the following:
root# umass0: USB USBFlashDrive, rev 2.00/1.00, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <USB USBFlashDrive 0100> Removable Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: 980MB (2007040 512 byte sectors: 64H 32S/T 980C)
Run the following command
[Email protected]% ls/dev/
Locate difference in outputs to Locate drive label. (It'll usually be da#s1, i.e. da0s1)
Create a mount directory:
[email protected]% mkdir /tmp/usb
-
Mount the USB to The directory:
[email protected]% mount-t Msdosfs/dev/<drivelabel, e.g. #da0s1 >/tmp/usb
Example :
[email protected]% mount-t msdosfs/dev/da0s1/tmp/usb (There is a space between the label name And/tmp)
Verify that The USB is mounted to the device:
[email protected]% pwd
/cf/root
[E mail protected]% cd/tmp/usb/
[email protected]% pwd
/cf/tmp/usb
[email protected]% ls
junos-jsr-11.4r5.7-export.tgz
Exit Shell and install the software:
[email protected]% exit
[email protected]> request system software add /tmp/usb/<upgrade filename> no-validate no-copy
For additional details regarding a software installation, refer to the instructions at installing the software.
Upon completion, reboot the SRX:
[email protected]> request system reboot
This article is from the "Haina Rivers" blog, please be sure to keep this source http://yuxing34.blog.51cto.com/1426860/1639237
One of the SRX Junos system installation Updates (USB stick installation)