How to Remove all Logs and Restore the Default Configuration

How to Remove all Logs and Restore the Default Configuration

Created On 09/25/18 17:46 PM - Last Modified 02/08/19 00:08 AM



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.

To factory default a device from Maintenance Mode, refer to How to Factory Reset a Palo Alto Networks Device.

owner: mzhou

  • Print
  • Copy Link

Choose Language