How to remove all logs and restore the default configuration

How to remove all logs and restore the default configuration

123407
Created On 09/25/18 17:46 PM - Last Modified 06/16/23 17:18 PM


Resolution


Overview

In the PAN-OS CLI, use the request system private-data-reset command to remove all logs and restore the default configuration.

> request system private-data-reset

Executing this command will remove all logs and configuration will revert back to factory defaults. The system will restart and then reset the data.

Are you sure you want to continue? (y/n) (y or n)

 

It is advised to export a copy of config snapshot before doing this. After running the command, confirm to proceed. The firewall will reboot to initialize the system and erase the running configuration.

 

Note: The request system private-data-reset command will not perform the same actions as a factory reset of the device from Maintenance Mode. Private-data-reset will not do a zero-ization of the data and will not erase the system disks. Performing a bit-level recovery procedure can still retrieve the data from the device.

Also, all the content packages installed will remain with the same PAN-OS, but all the logs and saved configurations on the firewall will be cleared.

 

See Also

To export the current config, refer to How to Save an Entire Configuration for Import into Another Palo Alto Networks Device.

For instructions on how to Factory Reset a firewall see, How to Factory Reset a Palo Alto Networks Device.

 

owner: mzhou



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClJ4CAK&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language