华为清除console密码

  • 格式:docx
  • 大小:20.28 KB
  • 文档页数:6

下载文档原格式

  / 8
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

清空Console口密码

可以通过以下两种方式清空Console口密码,建议优先使用方法一。

方法一:通过BIOS菜单启动设备

使用这种方法,仅本次通过Console口登录时不需要输入密码,原来的Console口登录密码仍然保存在配置文件中。

1. 通过Console口连接设备,并重启设备。当界面出现以下信息时,请3秒内按下快捷键“Ctrl+B”

并输入BIOS密码,进入BIOS主菜单。选择Modify console password,输入y后设备继续启动。

2. Press CTRL+B to enter BIOS menu: 1

3.

4. Password: //BIOS缺省密码为

Admin@

5. Info: The entered password is the same as the default one. You are advised

to change the password to ensure security.

6.

7. BIOS Menu (Version: 333)

8.

9. 1. Continue to boot

10. 2. Update from serial interface

11. 3. Update from ethernet interface

12. 4. Modify startup parameters

13. 5. File system

14. 6. Modify stack parameters

15. 7. Modify BIOS password

16. 8. Modify console password

17. 9. Restore factory defaults

18. 10. Reboot

19.

20. Enter your choice(1-10): 8

21.

22. Caution: A new console password must be set after the restart.

Continue now? Yes(y) or No(n): y

23. 出现如下显示时,输入n,即不设置首次登录Console口密码。

24. An initial password is required for the first login via the console.

25. Continue to set it? [Y/N]: n

Warning: There is a risk on the user-interface which you login through. Please change the configuration of the user-interface as soon as possible.

方法二:配置不验证方式

不验证是指用户无需通过验证即可通过Console用户界面登录设备,此方式存在安全风险,建议配置AAA 验证或密码验证方式来增加设备的安全性。

system-view

[~HUAWEI] user-interface console 0

[~HUAWEI-ui-console0] authentication-mode none

[*HUAWEI-ui-console0] commit

恢复Console口登录密码

通过Console口登录设备没有缺省密码。通过Console口首次登录设备时,系统会提示用户配置登录密码。

如果忘记了Console口登录密码,用户可以通过以下两种方式来设置新的Console口登录密码。请优先使用方法一,如果STelnet/Telnet密码也忘记了再使用方法二。

方法一:通过STelnet/Telnet登录设备设置新的Console口登录密码

说明:

使用Telnet协议存在安全风险,建议用户使用STelnet V2登录设备。

这种方法的前提是:用户拥有STelnet/Telnet账号并且具有管理员(3级或更高)的权限。用户通过STelnet/Telnet账号登录设备后,请按照如下步骤进行配置。

# 以登录用户界面的认证方式为密码认证,密码为Huawei@123为例,配置如下。

system-view

[~HUAWEI] user-interface console 0

[~HUAWEI-ui-console0] authentication-mode password

[*HUAWEI-ui-console0] set authentication password

Please configure the login password (8-16)

Enter Password: //输入密码Huawei@123

Confirm Password: //再次输入密码Huawei@123

[*HUAWEI-ui-console0] user privilege level 15

[*HUAWEI-ui-console0] commit

[~HUAWEI-ui-console0] return

save

Warning: The current configuration will be written to the device. Continue? [Y/N]:y

# 以登录用户界面的认证方式为AAA认证,用户名为admin123,密码为Huawei@123为例,配置如下。

system-view

[~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] local-user admin123 level 15

[*HUAWEI-aaa] commit

[~HUAWEI-aaa] return

save

相关主题