Follow these steps to install the software via the CLI from a USB stick:
創(chuàng)新互聯(lián)成立于2013年,先為伊通等服務建站,伊通等地企業(yè),進行企業(yè)商務咨詢服務。為伊通企業(yè)網(wǎng)站制作PC+手機+微官網(wǎng)三網(wǎng)同步一站式服務解決您的所有建站問題。
Download the Junos upgrade file to the USB stick.
Locate the USB device ID that Junos is associating to the USB stick:
user@srx> start shell
user@srx% 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: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
user@srx% ls /dev/
Locate difference in outputs to locate drive label. (It will usually be da#s1, i.e. da0s1)
Create a mount directory:
user@srx% mkdir /tmp/usb
Mount the USB to the directory:
user@srx% mount -t msdosfs /dev/
/tmp/usb
Example:user@srx% 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:root@% pwd
/cf/root
root@% cd /tmp/usb/
root@% pwd
/cf/tmp/usb
root@% ls
junos-jsr-11.4R5.7-export.tgz
Exit shell and install the software:
user@srx% exit
user@srx> request system software add /tmp/usb/ no-validate no-copy
For additional details regarding a software installation, refer to the instructions at Installing the Software.
Upon completion, reboot the SRX:
user@srx> request system reboot