重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1122|回复: 0
打印 上一主题 下一主题

华为路由器如何恢复出厂设置?

[复制链接]
跳转到指定楼层
楼主
发表于 2022-9-14 18:12:15 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
比如:
  我这里 修改了设备名字:
   sysname r2
   interface GigabitEthernet0/0/0
   ip address 2.2.2.254 255.255.255.0

   之后保存:
   查看配置:
   [r2]disp current
   ...
   sysname r2
   interface GigabitEthernet0/0/0
   ip address 2.2.2.254 255.255.255.0
   ...

   [r2]

   如果想回到出厂设置
   <r2>reset saved-configuration

   This will delete the configuration in the flash memory.

   The device configurations will be erased to reconfigure.

   Are you sure? (y/n)[n]:y
    Clear the configuration in the device successfully.
   <r2>

   重启生效
   <r2>reboot
Info: The system is comparing the configuration, please wait.
Warning: All the configuration will be saved to the next startup configuration.
Continue ? [y/n]:n            --注意,这里要选择 n
   System will reboot! Continue ? [y/n]:y
Info: system is rebooting ,please wait...

   之后,重启后,发现前面修改的配置都没有了,包含 设备的名字:
   
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-4-20 21:34 , Processed in 0.090161 second(s), 23 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表