Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


Ge0rge

2116 posts

Uber Geek
+1 received by user: 2062

Trusted
Lifetime subscriber

#304603 19-May-2023 15:05
Send private message

I'm beginning to regret buying an HP A5120 48 port switch.

 

 

 

I've lost over six hours today to it, and still haven't gotten any further than I was when I first powered it on.

 

Console connection is working, USB serial to RJ45, using Hyperterminal I can watch it start up. It then tells me that there is no default file to boot, and shows the following menu:

 

********************************************************************************
*                                                                              *
*   HP A5120-48G-PoE+ EI Switch with 2 Interface Slots BOOTROM, Version 621    *
*                                                                              *
********************************************************************************
       Copyright (c) 2010-2013 Hewlett-Packard Development Company, L.P.
       Creation date   : Nov 12 2013, 02:05:35
       CPU Clock Speed : 264MHz
       BUS Clock Speed : 33MHz
       Memory Size     : 128MB
       Mac Address     : b8af6783fcb2

 


Press Ctrl-B to enter Boot Menu... 0
Auto-booting...

 

No correct default file to boot!

 

BootRom password: Not required. Please press Enter to continue.

 

Password recovery capability is enabled.

 


  BOOT  MENU

 

1. Download application file to flash
2. Select application file to boot
3. Display all files in flash
4. Delete file from flash
5. Restore to factory default configuration
6. Enter bootrom upgrade menu
7. Skip current configuration file
8. Reserved
9. Set switch startup mode
0. Reboot
Ctrl+F: Format File System
Ctrl+D: Enter Debugging Mode
Ctrl+T: Enter Board Test Environment

 

Enter your choice(0-9):

 

---------------------------

 

I can't seem to google myself the files that I need to make it go any further than this.  Plenty of searches come back with ''Use the CLI...". I can't get to the CLI, that option is not in the boot menu.  I tried "restore to factory config" but that can't be done because " Password recovery capability is enabled. To perform this operation, first disable the password recovery capability using the undo password-recovery enable command in CLI." and, you guessed it... CLI...

 

I thought I had found an application file - 13mb took just over an hour to upload using Xmodem, and right at the end it failed with "file is oversize". Could have bloody mentioned that at the start...

 

There doesn't appear to be any way to physically reset it to default , which would be a great place to start.  Old forum answers on HP etc provide links that are now dead, and I can't find anything of use in the new Aruba site.

 

Any advice / suggestions / files would be greatly appreciated, this was intended to be a sweet little upgrade from the 8 port poe and 24 port non-poe switch I currently have.


Filter this topic showing only the reply marked as answer Create new topic
Silvrav
477 posts

Ultimate Geek
+1 received by user: 173

ID Verified

  #3077906 19-May-2023 15:19
Send private message

From this it seems the size is an issue to upgrade/upload a new ROM - https://looppacket.wordpress.com/2012/08/13/upgrade-firmware-and-bootrom-on-hp-a5120/

 

and yes, you need CLI to fix it. :(

 

 

 

Have you tried to SSH into the machine? But without the password I guess you wont get far either.

 

 

 

more info here : https://community.hpe.com/t5/comware-based/unable-to-restore-hp-a5120-switch-to-factory/td-p/6993519#.ZGbqLnZByUk 

 

 

 

Another method to try : https://www.delixirpro.com/blog/2022/12/01/reset-factory-default-hp-5120-switch/ 




rphenix
990 posts

Ultimate Geek
+1 received by user: 127

ID Verified
Lifetime subscriber

  #3077912 19-May-2023 15:38
Send private message

You did try option 7?


Ge0rge

2116 posts

Uber Geek
+1 received by user: 2062

Trusted
Lifetime subscriber

  #3077916 19-May-2023 16:22
Send private message

Yeah, tried option 7 enabled and disabled - no change.

There shouldn't be the space issue mentioned above, as when I try option 3, there are no files present at all (part of the problem I guess?)

Unfortunately I can't SSH into the switch, as no configuration file means no IP address set on any of the ports. I'm in the process of trying Xmodem again, and using an older *.bin version - 50 minutes to go...



Ge0rge

2116 posts

Uber Geek
+1 received by user: 2062

Trusted
Lifetime subscriber

  #3077944 19-May-2023 20:18
Send private message

Solved.

 

While I couldn't find anything in the documentation about it, I took a punt and uploaded the oldest firmware I could find for it - found here, just in case someone stumbles across this in the future.  I was then able to use the CLI to set an IP address and web user, then use the web admin console to:

 

     

  1. Log in to the switch and set time, date etc.
  2. Delete the firmware, using the /unreserved option mentioned in a link about to not just move it to the recycling bin. There isn't room on board for two files, so the old has to go to make way for the new. This leaves the unit with no saved firmware, just running on what has been loaded into RAM - don't turn it off!
  3. Change the web admin timeout to longer than 10 minutes. If you don't do this, it will time out during the next step and your upload will fail. You'll need to then delete the failed temp file, which takes just as long as uploading did. Ask me how I know...
  4. Upload the latest version using the web admin - takes about 12-14 minutes to do. Slow, but way better than slightly over an hour via Xmodem.
  5. Save the uploaded file to the main config slot, and then reboot.

 

Now it's time to learn how it actually works, now it starts!

 

 


Silvrav
477 posts

Ultimate Geek
+1 received by user: 173

ID Verified

  #3078022 20-May-2023 11:21
Send private message

Glad you got sorted!

Filter this topic showing only the reply marked as answer Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.