温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

华为AC忘记console密码

发布时间:2020-06-20 15:45:22 来源:网络 阅读:1883 作者:f_066 栏目:建站服务器


如果忘记了Console口登录密码,用户可以通过以下两种方式来设置新的Console口登录密码:


在能通过telnet登录的情况下重新设置:


1. 通过STelnet/Telnet登录交换机设置新的Console口登录密码
这种方法的前提是:用户拥有STelnet/Telnet账号并且具有管理员的权限。以下涉及的命令行及回显信息以STelnet登录设备修改Console口密码为例。用户通过STelnet账号登录交换机后,请按照如下步骤进行配置。
a. 以登录用户界面的认证方式为密码认证,密码为Huawei@123为例,配置如下。
[HUAWEI] user-interface console 0
[HUAWEI-ui-console0] authentication-mode password
[HUAWEI-ui-console0] set authentication password cipher Huawei@123
[HUAWEI-ui-console0] return
b. 以登录用户界面的认证方式为AAA认证,用户名为admin123,密码为Huawei@123为例,配置如下。
[HUAWEI] user-interface console 0
[HUAWEI-ui-console0] authentication-mode aaa
[HUAWEI-ui-console0] quit
[HUAWEI] aaa
[HUAWEI-aaa] local-user admin123 password irreversible-cipher Huawei@123
[HUAWEI-aaa] local-user admin123 service-type terminal
[HUAWEI-aaa] return



在不能通过telnet登录的情况下通过console线更改:

    通过BootROM清除Console口登录密码
    交换机的BootROM提供了清除Console口登录密码的功能,用户可以在交换机启动后修改Console口登录密码,然后保存配置。请按照如下步骤进行配置。
    通过Console口连接交换机,并重启交换机。当界面出现以下打印信息时,及时按下快捷键“Ctrl+B”并输入BootROM密码,进入BootROM主菜单。
    框式交换机打印信息:
Press Ctrl+B to enter boot menu ... 1

Password: //输入BootROM密码 (admin@huawei.com)


        BIOS Menu (Version: 314)

     1. Boot with default mode 
     2. Enter serial submenu
     3. Enter startup submenu
     4. Enter ethernet submenu
     5. Enter file system submenu
     6. Modify BOOTROM password
     7. Clear password for console user
     8. Config HigMem to Flash Flag
     9. Reboot
     (Press CTRL+E to enter Diag menu)

Enter your choice(1-9): 7
Caution: Clear password for console user?  Yes(y) or No(n): y

Clear password for console user successfully.
Choose "1.Boot with default mode", then set a new password by console command line.
Caution: Do not reboot or power off the device, otherwise this operation will not take effect.

        BIOS Menu (Version: 314)

     1. Boot with default mode 
     2. Enter serial submenu
     3. Enter startup submenu
     4. Enter ethernet submenu
     5. Enter file system submenu
     6. Modify BOOTROM password
     7. Clear password for console user
     8. Config HigMem to Flash Flag
     9. Reboot
     (Press CTRL+E to enter Diag menu)

Enter your choice(1-9): 1

    记得最后一步一定要选择1 ,而不能选择9 ,因为上面选择7后明确告诉我们,如果重启则所做更改不会被保存。选择1后就可以免密码登录到命令行界面,然后就可以更改密码了

<AC6003>sys
[AC6003]user-interface console 0
[AC6003-ui-console0]authentication-mode password

[AC6003-ui-console0]set authentication password cipher
Info: A plain text password is a string of 8 to 16 case-sensitive characters and must be a combination of at least two of the following: uppercase letters A to Z, lowercase letters a to z, digits, and special characters (including spaces and the following :`~!@#$%^&*()-_=+|[{}];:'",<.>/?). A cipher text password contains 68 characters.
New Password:
Confirm New Password:
[AC6003-ui-console0]
[AC6003-ui-console0]ret
<AC6003>sa
  The current configuration will be written to the device. 
  Are you sure to continue? (y/n)[n]:y
  It will take several minutes to save configuration file, please wait........
  Configuration file has been saved successfully
  Note: The configuration file will take effect after being activated
<AC6003>

    到此处就更改成功了。


    盒式交换机打印信息:
    Press Ctrl+B or Ctrl+E to enter BootROM menu ... 2
    password: //输入BootROM密码
说明:
    盒式交换机的某些款型支持使用快捷键“Ctrl+E”进入BootROM主菜单,请根据设备的界面提示操作。
    盒式交换机在V100R006C05之前的版本,BootROM默认密码为huawei;在V100R006C05及之后的版本,默认密码为Admin@huawei.com。
    框式交换机在V100R006C00之前的版本,BootROM默认密码为9300;在V100R006C00及之后的版本,默认密码为Admin@huawei.com。
    b. 在BootROM主菜单下选择“Clear password for console user”清除Console口登录密码。
    c.根据交换机的提示,在BootROM主菜单下选择“Boot with default mode”启动设备。
    d. 完成系统启动后,通过Console口登录时不需要认证,登录后按照系统提示配置验证密码。
    e. 登录交换机后,用户可以根据需要配置Console用户界面的认证方式及密码。

参考:

http://support.huawei.com/enterprise/pages/doc/subfile/docDetail.jsp?contentId=DOC1000030801&partNo=10052#dc_wlan_password_0004

http://support.huawei.com/huaweiconnect/enterprise/thread-337263.html

https://wenku.baidu.com/view/b2d3cf249ec3d5bbfc0a74bd.html

http://support.huawei.com/ehedex/pages/DOC1000055019DZD0928P/05/DOC1000055019DZD0928P/05/resources/dc/dc_s_troubleshooting_basic_0010.html?ft=0&id=DZD0928P_05_10115

华为智能客服

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI