How do I restore a controller to factory default?

Aruba Employee

Product and Software: This article applies to all Aruba controllers and ArubaOS versions.


You can restore the controller to factory default from the CLI or from the WebUI.


From CLI

write erase


write erase all


Then reload the controller.


From WebUI

Maintenance > Switch - clear configuration

(This is equivalent to the 'write erase' command.)


The 'write erase' command only restores the configuration saved on flash to the factory default configuration and changes the boot configuration file to the 'default.cfg' file.


The 'write erase all' command erases:

  •  The configuration file. The boot configuration file is also restored to the 'default.cfg' file.
  •  The license. Before issuing this command, export the license. Then import the license after factory default has been restored.
  •  The wms database.
  •  The ap database.
Version history
Revision #:
1 of 1
Last update:
‎07-01-2014 03:42 PM
Updated by:
Labels (1)
Search Airheads
Showing results for 
Search instead for 
Did you mean: 
Is this a frequent problem?

Request an official Aruba knowledge base article to be written by our experts.