H3C交换机bootroom菜单清除Console密码

H3C交换机bootroom菜单清除Console密码

通过console线和xshell软件连接并登陆设备,然后把设备断电重启。控制台上会打印如下信息,当出现“press Ctrl+B”的时候快速按住“Ctrl+B” 进入botroom菜单:

Press Ctrl+B to access EXTENDED BOOT MENU…0

Password recovery capability is enabled.

------------------------EXTENDED BOOT MENU--------------------------------------

  1. Download image to flash
  2. Select image to boot
  3. Display all files in flash
  4. Delete file from flash
  5. Restore to factory default configuration
  6. Enter BootRom upgrade menu
  7. Skip current system configuration
  8. Set switch startup mode
  9. Set The Operating Device
  10. Reboot
    Ctrl+Z: Access EXTENDED ASSISTANT MENU
    Ctrl+F: Format file system
    Ctrl+P: Change authentication for console login
    Ctrl+R: Download image to SDRAM and run
    Ctrl+C: Display Copyright

Enter your choice(0-9): 7
选择“<7> Skip current system configuration”跳过当前配置启动,不同设备可能不是数字7。

Authentication is required for console login.
Are you sure you want to skip the authentication for console login? (Y/N):Y
Setting…Done.

--------------------------EXTENDED BOOT MENU -----------------------------

  1. Download image to flash
  2. Select image to boot
  3. Display all files in flash
  4. Delete file from flash
  5. Restore to factory default configuration
  6. Enter BootRom upgrade menu
  7. Skip current system configuration
  8. Set switch startup mode
  9. Set The Operating Device
  10. Reboot
    Ctrl+Z: Access EXTENDED ASSISTANT MENU
    Ctrl+F: Format file system
    Ctrl+P: Change authentication for console login
    Ctrl+R: Download image to SDRAM and run
    Ctrl+C: Display Copyright

Enter your choice(0-9):0      #选择0重启。
------------
System is starting…
Press ENTER to get started.

如果不需要之前的配置信息的话:

操作步骤:跳过启动文件后直接保存当前配置,再重启。
<H3C>save
The current configuration will be written to the device. Are you sure? [Y/N]:Y

需要之前的配置信息的话:
开启ftp服务将配置文件下载修改后上传,过程中千万不要save保存覆盖了需要的配置文件。
[H3C]interface Vlan-interface 1
[H3C-Vlan-interface1]ip address 192.168.1.252 24
[H3C-Vlan-interface1]quit

[H3C]ftp server enable
[H3C]local-user ftp
[H3C-luser-manage-ftp]service-type ftp
[H3C-luser-manage-ftp]password simple ftp
[H3C-luser-manage-ftp]authorization-attribute user-role network-admin
[H3C-luser-manage-ftp]authorization-attribute work-directory flash:

简单一点打开我的电脑输入ftp://192.168.1.252登录进去将配置文件修改后上传即可
登录ftp之后下载配置文件:
在这里插入图片描述
在c盘创建ftp文件夹,将下载至此目录下,修改配置文件(即清除配置文件中验证命令)后再上传至交换机覆盖
在这里插入图片描述

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

zdl244

你的鼓励是我最大的动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值