Solved

Reloading a switch to default factory state (ONIE)


Hello,

I'm aware of booting into ONIE rescue mode however I'm looking to completely reset a switch to the factory default (ONIE / no image). The reason for this is I'm setting up a local lab to ensure ZTP works properly and I'd like to test the various methods (IE: USB, DHCP).

If this isn't possible does the ONIE rescue mode go through the same ZTP provisioning process as it does when no image is installed?

Thanks!
icon

Best answer by Pete B 1 October 2018, 22:30

Hi @SleepyWombat the section right before rescue mode shows you how to reset to default settings: `onie-select -k`

https://docs.cumulusnetworks.com/display/DOCS/Managing+Cumulus+Linux+Disk+Images#ManagingCumulusLinuxDiskImages-UninstallingAllImagesandRemovingtheConfiguration

View original

3 replies

Userlevel 3
Hi @SleepyWombat the section right before rescue mode shows you how to reset to default settings: `onie-select -k`

https://docs.cumulusnetworks.com/display/DOCS/Managing+Cumulus+Linux+Disk+Images#ManagingCumulusLinuxDiskImages-UninstallingAllImagesandRemovingtheConfiguration
I'm baffled how I glanced over the most crucial part! That's it! Thanks Pete!
Userlevel 3
No worries, but I'm glad you asked @SleepyWombat! Good luck testing out ZTP, and do let us know here if you run into any issues.

Reply