华为路由器和交换机恢复出厂配置实操

华为路由器和交换机恢复出厂配置实操_第1张图片

//用户视图下输入重置交换机配置命令

reset  saved-configuration

//提示将删除交换机当前配置文件,是否继续,输入Y

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.

Jan  3 2024 16:59:07-08:00 sw1 %%01CFM/4/RST_CFG(l)[1]:The user chose Y when dec

iding whether to reset the saved configuration.

Info: Succeeded in clearing the configuration in the device.

//用户视图下输入交换机重启命令

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

//输入N,回车继续

ext startup:, Continue?[Y/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

Jan  3 2024 16:59:42-08:00 sw1 %%01CMD/4/REBOOT(l)[2]:The user chose Y when deci

ding whether to reboot the system. (Task=co0, Ip=**, User=**)

//重启完成,已恢复出厂配置

小编,经过真机实操和仿真实验,确认以上命令易操作,可实现。

!!!特别提醒:在恢复出厂设置一定要提前备份设备配置,避免配置丢失造成其他损失。

你可能感兴趣的:(华为)