Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[SRX] Using USB storage in SRX series when upgrading JUNOS Software



Article ID: KB15178 KB Last Updated: 29 Apr 2021Version: 4.0

The USB slot in SRX series can be used to copy from/to USB storage to internal flash memory when upgrading or troubleshooting.

* SRX100/110 : 1 Slot
* SRX210/240 : 2 Slots
* SRX300/320/340/345/380 : 1 Slot 
* SRX550 : 2 Slots on Chassis
* SRX650 : 2 Slots on SRE
* SRX3400/3600 : 2 slots on SFB & 2 slots on each RE
* SRX4100/4200 : 2 Slots 
* SRX4600 : 1 Slot 
* SRX5400/5600/5800 : 2 slots on each RE

Using USB storage in SRX series when upgrading JUNOS Software


In order to copy JUNOS software installation package (e.g., junos-srxxxx-xxx.tgz) from USB storage to internal flash memory, follow the below steps:

  1. Insert a USB storage to PC.

  2. Copy a JUNOS Software installation package (e.g., "junos-srxxxx-xxx.tgz") from PC to USB storage (USB storage is formatted FAT16 or FAT32).

  3. Insert the USB storage to one of USB slot(s) in SRX series.

  4. Issue the following commands in shell mode (root privilege is required):

    root@% mkdir /var/tmp/usb (any directory name can be used as mounted directory)
    root@% mount -t msdosfs /dev/da[N]s1 /var/tmp/usb
    ### [N] is discussed later.
  5. Verify contents of the USB storage in the mounting point (/var/tmp/usb):

    root@% pwd
    root@% ls
  6. Copy the file from USB storage to internal flash

root@% cp /var/tmp/usb/junos-srxxxx-xxx.tgz /root/.

Or  upgrade JUNOS software from the USB storage directly.

root> request system software add /var/tmp/usb/junos-srxxxx-xxx.tgz <options...>

In order to recognize device name in SRX series:

When a USB storage is inserted in a USB slot, the system shows the information of the inserted device name on the console or it can be verified using the "dmesg" command.

For example, when the system displays the following message, the device name is "/dev/da2s1" in this case.

root@% umass1: SanDisk MobileMate Micro, rev 2.00/94.07, addr 4
da2 at umass-sim1 bus 1 target 0 lun 0
da2: <Generic STORAGE DEVICE 9407> Removable Direct Access SCSI-0 device
da2: 40.000MB/s transfers
da2: 982MB (2012160 512 byte sectors: 64H 32S/T 982C)

Note that the device name is not related with the used slot or module number.  It is considered that the number of device such as da1 and da2 increments as the device is mounted.
However, the beginning number of device differs on platform. It is highly recommended to confirm the number of device every time a new device is inserted.

For more information about the Junos Software Installation refer to [KB16652] SRX Getting Started - Junos Software Installation/Upgrade .
Modification History:

2021-04-29: Article reviewed for accuracy. Added new devices with port numbers.

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search