华为S系列交换机通过命令行恢复出厂设置的操作方法

如果需要恢复出厂配置,请按照下面命令行操作。
<Quidway> 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
Warning: Now clearing the configuration in the device.
Info: Succeeded in clearing the configuration in the device.
<Quidway> 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 . 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重启

整机重启后,配置就可以恢复到出厂默认配置了,可以按照新的业务配置设备。

注:
清空重启后,再配置交换机,或者新开局第一次配置交换机,在保存配置时,一定要根据回显提示,输入两次y,才能保存成功。回显如下:

<Quidway> save
The current configuration will be written to the device.
Are you sure to continue?[Y/N]y
Info: Please input the file name ( *.cfg, *.zip ) [vrpcfg.zip]:
flash:/vrpcfg.zip exists, overwrite?[Y/N]:y
Now saving the current configuration to the slot 0.
Save the configuration successfully.

 

ICP备案号:晋ICP备18007549号-1
站长微信:13613567205