H3C-交换机密码恢复

交换机密码恢复:

      一. 拔掉电源再插上重新启动交换机,在超级终端中可以看到交换机启动画面,当出现提示按CTRL+B时,此时按住CTRL+B,我们会看到有9个选项:

      1. download application file to flash   //(下载配置文件到flash中)

      2. select application file to boot   //(选择要启动的配置文件)

      3. display all files in flash   //(显示flash中保存的所有配置文件信息)

      4. delete file from flash   //(删除flash中的配置文件)

      5. modify bootrom password   //(修改boot menu的密码)

      6. enter bootrom upgrade menu   //(进入bootrom升级菜单)

      7. skip current configuration file   //(启动加载时跳过当前配置文件)

      8. set bootrom password recovery   //(设置bootrom恢复密码),

      9. set switch startup mode   //(设置交换机启动模式)

      0. reboot   //(重新启动交换机)

      Enter your choice(0-9):7

      the current setting will boot with current configuration file when rebooted .Are you sure you want to skip current configuration file    when  rebooted ? yes or no [ Y / N ]  y

      setting......done!

      1. download application file to flash 

      2. select application file to boot  

      3. display all files in flash  

      4. delete file from flash   

      5. modify bootrom password 

      6. enter bootrom upgrade menu  

      7. skip current configuration file  

      8. set bootrom password recovery   

      9. set switch startup mode   

      0. reboot  

      Enter your choice(0-9):7

这时候就可以进入交换机了,可以通过下面命令来取消console密码:

     user-interface console aux 0

     authentcation-mode none

 

    二.用户模式下reboot交换机,发现交换机启动加载时又跳过当前配置文件,说明交换机有记忆功能,如果不修改的话交换机每次重启后都是跳过当前配置文件 。于是重复步骤二的工作,又reboot交换机,这次还是按住CTRL+B,选择7,但是出现提示YES/NO时,输入NO,表示启动时需要加载当前配置文件。

 

转载于:https://www.cnblogs.com/ping-y/p/5827111.html

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值