华为s5700交换机忘记console的密码,怎么恢复

**

华为s5700交换机忘记console的密码,怎么恢复

设备的BootROM提供了清除Console口密码的功能。

  1. 进入BootROM主菜单
    用串口线连接设备,然后重启。当出现“Press Ctrl+B to enter BootROM menu…”(V200R002及V200R003版本)或者“Press Ctrl+B or Ctrl+E to enter BootROM menu …”(V200R005及以后发布的版本)打印信息时,按下“Ctrl+B”或者“Ctrl+E”并键入密码(缺省为“Admin@huawei.com”,V100R006C03之前版本可能为“huawei”),进入BootROM主菜单。

  2. 清除密码
    BootROM MENU

  3. Boot with default mode

  4. Enter serial submenu

  5. Enter startup submenu

  6. Enter ethernet submenu

  7. Enter filesystem submenu

  8. Modify BootROM password //V200R006及之前版本:Modify BootROM password V200R007及之后版本:Enter password submenu

  9. Clear password for console user

  10. Reboot

(Press Ctrl+E to enter diag menu)

Enter your choice(1-8): 7

Note: Clear password for console user? Yes or No(Y/N): y

Clear password for console user successfully. Choose “1” to boot, then set a new password.
Note: Do not choose “8. Reboot” or power off the device, otherwise this operation will not take effect.
根据设备的提示,在BootROM主菜单下选择“1”启动设备。

  1. 设置登录密码(可选)
    完成系统启动后,通过Console口登录时不需要认证,登录后配置Console口密码,修改密码为“huawei@123”为例。

system-view
[HUAWEI] user-interface console 0
[HUAWEI-ui-console0] authentication-mode password
[HUAWEI-ui-console0] set authentication password cipher huawei@123
[HUAWEI-ui-console0] return
为了防止重启后配置丢失,保存配置。

save
The current configuration will be written to the device.
Are you sure to continue?[Y/N]y
Now saving the current configuration to the slot 0.
Save the configuration successfully.
4. 取消登录密码(可选)
完成系统启动后,有的设备会默认要求设置登录密码,在有些地方没有设置密码的需要,忘记密码反而带来了很多不方便。

system-view
[HUAWEI] user-interface console 0
[HUAWEI-ui-console0] authentication-mode none
[HUAWEI-ui-console0] quit
设置完成后必要忘了保存配置。
注意:

要进入到BootROM菜单需要重启设备,会导致业务中断,请视具体情况做好设备备份,并尽量选择业务量较少的时间操作。
在此操作过程中不要对设备进行下电。

  • 3
    点赞
  • 43
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值