Reverting to the Default Factory Configuration by Using the request system zeroize Command
The request system zeroize command is a standard Junos OS operational mode command that removes all configuration information and resets all key values. The operation unlinks all user-created data files, including customized configuration and log files, from their directories. The switch then reboots and reverts to the factory-default configuration.
To completely erase user-created data so that it is unrecoverable, use the request system zeroize media command.
![]() | Caution: Before issuing request system zeroize, use the request system snapshot command to back up the files currently used to run the switch to a secondary device. |
To revert to the factory-default configuration by using the request system zeroize command:
user@switch> request system zeroize
warning: System will be rebooted and may not boot without configuration
Erase all data, including configuration and log files? [yes,no] (yes)- Type yes to remove configuration and log files and revert to the factory default configuration.
- Complete the initial configuration of the switch. See or Configuring a QFX3500 Device as a Standalone Switch