Procurve corrupted flash recovery

As I wrote in the blog last week, I was upgrading the code on a fairly large number of switches. And during the upgrade, I did run into a couple of issues and lost a 3500 along with a few 5406’s. I was able to fix and recover all the switches that went down in that change window.

In this blog, I’ll go into details on how I addressed the bad switches and recover them from Monitor ROM and put them back to use.

Since I don’t have a bad switch at the moment I’ll simulate this by booting into Monitor ROM by choosing option 0 when the switch first boots up. And it looks something like this:

ROM information:
Build directory: /sw/rom/build/bmrom(t2g)
Build date: Apr 24 2009
Build time: 23:33:11
Build version: K.12.20
Build number: 24648
Boot Profiles:

0. Monitor ROM Console
1. Primary Software Image
2. Secondary Software Image

Select profile (primary): 0

and here’s what the output looks like when the switch – in this case a 3500yl with 48 copper ports:

HP ProCurve Switch 3500yl-48G-PWR (J8693A)
ROM Build Directory: /sw/rom/build/bmrom(t2g)
ROM Version: K.12.20
ROM Build Date: 23:33:11 Apr 24 2009
ROM Build Number: 24648
SSC Version: SSC 34 190120060501
MSI Version: 3
CSI Version: 7
Copyright (c) 1995-2005 Hewlett-Packard Company. All rights reserved.

Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subdivision (b) (3) (ii) of the Rights in Technical Data and Computer Software clause at 52.227-7013.

Hewlett-Packard Company, 3000 Hanover Street, Palo Alto, CA 94303

Enter h or ? for help.


For those of you new to Procurve, the Monitor ROM prompt looks like this =>

When you are in this prompt, you can type h or ? for help:


LAN Monitor Commands

do(wnload) – Download via Xmodem
sp(eed) – Set a new baud rate
h(elp) – Display help screen
? – Display help screen
id(entify) – Print out identification string
jp(jump) – Jump to product code, optional 1-primary, 2-secondary
q(uit) – Exit the monitor
boot – Reboot the system
reset – Reset the system
v(ersion) – Display version information
lsdev – Display I/O device table
fsck – File system check
ls [path] – Terse directory listing
ll [path] – Detailed directory listing
format – Format storage device
blkdump – raw I/O
pwd – Print current working directory
cd – Change directory
mkdir – Make directory
MORE? (Ctl-C to abort)
rmdir – Remove directory
rm – Remove file
cp – Copy file
mv – Move file
cat – Dump file contents
attrib +- – Change the attributes on a file
(a)rchive, (h)idden, (s)ystem, (r)ead-only

Note that the output might vary depending on switch model and code version.

If you press V it will give you version information which you can give you some clue as to what next compatible image is.

Directory: /sw/rom/build/bmrom(t2g)
Build Date: 23:33:11 Apr 24 2009
Version: K.12.20
Build #: 24648

Typically, a switch will boot into Monitor ROM when it has a bad or corrupted flash or when the image is not compatible with the Boot ROM. The way to fix this is to try and put a different image on the switch; one that is compatible with the Boot ROM in the switch. By compatible, I meant the image has to have the same Boot ROM version or one revision up from the current Boot ROM in the switch.

With the software version that I have at the time, the only option I can use to restore the code is through x-modem done over the serial console which can be painfully slow since the a typical serial console connection runs at 9600 baud. To speed things along, I change the baud rate to 115200 by using command speed 115200. When you issue the aforementioned command, you’ll probably see some garbage on the screen since the switch and the computer are now running at different speed. Just change the baud rate on your terminal client to 115200 and hit enter then you’ll get the readable screen back.

To initiate the x-modem transfer, type do for download:


You have invoked the console download utility.
Do you wish to continue? (Y/N)>

The switch will prompt for confirmation. Hit Y then start the transfer. At this point, in your terminal client, start x-modem transfer and pick the firmware you want to send to the switch. You’ll end up with something like this:

Starting xmodem transfer. Press Ctrl+C to cancel.
1% 59 KB 6 KB/s 00:24:23 ETA 0 Errors

It’ll take a while to send the file. Just remember that you do not have to change the baud rate. 9600 will work just fine but it will take forever to finish. Once the file has been transferred, you can issue the command boot to reboot the switch.

Now that’s how you recover from corrupted flash/wrong code version on Procurve 3500 series switches. On the 5400 series, you can also do the same thing. However, since the 5400 series have removable management module, it can be a little bit easier – you just need some spare modules or some memory card reader.

On the 5400, as I understand it, the boot rom is flashed to NVRAM and the code and configuration files are stored in flash. So what you need to do is making sure NVRAM and flash card have the same or compatible boot rom then the so-called “corrupted flash” will work again. You can do this in two ways. One is to put the correct code on the flash card and two is to flash the correct boot-rom on the management module.

So you can use x-modem transfer to copy code as outline above for the 3500 or find a spare management module and flash compatible boot rom to it, swap out the flash card then put it back to the switch. Since the configuration file is stored on the flash card, you won’t have to reconfigure the switch.

Now here’s something that I’ve been thinking about but haven’t tried yet since I don’t have a card reader handy. The code is stored on a flash card, you can probably use a generic card reader and update it unless Procurve is using some sort of proprietary file system.

I hope with the information above, it can help you restore corrupted flash on Procurve switches. If I have left something out or if you have any tips to share, feel free to leave a comment.

About Brian Dao

I am a former United States Paratrooper; served in the 504th Parachute Infantry Regiment of the 82nd Airborne Division back in the 90's. I've been working in the IT field for over 10 years and have had various positions to include database & server administration, web/desktop application programming and network admin. My current job is to keep the bits from falling out of the switches at Hewlett Packard. Pinkie is a software that I designed and programmed in the wee hours. It's been in the works for over three years during which time, plenty of skittles and cokes have been consumed.


  1. Zosha says:

    what file did you use the swi? for hp website?

  2. Neil says:

    You have made my day. You are a star, this has saved me hours of painful research.

    Thank you Thank you Thank you.

  3. Sean Ruddy says:

    I have a 5406 that when it rebooted displays only S2S011E, and most of the LEDs on the management module are amber/red. nothing else is displayed on the cli.

  4. game ceme says:

    Hi there, аll is going sound heгe and ofcourse everry onee
    is sharing іnformation, tһat’s trulʏ good,
    keep up writing.

  5. Spot onn with thіѕ write-up, I reaⅼly beliᥱve
    tҺis amazing site neеds much mօre attention. Ӏ’ll probably bbe returning
    to гead tnrough more, thаnks ffor the info!

  6. Audi Sai Gon says:

    Thanks for finally writing about >Procurve
    corrupted flash recovery <Loved it!

  7. Ali says:

    After following the procedure and it does send the file thru XMODEM at the end it said, unsuccessfull. The compact flash is not present. could not be found.. please help, i have been searching for help but no luck yet.

  8. FastKatie says:

    I have noticed you don’t monetize your page, don’t waste
    your traffic, you can earn additional bucks every month because
    you’ve got high quality content. If you want to know how
    to make extra money, search for: best adsense alternative Dracko’s tricks

  9. FirstToney says:

    I see you don’t monetize your website, don’t waste your
    traffic, you can earn extra cash every month because you’ve got high quality
    content. If you want to know how to make extra money, search for: Mrdalekjd methods for $$$

  10. prediksi says:

    You cannot file a 1040EZ form when reporting your
    gambling winnings, as you will must itemize these earnings and
    deductions. It’s still determined whether or not or otherwise coach Norv Turner
    are able to turn that flaw around. When all the gamblers are employing in much the same system, and so
    are gambling against one another for similar goal, guess what.

  11. Summer says:

    It’s remarkable designed fօr me to һave a web рage, ԝhich
    is helpful designed f᧐r mу knoԝ-how. thanks admin

  12. the information provided is very useful

  13. Tremendous things here. I’m very satisfied to peer your article.
    Thanks a lot and I aam looking forward to touch you.
    Will you please drop me a mail?

  14. Yes! Finally something about judi online poker ceme online.

  15. What’s up friends, its wonderful piece of writing regarding teachingand entirely explained,
    keep it up all the time.

  16. BestMaya says:

    I have noticed you don’t monetize, don’t waste your traffic, you can earn additional cash every month.
    There is one good way that brings decent money, you can google it: money making
    by bucksflooder

  17. Tisha says:

    This is a good tip particularly to those fresh to the
    blogosphere. Simple but very accurate information… Thank you
    for sharing this one. A must read article!

  18. It’s actually very difficult in this active life to listen news on TV,
    thus I only use internet for that purpose, and obtain the most recent news.

  19. I don’t know if it’s just me or if everyone else experiencing problems with your website.
    It appears as if some of the written text in your content
    are running off the screen. Can somebody else please provide feedback
    and let me know if this is happening to them
    too? This might be a problem with my browser because I’ve had
    this happen previously. Cheers

  20. Usually I don’t read post on blogs, however I would like to say
    that this write-up very compelled me to check out and do it!
    Your writing taste has been amazed me. Thank you, very great article.

  21. Thanks for sharing your thoughts on Procurve corrupted flash recovery.

  22. This article will help the internet people for building up
    new website or even a blog from start to

  23. I don’t even understand how I ended up right here, however I thought this put up used to be
    good. I don’t realize who you might be but certainly you’re going to a famous
    blogger in case you aren’t already. Cheers!

  24. Thanks a lot for sharing this with all folks you actually realize
    what you’re talking about! Bookmarked. Kindly also discuss with my website =).
    We will have a link exchange agreement among us

  25. Hi to every body, it’s my first go to see of this webpage; this blog includes awesome and really good stuff in favor of visitors.Hurrah, that’s what I was looking for, what a stuff! existing here at this weblog, thanks admin of this website

  26. Wilda says:

    Hi еveryone, it’ѕ my first pay a quick visit ɑt tһis site,
    and post іs in faсt fruitful in favor οf me, keep
    up posting thesе content.

  27. Great info. Lucky me I recently found your site by chance (stumbleupon).

    I have bookmarked it for later!

  28. Makayla says:

    Nice response in return of this difficulty with solid arguments
    and describing everything about that.

  29. I’d like to fіnd out more? І’d love to find out m᧐re details.

  30. Really no matter if someone doеsn’t be aware of afterward
    іts up to otһer viewers that theу wіll help,
    sⲟ һere it occurs.

  31. Hello , i Just want to say that, umm..
    what u make is very amazing and i also like it ^.^
    Thanks friend. I hope i can see your various works.
    Keep working guys

  32. Alda says:

    Hi there, yes this post is in fact good and I have learned lot of things from
    it regarding blogging. thanks.

  33. That is very fascinating, You are a very professional blogger.
    I’ve joined your feed and look forward to seeking more of your excellent post.

    Additionally, I have shared your website in my social networks

  34. It’s awesome designed for me to have a website, which is beneficial designed for my know-how.

    thanks admin

  35. Royce says:

    Excellent blog! Do you have any recommendations for aspiring
    writers? I’m hoping to start my own site soon but I’m
    a little lost on everything. Would you advise starting with a free platform like WordPress or go for a paid option? There are so many choices out there that I’m completely
    overwhelmed .. Any recommendations? Thanks a lot!

  36. Emmett says:

    Hello, this weekend is pleasant in favor of mе, because thіs
    time і am reading thіs impressive educational article һere at my hоme.

  37. ceriaqq says:

    Hi there, after reading tһis remarkable piece ߋf writing і am ttoo glad tо share mү familiarity
    һere ԝith mates.

  38. obvi᧐usly liie your web-site hοwever уoᥙ need tо test the spelling oon sеveral of your posts.
    Severɑl of them arе rife ᴡith spelling pгoblems and I inn finding іt very botfhersome too inform the reality on thе
    other hand I’ll cеrtainly ϲome bacck aցain.

  39. Thankfulness to my father who shared with me on the topic of this weblog, this blog is in fact remarkable.

  40. Remarkable! Its truⅼy wesome post, I һave gott mucһ cⅼear idsa гegarding from this post.

  41. Link exchange іs nothing else howеver it iѕ simply placing tһe other person’s weblog link
    ᧐n your рage at apρropriate place and օther person wiⅼl also do similar in favor of you.

  42. Option Link l69
    L69 is one of the official sites that supply the newest alternative link reliable online
    betting sites. L69 provides more than one alternative link from each betting site, and we
    here have become the most comprehensive alternative link
    providers and the L69 site has a responsive display that makes it easy for you to access our site
    coming from the display of your device or laptop. Plus what you need to
    understand is of which we here just have one official link, l69.
    me and if there are usually other websites that provide information or call
    our own website is not the official site.
    Ball gambling and casino gambling usually are forms of games that are
    extremely popular with the folks regarding Indonesia. Why l69?

    Because we have been here for more than five years and have become the trust
    associated with the folks of Dalam negri as a location to perform
    soccer gambling as well as on-line casino gambling.
    Itself in addition has obtained a license through the Asian and Western european governments last year to
    come to be an online gambling betting provider site in Asian countries and Europe.
    By supplying lots of different types of betting bets that may be played about one ID, it makes the particular members feel happy playing in your bookie.

    Great things about Alternative Links l69
    Nevertheless sadly lately there usually are many members
    who encounter problems and problems whenever entering into their Sgd777 game since
    the Sbobet site is usually blocked and many old sites have been blocked by
    the Indonesian authorities and not a few usually are also influenced in what is called the Newsletter Project.
    The Indonesian government recently is struggling to eliminate links or paths to access sites that smell regarding pornography, gambling and right now there are a great many
    other content that is deemed inappropriate.

  43. Any of these sites that provides the particular best gambling online game
    services in Dalam negri is Promosbobet. Online bookie sites
    that can offer direct access from home via the internet network and
    will be an alternative to increase bettors’ income without having to shell out a lot regarding

    Imagine, with only relatively affordable capital, members may play
    one of the most exciting betting games that members want
    these kinds of as soccer gambling, online casino, or real cash online slots,
    and naturally get the particular financial benefits that members need.
    Almost everything a member can achieve just by getting an official member regarding the best and a lot trusted online bookie site Promosbobet.

    The largest Online Gambling Promotion
    Bettors can acquire various types associated with benefits by turning into a member of the Promosbobet
    gambling site. This site always provides amazing promotions achievable consumers and loyal
    customers who have picked Promosbobet as a new betting
    partner for years.

    Deposit Added bonus – the 1st bonus that the member could possibly get by simply becoming a fellow
    member of Promosbobet is when the fellow member makes a down payment having a minimum associated with IDR 100, 500 only!
    Bettors can get bonuses as high as almost 2 , 000, 000 rupiah.

    Winning Added bonus – just simply by playing online football gambling that a person want or
    experiencing the fun plus challenges of shooting fish games, an individual have a possiblity
    to win a earning bonus of upwards to 50%.

    Procuring & Rebate Added bonus – by dealing with Sbobet and Maxbet, Mabosbet
    gives you the chance to get an immediate 5% cashback and 73% rebate!

  44. Indonesia’s Best and Most Complete Online Slot
    machine Gambling Bookies

    The particular Userbolavip site provides also been furnished with
    various features that are intended for the particular safety
    and convenience of loyal clients throughout Indonesia. Simply by
    registering as a member you can immediately have a variety
    of complex and attractive features the best and
    most trusted on-line slot gambling web site Userbolavip has.

    Total type of game
    By becoming the member of the Userbolavip online
    gambling site, you could find various sorts of gambling
    online games. Not only slots, here you can also find some other popular
    types associated with games such because soccer gambling
    or even sports betting, online casino gambling, poker, and so on. All games will
    also be guaranteed quality because they are provided by the
    particular best online gambling sites in the planet.

  45. After I originally commented I appear to have clicked on the -Notify me when new comments are added- checkbox and from now on each time a comment
    is added I recieve four emails with the exact same comment.
    Perhaps there is an easy method you can remove me from that service?
    Thanks a lot!

  46. betberry says:

    Betberry is the most effective online betting
    broker sites in Indonesia which has recently been established since
    last year. Along with the particular increasing number regarding online casino internet sites, many
    of all of them have decided to close due to hard competition. For being unfaithful years Betberry offers been established in addition to trusted as
    a safe spot to gamble, you can expect the greatest service
    for our users. The good news is that our company is here that Betberry has used a good updated system
    to be able to play all games at once in 1 id. You no longer require to change your own ID, if you would like in order to play at some other
    providers plus the funds are already applying
    seamless wallet technological innovation.

  47. I think what you said was actually very reasonable. However, what about this?
    suppose you composed a catchier post title? I mean, I don’t wish to
    tell you how to run your blog, however what if you added a title that makes people desire more?

    I mean Procurve corrupted flash recovery is kinda vanilla.
    You should look at Yahoo’s home page and note how they create post titles to
    get viewers to open the links. You might try adding a
    video or a picture or two to grab readers interested about what you’ve got to say.

    Just my opinion, it could bring your blog a little bit more interesting.


  1. Pro Visual C Cli And The Net 20

    […] Procurve switches. If I have left something out or if you have any tips to shar […]

  2. judi ayam online

    blog topic

  3. agen adu ayam

    Procurve corrupted flash recovery

  4. dragonquest-10.Com

    Procurve corrupted flash recovery

Speak Your Mind