对于支持PNP键的设备,用户可通过长按(6秒以上)PNP键,使设备恢复出厂配置并自动重新启动。PNP键如下图所示。
<HUAWEI> reset factory-configuration Warning: The command will delete all the configurations and files (except the startup, patch, module, and license files) from the device. Continue? [Y/N]:y //输入y后,将清除设备上所有的配置和数据文件。 Warning: The system will reboot after configurations and files are deleted. Continue? [Y/N]:y //输入y后,设备将自动重新启动。
<HUAWEI> reset saved-configuration Warning: The action will delete the saved configuration in the device.
The configuration will be erased to reconfigure. Continue? [Y/N]:y //输入y后,将清除设备上的已保存的配置。 Warning: Now clearing the configuration in the device.
Info: Succeeded in clearing the configuration in the device.
<HUAWEI> reboot Info: The system is now comparing the configuration, please wait................. Warning: The configuration has been modified, and it will be saved to the next startup saved-configuration file flash:/vrpcfg.zip. Continue? [Y/N]:n //输入n后,不保存配置文件。 Info: If want to reboot with saving diagnostic information, input 'N' and then execute 'reboot save diagnostic-information'. System will reboot! Continue?[Y/N]:y //输入y后,设备将重新启动。