密码验证

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]user-interface console 0
[Huawei-ui-console0]authentication-mode password
Please configure the login password (maximum length 16):gby #如果这里没有让你输入密码执行下一步设置密码。
[Huawei-ui-console0]set authentication password cipher gby

配置console口密码_数通

用户名密码验证

<Huawei>
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]user-interface console 0
[Huawei-ui-console0]authentication-mode aaa
[Huawei-ui-console0]q
[Huawei]aaa
[Huawei-aaa]local-user gby privilege level 3 password cipher gby
Info: Add a new user.
[Huawei-aaa]local-user gby service-type terminal

配置console口密码_密码_02

可选命令

[Huawei]user-interface console 0
#修改历史命令支持数量
[Huawei-ui-console0]history-command max-size 200
#不退出不锁屏
[Huawei-ui-console0]idle-timeout 0