Upgrading HP 3400CL firmware via tftp

SOURCE: http://evilrouters.net/2009/02/02/upgrading-procurve-firmware-via-tftp/

Download new firmware from
https://h10145.www1.hp.com/downloads/DownloadSoftware.aspx?SoftwareReleaseUId=11265&ProductNumber=J4905A&lang=&cc=&prodSeriesId=&SerialNumber=&PurchaseDate=

copy firmware into C:\TFTP-Root
run SolarWinds TFTP server

# sh ver
Image stamp: /sw/code/build/makf(ts_08_5)
Dec 21 2005 12:12:48
M.08.86
1513
Boot Image: Primary

# sh flash
Image Size(Bytes) Date Version
—– ———- ——– ——-
Primary Image : 3325207 12/21/05 M.08.86
Secondary Image : 3325207 12/21/05 M.08.86
Boot Rom Version: I.08.07
Current Boot : Primary

(config)# password manager user-name admin
New password for Manager: admin
Please retype new password for Manager: admin

(config)# time 11/23/14
Sun Nov 23 00:33:23 2014
(config)# time 23:10
Sun Nov 23 23:10:38 2014
(config)# time timezone +7
(config)# crypto key generate ssh
Installing new RSA key. If the key/entropy cache is
depleted, this could take up to a minute.
#write mem

(config)# ip ssh
(config)# ip ssh filetransfer
(config)# sh ip ssh
SSH Enabled : Yes
SSH Version : 2
IP Port Number : 22
Timeout (sec) : 120
Server Key Size (bits) : 1024
Secure Copy Enabled : Yes
Ses Type | Protocol Source IP and Port
— ——– + ——— ———————
1 console |
2 inactive |
3 inactive |
4 inactive |

(config)# setup
3400CLve 23-Nov-2014 23:34:31
===- CONSOLE – MANAGER MODE -===
Switch Setup
System Name : 3400CL
System Contact :
Manager Password : ******** Confirm Password : ********
Logon Default : CLI Time Zone [0] : 7
Community Name : public Spanning Tree Enabled [No] : No
Default Gateway : 10.0.0.1
Time Sync Method [None] : TIMEP
TimeP Mode [Disabled] : Disabled
IP Config [DHCP/Bootp] : Manual
IP Address : 10.0.0.253
Subnet Mask : 255.255.255.0
Actions-> Cancel Edit Save Help
Enter System Name – up to 25 characters.
Use arrow keys to change field selection, <Space> to toggle field choices,

We will upgrade and boot from secondary first, so that in case we have problem, we can boot from primary instead

(config)# boot system flash secondary

# copy tftp flash 10.0.0.250 M_10_10.swi secondary
The Secondary OS Image will be deleted, continue [y/n]? y

It will be rebooted automatically

Upgrade for the second time

# copy tftp flash 10.0.0.250 M_10_102.swi secondary
The Secondary OS Image will be deleted, continue [y/n]?

It will be rebooted automatically

# sh flash
Image Size(Bytes) Date Version
—– ———- ——– ——-
Primary Image : 3325207 12/21/05 M.08.86
Secondary Image : 3856932 04/09/14 M.10.102
Boot Rom Version: I.08.12
Current Boot : Secondary

If everything fine then we will copy secondary image to primary

(config)# copy flash flash primary

# sh flash
Image Size(Bytes) Date Version
—– ———- ——– ——-
Primary Image : 3856932 04/09/14 M.10.102
Secondary Image : 3856932 04/09/14 M.10.102
Boot Rom Version: I.08.12
Current Boot : Secondary

Change boot order from primary

(config)# boot system flash primary

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s