admin管理员组

文章数量:1667341

交换机Console登陆密码的恢复

  • 配置过程

配置过程

  • 在设备启动过程中按【Ctrl+B】进入BootROM菜单
  • 选择“5.Enter filesystem submenu”,进入文件系统子菜单后,选择“4.Rename file from flash”,把默认配置文件vrpcfg.zip改为其他名称,例如vrptest.zip
  • 重启后交换机会恢复出厂默认设置,需要把改名后的文件vrptest解压为vrpcfg.bat
<Huawei>unzip vrptest vrpcfg.bat
  • 调用原有的配置
[Huawei]execute vrpcfg.bat
  • 进入Console界面取消密码认证
[Huawei]user-interface console 0
[Huawei-ui-console0]undo authentication-mode 

  • 保存配置为vrpcfg.zip
<Huawei>save   
The current configuration will be written to the device. Continue? [Y/N]:y
Info: Please input the file name(*.cfg,*.zip)[vrpcfg.zip]:vrpcfg.zip
  • 重启交换机
<Huawei>reboot
Info: The system is comparing the configuration, please wait.
Warning: All the configuration will be saved to the next startup 

本文标签: eNSP