If you want to clear all service configurations and data files, run the following command to restore the switch to factory default in one-click mode.
In the user view, run reset factory-configuration.
The switch is reset and restored to factory default settings.