對于支持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后,設備將重新啟動。