Description

This article describes the procedure for upgrading ACX1K and ACX2200 routers by using a bootable USB device. The procedure has been tested and verified in the Juniper Lab for ACX2K and the same is applicable for ACX2100 and ACX1K as well.

Solution

To upgrade ACX2K by using a bootable USB device, perform the following steps:

Requirements

  • Laptop and Console cable

  • Latest Junos OS image in .tgz format copied to the USB device

Important Note: First take log of the current Junos OS version and the current configuration:

user@switch> show version
user@switch> show configuration

Procedure to mount USB device on the Juniper ACX router

The following procedure allows users to mount a USB device on Juniper devices. This can be helpful if network connectivity is unavailable and you need to copy files to or from the device.

  1. Enter the shell as root:

user@switch> start shell user root
Password: root@switch%

Note: If you are already logged in as "root," then just type start shell.

  1. Before inserting the USB device,perform the following:

root@% ls /dev/da*
/dev/da0 /dev/da0s1c /dev/da0s2a /dev/da0s3 /dev/da0s3e
/dev/da0s1 /dev/da0s1f /dev/da0s2c /dev/da0s3c
/dev/da0s1a /dev/da0s2 /dev/da0s2f /dev/da0s3d
  1. Insert the USB drive in the USB port. The following output will be displayed at console/vty:

root@% umass1: TOSHIBA TransMemory, rev 2.00/1.00, addr 3
da2 at umass-sim1 bus 1 target 0 lun 0
da2: <TOSHIBA TransMemory 5.00> Removable Direct Access SCSI-0 device da2: 40.000MB/s transfers
da2: 983MB (2013184 512 byte sectors: 64H 32S/T 983C)

Note: In this case, "/dev/da2s1" is the USB drive.

  1. Create a directory for the USB drive to mount to:

root@% mkdir /var/tmp/usb
  1. Mount the USB drive to the /var/tmp/usb directory:

root@% mount –t msdosfs /dev/da2s1 /var/tmp/usb
root@%
root@% ls /var/tmp/usb jinstall-ppc-12.3X54-D15.3-domestic-signed.tgz
other files…

Note: "ls /var/tmp/usb" will show all the files in the USB drive.

  1. Copy any of the USB files to the /var/tmp/usb directory:

root@% cp /var/tmp/usb/jinstall-ppc-<>-domestic-signed.tgz /var/tmp

(Note: There is a space between image-name and /var/tmp.)

root@% ls /var/tmp jinstall-ppc-<>-domestic-signed.tgz

This shows that the jinstall-ppc-<>domestic-signed.tgz file from the USB has been successfully copied to the /var/tmp directory.

  1. ***IMPORTANT*** Remove the USB device now from the router.

This step is important because if you reboot the router with the USB device plugged in, the router will try to upgrade software from the USB device (as the first boot device). Since you have already copied it to the /var/tmp directory, you can remove the USB device and upgrade the Junos OS software that was copied to the router.

  1. Now exit the shell (type exit) and run the following command to upgrade the Junos OS version:

user@host>request system software add /var/tmp/jinstall-ppc-1<>-domestic-signed.tgz validate no-copy reboot

Installation can take between 5 - 15 minutes. First, the router will validate the software package, and then install the Junos OS software. The router then reboots from the boot device on which the software was just installed. When the reboot is complete, the router displays the login prompt.

  1. After successful reboot, check the new Junos OS version and confirm the current configuration:

user@switch> show version (it should match the upgraded version)
user@switch> show configuration

Modification History

2024-08-20: Updated Data Category
Initial Draft