Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[SRX] Difference between "load factory-default" and "request system zeroize media"



Article ID: KB23787 KB Last Updated: 23 Nov 2020Version: 6.0

This article differentiates between the use of the load factory-default and request system zeroize media commands. It also describes the commands that are used to reset the device to factory defaults.


request system zeroize media

When the request system zeroize media operation mode command is used via the Command Line Interface (CLI), the device can be reset to factory defaults. This operation will erase all logs and data, and then load the factory-default configuration on the device. This is the same as using the Reset Config button on the front panel of the SRX100, SRX210, SRX240, and SRX650 Series devices.

After running this command, when a device is rebooted, it will not ask for a password and it will have no logs.

Note that licenses are not deleted when this command is executed. This is the intended behavior of the fix for PR863962 - License is deleted after request system zeroize and it was resolved in Junos OS 12.1X44-D25, 12.1X45-D15, and 12.1X46-D10 release.

However, licenses can be deleted, if desired, with the command request system license delete <license-key-identifier>, as discussed in KB17729 - How to remove a license key.

Note: On SRX5000 Series devices, request system zeroize should be used, because the media option is not currently supported on this series.

load factory-default

The load factory-default command in Config mode will erase only the existing configuration and load the factory-default configuration. However, the root-authentication password must be set before committing the configuration.

For more information, refer to KB15725 - [SRX] Getting Started - Factory Reset.

Note: Console access is required to execute request system zeroize, whereas it is not mandatory for load factory-default. But if the user is running the load factory-default command via a “non-console” connection to any IP address (management or otherwise), the user needs to ensure that the configuration to the interface used for the current connection is restored before commit.


Modification History:
  • 2020-11-23: Article reviewed for accuracy and relevance, article accurate, and relevant

  • 2020-11-06: Article reviewed for accuracy, article accurate, and valid.

  • 2018-08-16: Solution section revised with crisper content. Minor grammatical and format changes made. Typos corrected.


Related Links

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search