华为设备开启console接口认证

时间:2026-02-14 12:05:53

1、一、认证方式1:密码认证

<R1>system-view

Enter system view, return user view with Ctrl+Z.

[R1]user-interface console 0

[R1-ui-vty0-4]authentication-mode password

Please configure the login password (maximum length 16):password

退出重连测试!

2、二、认证方式2:AAA

[R1]user-interface console 0

[R1-ui-console0]authentication-mode aaa

[R1-ui-console0]quit

[R1]aaa

[R1-aaa]local-user adm password cipher pwd

Info: Add a new user.

[R1-aaa]local-user adm privilege level 15

© 2026 五度知识库
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com