Page 1 of 1

Upgrading The Firmware hp procurve 2824

Posted: 23 Jan 2019, 05:14
by Dknight
Updating Procurve Firmware via telnet

First of all, check what firmware and boot ROM your switch is using using the 

Code: Select all

show flash
 command on the CLI:

Code: Select all

sw3# show flash
Image           Size(Bytes)   Date   Version
-----           ----------  -------- -------
Primary Image   : 3003952   12/21/05 I.08.87 
Secondary Image : 3003952   12/21/05 I.08.87 
Boot Rom Version: I.08.07
Current Boot    : Primary
All firmware versions I.08.07 onwards need the I.08.07 Boot ROM, and you’ll need to flash up to this version first. Thankfully HP provide that specific version on the website to download. Follow the exact same steps as below for I.08.07, then repeat for whatever version you’re upgrading to.
To get the firmware to the switch we use a TFTP server, a little out of scope for this article but you can find a lot of free and open source servers for this, i’m using my local pfSense gateway’s TFTP server for this, i’ve uploaded the 

Code: Select all

I_10_107.swi
firmware file to the TFTP and from the switch’s CLI I run the following:

Code: Select all

sw3# copy tftp flash 10.1.1.1 I_10_107.swi secondary
The Secondary OS Image will be deleted, continue [y/n]?  y
03261K 
After a few seconds you’ll be back at the prompt. To check everything has worked as expected check the 

Code: Select all

show flash
 command:

Code: Select all

sw3# show flash
Image           Size(Bytes)   Date   Version
-----           ----------  -------- -------
Primary Image   : 3003952   12/21/05 I.08.87 
Secondary Image : 3428242   08/24/15 I.10.107
Boot Rom Version: I.08.07
Current Boot    : Primary
All you need to do is reboot the switch with the new firmware, check everything works, then flash over the image to the primary flash storage:

Code: Select all

sw3# boot system flash secondary
Device will be rebooted, do you want to continue [y/n]?  
Once the system is up and working, use 

Code: Select all

show flash
 again to check its booted to the secondary area.

Code: Select all

sw3# show flash
Image           Size(Bytes)   Date   Version
-----           ----------  -------- -------
Primary Image   : 3003952   12/21/05 I.08.87 
Secondary Image : 3428242   08/24/15 I.10.107
Boot Rom Version: I.08.07
Current Boot    : Secondary
And if everything is working as expected, flash the firmware over to the primary image exactly the same way as before

Code: Select all

sw3# copy tftp flash 10.1.1.1 I_10_107.swi primary
The Primary OS Image will be deleted, continue [y/n]?  y
03261K 
For the final (optional) step, switch back to the primary image:

Code: Select all

sw3# boot system flash primary
Device will be rebooted, do you want to continue [y/n]?  
And you’re all done.
 
You may find the latest firmware of HP switches on this site:
https://h10145.www1.hpe.com/downloads/P ... odSeriesId
 
Sources:
http://tensixtyone.com/2016/02/upgradin ... urve-2824/
https://www.toedels.net/2017/09/22/upgr ... urve-2824/