华为网络设备如何恢复Console口登录密码以及恢复出厂设置

[HUAWEI-aaa]local-user KBxiaowangguan service-type terminal

[HUAWEI-aaa]return

save

2、通过BootROM菜单清除Console口登录密码(此种方式需要重启设备,请选择在适当的时间操作)。

(1)首先需要通过Console登录设备,然后reboot进行重启。当界面出现类似“Press Ctrl+B to enter boot menu ”的打印信息时,及时按下快捷键“Ctrl+B”并输入BootROM密码,进入BootROM主菜单。

华为网络设备如何恢复Console口登录密码以及恢复出厂设置

在此说明下BootRom的默认密码:不管盒式交换机还是框式交换机,在V100R006C03及其之后的版本,默认密码均为[email protected]。但在V100R006C03之前的版本,盒式交换机为huawei,框式交换机为9300。

(2)进入BootROM主菜单后,选择“Clear password for console user”清除Console口登录密码。

(3)清除成功后,在BootROM主菜单下选择“Boot with default mode”启动设备。请注意,此处不要选择“Reboot”选项,否则此次清除密码将失效。

(4)完成系统启动后,系统会提示首次登录是否需要配置密码,此时可以给Console登录重新设置密码。设置的密码请妥善保存。

恢复出厂设置

这操作一般情况不要执行,只要重新启用旧设备二手设备时候才能使用到。还有一种特殊情况,以前小编就有遇到过,备份好配置文件后初始化设备再重新恢复备份文件解决了问题。毕竟是电子设备,有时候会用得上一些非常规手段。

前提:如果某些设备不再需要承载原来的业务,或者是一些利旧设备,则需要对这些设备进行清除配置操作,将其恢复成出厂配置。

reset saved-configuration

Warning: The action will delete the saved configuration in the device.The configuration will be erased to reconfigure. Continue? [Y/N]:y

Warning: Now clearing the configuration in the device.

Info: Succeeded in clearing the configuration in the device.

reboot

Info: The system is now comparing the configuration, please wait.

Warning: The configuration has been modified, and it will be saved to the next startup saved-configuration file flash:/vrpcfg.zip. Continue? [Y/N]:n //此处请选择”N“,不保存配置,否则无法清除配置

Info: If want to reboot with saving diagnostic information, input 'N' and then execute 'reboot save diagnostic-information'.

System will reboot! Continue?[Y/N]:y

以上是今天跟大家分享的内容,对于老司机可能有点不够晒牙缝,对于新手可以收藏并学习。欢迎大家在评论区留言。可以的话点个广告再好评,谢谢


分享到:


相關文章: