华为设备恢复出厂设置

华为设备恢复出厂设置

操作命令如下: 

<sw1> 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

 

<sw1> reboot

Info: The system is now comparing the configuration, please wait.

Warning: All the configuration will be saved to the configuration file for the n

ext startup:, Continue?[Y/N]: N                                                                //提示是否保存选N

Info: If want to reboot with saving diagnostic information, input 'N' and then e

xecute 'reboot save diagnostic-information'.

System will reboot! Continue?[Y/N]: Y                                                    //提示是否重启选Y

.. ..

<Huawei>                                                                                                //变成这种提示符,表示已经恢复出厂设置

原文地址:https://www.cnblogs.com/gucun-blog/p/14183281.html