Get the App
SLTechnology News&Howtos  ›  Network Security  › 

One of the SRX Junos system installation updates (USB disk installation)

Shulou Source: shulou.com Published: 2022-06-01 03:26:32 10月05日 Update

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 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

Tags: I.e. system UPDAT Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno Docker Redmi vpn Huawei