In order to factory reset your device enter the following command at the CLI interface;
Once entered you will get the following warning.
This command WILL reset this device to factory default configuration.
This will remove all network and security configuration, user accounts log files, snapshots and applied software upgrades.
You will NOT be able to recover any of this data from the device after this command has been confirmed.
After the factory reset completes, the device will automatically reboot and display the OBE.
Warning: Type the word 'COMMIT' to continue: COMMIT
Type the word "COMMIT" to continue: COMMIT
Once "COMMIT" is entered the system will commence to perform the factory reset.