(强烈建议收藏)如果前任同事与公司发生不愉快把设备登录与恢复密码都修改了,怎么办?!(华为设备)

 

1、非常糟糕,bootrom跟console都忘记了(被修改了)怎么处理?

1、设备较老的只能返厂了

2、可以按设备的RST/PNP进行恢复

比如AR路由器的15/160/200系列,NEAR6000系列,注意1200、2200/3200不支持,交换机需要1700、2700部分新机型、5720S以及5730支持,AC与防火墙主流的都支持,操作按住RST/PNP键6秒以上,设备会进行恢复出厂。

3、恢复配置文件(初始化完后,加载配置文件)

<sysname>startup saved-configuration vrpcfg.zip    /通过dir可以看实际为多少,通常是这个文件名

 <sysname> reboot     fast       //重启

(如果console密码不记得,但是这个时候boorom已经恢复密码,可以在进行恢复。)

温馨提示:UP遇到这种情况也就两三次,不保证所有型号都适用,建议多咨询400或者代理商后在进行操作,有可能会导致配置文件丢失的情况。或者之前有配置文件备份的情况下,那就不需要考虑这种情况。

2、如何确定自己设备支持不支持reset恢复?

(1)查找对应型号的手册(如果不会查找,可以参考下我之前的视频,B站(网络之路Blog)公众号(网络之路博客)都有)

(2)以交换机距离,在了解产品(路由器跟AC/防火墙位置都类似),找到硬件描述,里面有很多型号,找到自己对应的。

图片

图片

图片

在外观描述这都会写每个按钮的作用,比如交换机就是按PNP按钮,6秒以上恢复出厂(有版本要求)

3、不算太糟糕的场景:知道console密码,但是bootrom忘记了怎么处理

1、路由器bootrom密码恢复

<Huawei>system-view

[Huawei] diagnose

[Huawei-diagnose] restore boot-password

Info: Restore bootpassword success!

[Huawei-diagnose]return

<Huawei> reboot

Info: The system iscomparing the configuration, please wait.

Warning: All theconfiguration will be saved to the next startup configuration.

Continue ? [y/n]:y

  It will take several minutes to saveconfiguration file, please wait..........

  Configuration file had been savedsuccessfully

  Note: The configuration file will take effectafter being activated

System will reboot!Continue ? [y/n]:y

Info: system isrebooting ,please wait...

2、AC bootrom密码恢复

<Huawei>system-view

[Huawei] diagnose

[Huawei-diagnose]restore bootpassword

Info: Restore bootpassword success!

[Huawei-diagnose]return

<Huawei> reboot

Info: The system iscomparing the configuration, please wait.

Warning: All theconfiguration will be saved to the next startup configuration.

Continue ? [y/n]:y

  It will take several minutes to saveconfiguration file, please wait..........

  Configuration file had been savedsuccessfully

  Note: The configuration file will take effectafter being activated

System will reboot!Continue ? [y/n]:y

Info: system isrebooting ,please wait...

路由器跟AC的恢复是一样的,但是重启的时候注意不要选择reboot fast,要保存在重启,否则不会生效。

3、交换机恢复

<HUAWEI> resetboot password

The password used toenter the boot menu by clicking Ctrl+B or Ctrl+E will be restored to thedefault password, continue? [Y/N] y

  • 7
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值