Here is a tutorial on how to Upgrade Aruba Switch Firmware Using CLI
1. Setup A TFTP Server
Setup a TFTP Server on Windows or Linux machine on the internet, you may install virtual machines or just use tftp applications like Tftp64.
2. 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
3. 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. Use these commands but modify them to reflect your own directory on installed TFTP devices. Ensure that there is connectivity between your Aruba switch and the TFTP server. Here are the commands to use, depending on your source file.
scp YB_16_10_0012.swi [email protected]:/tmp
copy tftp://directory-where-the-swi-file-is/ArubaOS-CX_6200_10_09_1050.swi
copy tftp flash 10.124.78.116 /directory-where-the-swi-file-is/WC_16_10_0015.swi
Here is the sequence, if you don't want to follow the steps outlined below:
copy tftp flash <ip-of-your-tftp> <name-of-firmware>.swi secondary
copy tftp flash 192.168.1.10 2540_YC_16_08_0003.swi secondary
boot system flash secondary
then
copy tftp flash <ip-of-your-tftp> <name-of-firmware>.swi primary
boot system flash primary
if you are using debian server, try this command below:
Login to DEBIAN and copy the /tmp/YB_16_10_0012.swi to /tftp
$ sudo cp /tmp/YB_16_10_0012.swi /tftp/
4. Backup Current Configuration File
Backup Current Configuration to TFTP Server (192.168.57.7) and save it as 2530-20210130
copy startup-config tftp 192.168.1.230 2530-20210130
5. Flash The Firmware On Secondary Image
Flash the latest firmware on Secondary Image
HP-2530-24# copy tftp flash 192.168.57.7 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
6. 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
Be the first to comment