erase system factory-default

Erases the system settings and restores factory default settings.
Syntax
erase system factory-default [golden]
Parameters
golden
Specifies to reset the switch and install the Golden image into both the primary and secondary partitions. This option is only supported on ICX 8100 and ICX 8200 devices.
Modes

Global configuration mode

Usage Guidelines

The erase system factory-default command resets the switch to its original state and boots from the currently installed UFI image in the primary partition.

Autocomplete is disabled for this command. You must manually key in erase system factory-default. To prevent accidental execution of this command there are two levels of acceptance required from you. First, a warning message is displayed asking you for confirmation. Upon confirmation, a detailed warning message is displayed, prompting you about various files which may be erased upon executing the command. The factory reset action is triggered when you accept the warning. The switch will then detect the factory reset action and start performing the following actions:

  • If an external USB is plugged in, the software unmounts it.
  • System is set to the same state as shipping out of the factory by performing the following:
    • Erase FI config
    • Erase boot config
    • Erase core files
    • Erase sys logs
    • Erase license Info
    • Erase license persistent
    • Erase license files (for XML license file)
  • The system will auto reboot
  • The switch boots up with factory default settings. The SAU license is restored to the original license info present in the original SKU info.

For the ICX 8200 devices running FastIron release 10.0.00 or later, and the ICX 8100 devices running FastIron release 10.0.10f or later, the erase system factory-default golden command resets the switch and installs the Golden image from the /golden_image partition into both the primary and secondary partitions before booting from the primary partition.

Note: A Golden image must be available in the /golden_image partition. Enter the show flash command to confirm whether the golden image partition is empty or contains a UFI file. If no UFI file is found, then refer to the RUCKUS FastIron Software Upgrade Guide for instructions to download and install the Golden image file.

This command is not supported with stacking. If stacking is enabled when this command is executed, a message will appear.

device# erase system factory-default golden
Error - Factory reset from Golden image not supported when stacking is enabled

Note: For all RUCKUS ICX devices, restoring the factory default settings can also be initiated by pressing the Reset button on the front panel. Refer to the platform-specific Hardware Installation Guide for detailed instructions on the use of the Reset button.
Examples

The following example erases the system settings and restores factory default settings.

device# erase system factory-default

“System will go for a reload. Please enter “y” to confirm “n” to exit”
Y
*************************************************************
* Factory Reset Alert *
*************************************************************
* Please pay attention to the details listed below *
* 1. uboot params will be erased, you might want to *
* backup the uboot params. *
* stop at uboot and do 'printenv' to read uboot params *
* 2. All configuration will be erased, you might want to *
* backup the running config (show running-config) *
* 3. Core Files, Logs will be erased *
* 4. SAU license is restored to original sku *
* use show license sau for more details *
* 5. XML license is erased
* 6. System will go for a reload *
*************************************************************
*************************************************************
I have read the alert and factory reset can be performed now
Please enter 'y' to confirm, 'n' to exit :
*************************************************************

The following example wipes out the system settings and restores factory default golden image settings.

device# erase system factory-default golden
Setting up the system for Factory Reset from Golden image...
Mounting /golden_image partition...
Successfully mounted /golden_image partition
Found Golden UFI image in /golden_image partition
Golden UFI image (/golden_image/golden_image.ufi) is compatible with the ICX8200-C08ZP-POE device
System will go for reload after Factory Reset from Golden image. Please enter 'y' to confirm, 'n' to exit :
(enter 'y' or 'n'): y
*************************************************************
*              FACTORY RESET GOLDEN IMAGE ALERT             *
*************************************************************
* Please pay attention to the details listed below          *
* 1. uboot params will be erased, you might want to         *
* backup the uboot params                                   *
* stop at uboot and do 'printenv' to read uboot params      *
* 2. All configuration will be erased, you might want to    *
* backup the config                                         *
* 3. Core Files, Logs will be erased                        *
* 4. All warm memory contents will be erased                *
* 5. SAU license will be restored to original SKU           *
* use show license installed command for more details       *
*************************************************************

*************************************************************
 I have read the alert and factory reset can be performed now.
 Please enter 'y' to confirm, 'n' to exit :                  
*************************************************************
(enter 'y' or 'n'): y
Factory Reset from Golden UFI image in progress...
History
Release version Command history
08.0.80 This command was introduced.
10.0.00 This command was modified to include the golden option for ICX 8200 devices only.
10.0.10f This command was modified to include the golden option for ICX 8100 devices.