交换机密码恢复:

      一. 拔掉电源再插上重新启动交换机,在超级终端中可以看到交换机启动画面,当出现提示按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,表示启动时需要加载当前配置文件。

 

版权声明:本文为ping-y原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://www.cnblogs.com/ping-y/p/5827111.html