Have a Question?
< All Topics
Print

Upgrade Aruba Switch Firmware using CLI

Tutorial on how to Upgrade Aruba Switch Firmware Using CLI

Setup a TFTP Server

Setup a TFTP Server by referring to How To Install TFTP On Debian 10

Verify Current Firmware Version

Login to Aruba 2530 switch via SSH and verify the current firmware version

HP-2530-24# show flash
Image             Size (bytes) Date     Version
----------------- ------------ -------- --------------
Primary Image    :    13365488 06/22/18 YB.16.06.0006
Secondary Image  :    13365488 06/22/18 YB.16.06.0006

Boot ROM Version
----------------
Primary Boot ROM Version   : YB.15.10
Default Boot Image   : Primary

Download Latest Firmware and upload it to TFTP Server

Download the latest firmware – YB_16_10_0012.swi from Aruba Support Portal and transfer it to our TFTP Server

scp YB_16_10_0012.swi [email protected]:/tmp

Login to DEBIAN and copy the /tmp/YB_16_10_0012.swi to /tftp

$ sudo cp /tmp/YB_16_10_0012.swi /tftp/

Backup Current Configuration File

Backup Current Configuration to TFTP Server (192.168.1.230) and save it as 2530-20210130

copy startup-config tftp 192.168.1.230 2530-20210130

flash the firmware on secondary image

Flash the latest firmware on Secondary Image

HP-2530-24# copy tftp flash 192.168.1.230 YB_16_10_0012.swi secondary
The secondary image will be deleted.

Continue (y/n)? y

Validating and Writing System Software to the Filesystem ...

Verify latest firmware is installed on Secondary Image successfully

HP-2530-24# show flash
Image             Size (bytes) Date     Version
----------------- ------------ -------- --------------
Primary Image    :    13365488 06/22/18 YB.16.06.0006
Secondary Image  :    13596237 01/21/21 YB.16.10.0012

Reboot Aruba 2530 with latest firmware from Secondary Image

HP-2530-24# boot system flash secondary
This will reboot the system from the secondary image.

Continue (y/n)? Y

flash the firmware on Primary image

Flash the latest firmware on Primary Image

HP-2530-24# copy tftp flash 192.168.1.230 YB_16_10_0012.swi primary
The secondary image will be deleted.

Continue (y/n)? y

Validating and Writing System Software to the Filesystem ...

Reboot Aruba 2530 with latest firmware from primary Image – optional step

HP-2530-24# boot system flash secondary
This will reboot the system from the secondary image.

Continue (y/n)? Y

Table of Contents
Scroll to Top