华为交换机如何配置console密码(华为交换机Console口登录密码丢失后如何恢复)

华为交换机如何配置console密码(华为交换机Console口登录密码丢失后如何恢复)(1)

方法1.通过telnet登录交换机设置新的Console口登录密码

如果之前是password认证,按照如下方法修改密码,示例密码修改为Ygxc@123

<Huawei>dis cu configuration user-interface # user-interface con 0 authentication-mode password set authentication password cipher Ygxc@123

如果之前是aaa认证,按照如下方法修改密码,示例如用户名为admin001密码为Ygxc@123

aaa local-user admin001 password cipher Ygxc@123 local-user admin001 privilege level 15 local-user admin001 service-type terminal

方法2.通过BootROM清除Console口登录密码

1.通过Console口连接交换机,然后重启交换机。当界面出现如下信息时,按下快捷键“Ctrl B”并输入BootROM密码,进入BootROM主菜单。

框式交换机打印信息: Press Ctrl B to enter boot menu ... 1 Password: //输入BootROM密码,默认密码为Admin@huawei.com。

盒式交换机打印信息: Press Ctrl B or Ctrl E to enter BootROM menu ... 2 password: //输入BootROM密码,默认密码为Admin@huawei.com。

2.在BootROM主菜单下选择“Clear password for console user”清除Console口登录密码。

3. 根据交换机的提示,在BootROM主菜单下选择“Boot with default mode”启动设备。

4. 完成系统启动后,通过Console口登录时不需要认证,登录后按照系统提示配置验证密码。

,

免责声明:本文仅代表文章作者的个人观点,与本站无关。其原创性、真实性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容文字的真实性、完整性和原创性本站不作任何保证或承诺,请读者仅作参考,并自行核实相关内容。文章投诉邮箱:anhduc.ph@yahoo.com

    分享
    投诉
    首页