No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Configuration Guide - Basic Configuration

S2720, S5700, and S6720 V200R013C00

This document describes the configurations of Basic, including CLI Overview, EasyDeploy Configuration, USB-based Deployment Configuration, Logging In to a Device for the First Time, CLI Login Configuration, Web System Login Configuration, File Management, Configuring System Startup, BootLoad Menu Operation.

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Restoring the Switch to Factory Default

Restoring the Switch to Factory Default

You can restore the factory default of the configuration file or the switch depending on the scenario.

Restoring the Factory Configuration of the Configuration File Using the PNP Button

If you press and hold the PNP button for more than 6s, the device restores the default settings and restarts automatically.
  • Only the S2720EI, S5720LI, S5720S-LI, S5720I-SI, S5730SI, S5730S-EI, S5730HI, S6720LI, S6720S-LI, S6720SI, and S6720S-SI support this operation.
  • This operation will enable the function of logging in through the console port.
  • This operation clears the service configuration and data files, which is the same as the function of the reset factory-configuration command.
  • This operation will not delete the protected directory and protected/$_default.cfg file.
  • If the protected/$_default.cfg file exists, this operation will set the $_default.cfg file as the configuration file for next startup. If the file does not exist, the configuration file for next startup is empty.

Restoring the Switch to Factory Default in One-Click Mode

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.

  1. In the user view, run reset factory-configuration.

    The switch is reset and restored to factory default.

    This command restores the factory configuration of the system configuration file and clears all service configurations and data files of a switch. Exercise caution when running this command.
  2. In the user view, run display factory-configuration reset-result.

    The result of the latest factory default restoration of the switch is displayed.

Updated: 2019-04-04

Document ID: EDOC1100066063

Views: 41854

Downloads: 712

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next