Knowledge Search


Using USB storage in SRX series when upgrading JUNOS Software

  [KB15178] Show Article Properties

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

* SRX100 : 1 slot
* SRX210/240 : 2 slots
* SRX650 : 2 slot on SRE
* SRX3400/3600 : 2 slots on SFB and 2 slots on each RE
* SRX5600/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 (the root privillage is required)

root@% mkdir /var/tmp/usb (any directory name can be used as mounted directory)
root@% mount -t msdos /dev/da[N]s1 /var/tmp/usb
### [N] is discussed later.

5. Verify the contents of 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 it's possible to 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 infomation of inserted device name on the console or can be verified it using "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.
But the beginning number of device differs on platform. So it's highly recommended to confirm the number of device everytime a new device is inserted.

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

Related Links: