Huawei

华为网络设备恢复出厂设置

华为网络设备恢复出厂设置

操作步骤

1、在用户视图下执行以下命令,系统提示配置将被清除,输入「y」继续执行。

<Switch>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.

2、输入「reboot」重启设备,系统询问下次启动是否使用现有配置,输入「n」拒绝,接着输入「y」执行重启。

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

3、重启完成后,设备将恢复出厂设置。

本文为原创文章,著作权归作者所有:来自「KOBIN 技术随笔」作者的原创作品,转载请标明出处。
华为网络设备恢复出厂设置
https://blog.kobin.cn/blog/network/n3/2426.html
(0)

评论功能升级维护公告

为响应国家网络信息安全合规要求,并进行全面的安全策略升级,本站自即日起暂时关闭博客的评论功能。

在此期间,您将无法发表新的评论,但仍可正常浏览所有历史文章及现有评论。如果您遇到问题需要协助,可以选择在线留言,或者发送邮件到 chen@kobin.cn 。

对于给您带来的不便,深表歉意。感谢您的理解与支持!

KOBIN 技术随笔
2025 年 8 月 26 日