Comware Based
cancel
Showing results for 
Search instead for 
Did you mean: 

HP Series A 5900 - How to reset to factory defaults?

SOLVED
Go to solution
egodkin
Occasional Advisor

HP Series A 5900 - How to reset to factory defaults?

Hello, I have two hp series A 5900 switches.  I would like to know how to revert them to their factory defaults so they can be reconfigured from a fresh image.  

 

Thank You. 

 

 

P.S. This thread has been moved from LAN Routing to Comware-Based.
-HP Forum Moderator

7 REPLIES
ccavanna
Advisor
Solution

Re: HP Series A 5900 - How to reset to factory defaults?

I know these run comware v7 so i am not sure if this is the correct command... This is what it is in Comware v5 I would assume they are the same. This command will reset the saved-config.

 

reset saved-configuration main

Vince_Whirlwind
Trusted Contributor

Re: HP Series A 5900 - How to reset to factory defaults?

You may also need to run

reset saved-configuration backup

egodkin
Occasional Advisor

Re: HP Series A 5900 - How to reset to factory defaults?

Thank You Vince.  This worked perfectly!

tejene_bhandari
Occasional Advisor

Re: HP Series A 5900 - How to reset to factory defaults?

i'm not able to erase configuration file , i have hp 5920 brand new Switch i was try to make irf, unfortunately i could not make it happen neither i could able to erase configuration file from current config, 

i have mess up configuration i was try to revert back to factory default but it just cant revert it back 

i have exe command 

<IPTV-Core-2>
<IPTV-Core-2>reset sa
<IPTV-Core-2>reset saved-configuration m
<IPTV-Core-2>reset saved-configuration main
The saved configuration file will be erased. Are you sure? [Y/N]:y
Configuration file in flash: is being cleared.
Please wait ...
MainBoard:
Configuration file is cleared.
<IPTV-Core-2>

 

 save 

reboot 

 

after rebooting it stays same 

 

 

 

bakerbas
Advisor

Re: HP Series A 5900 - How to reset to factory defaults?

Hi Tejene_bhandari,

 

You are resetting the saved configuration and then saving the running configuration right back to the saved configuration.

Reset the saved configuration and then reboot without saving.

FabianK
Regular Visitor

Re: HP Series A 5900 - How to reset to factory defaults?

in some cases i have seen a change in the startup config.

You can check what file is being used for startup config, then delete this file and reboot the switch.

<Switch>display startup
Current startup saved-configuration file: flash:/startup.cfg
Next main startup saved-configuration file: flash:/startup.cfg
Next backup startup saved-configuration file: NULL
<Switch>delete startup.cfg
Delete flash:/startup.cfg? [Y/N]:y
Deleting file flash:/startup.cfg... Done.
<Switch>reboot
Start to check configuration with next startup configuration file, please wait.........DONE!
Current configuration may be lost after the reboot, save current configuration? [Y/N]:n
This command will reboot the device. Continue? [Y/N]:y
Now rebooting, please wait...

 

tejene_bhandari
Occasional Advisor

Re: HP Series A 5900 - How to reset to factory defaults?

hi Occasional Advisor 

i did both method at the first i did reset and reboot but it still stay same and i thought after reseting the current config i need to save and reboot !!

so i have applied both method several time even though it sstill same

but good news is now i'm able to make IRF, before i was struggle to configure IRF but now i'm ok with that

however i still curious why am  i not able to erase current config ?