The USB slot in SRX series can be used to copy from/to USB storage to internal flash memory when upgrading or troubleshooting.
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:
Insert a USB storage to PC.
Copy a JUNOS Software installation package (e.g., "junos-srxxxx-xxx.tgz") from PC to USB storage (USB storage is formatted FAT16 or FAT32).
Insert the USB storage to one of USB slot(s) in SRX series.
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.
Verify contents of the USB storage in the mounting point (/var/tmp/usb):
root@% pwd /cf/var/tmp/usb root@% ls junos-srxxxx-xxx.tgz root@%
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) -----------------------------------------------------
2021-04-29: Article reviewed for accuracy. Added new devices with port numbers.