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. Only the S5720-LI, S5720S-LI, S5720I-SI, S5735S-H, S5736-S, S5731-S. Factory resetting a Huawei switch is one of those tasks every network engineer eventually faces—whether you're locked out due to a forgotten password, re-deploying refurbished units, troubleshooting unstable configurations, or preparing devices for a new branch rollout. Some Huawei Switches store crypto materials in secure partitions untouched by standard resets. ) can be done in different ways.