Sometimes it might be helpful to reset an HP Procurve / Aruba switch to it’s default factory config, and weirdly it took me until my 153rd installed switch (yes, I actually looked up how many I’ve installed over the years for this) before I needed this command, so I had to not only Google it, but also dig trough the command reference until I actually managed to find the command I was looking for. Therefore, I made this post for Google to index, so that when you need it, you’ll be able to find it quicker!
The command is quite simple, just run erase startup-config, it’ll tell you what you’re about to do, and finally acknowledge what you’re about to do with an y. This command should work on just about any firmware level of any HP Procurve or Aruba Switch.
HPSW(config)# erase startup-config
The current configuration will be deleted and the device rebooted.
Continue (y/n)? y
This post is part of a new series called Network Friday, where I explain a new networking concept “every” Friday and tell you have to configure it on (mostly) HP hardware. The series will mostly focus on the configuration side, as I feel there are lots of resources out there that do a fine job of explaining complex concepts, but very few that show you how to do it on your specific hardware. This series aims to address this somewhat, at least on the HP side of the fence.
Leave a Reply