Console接口密码和aaa认证
password认证
sy//进入用户视图
[huawei]sysname //后跟名字
[R1]user-interface console 0
[R1-ui-console0]authentication-mode password
please configure the logipassword (maximum length 16):跟密码
退出到系统视图
用密码认证进入
aaa认证
sys
Enter system view, return user view with Ctrl+Z
[Huawei]sysname huang//改名为
[huang]user-interface ma
[huang]user-interface maximum-vty 15
[huang]user-interface vty 0 14
[huang-ui-vty0-14]us
[huang-ui-vty0-14]user p
[huang-ui-vty0-14]user privilege le
[huang-ui-vty0-14]user privilege level 2
[huang-ui-vty0-14]au
[huang-ui-vty0-14]authentication-mode aaa[huang-ui-vty0-14]q
[huang]aaa
[huang-aaa]loc
[huang-aaa]local-user ad
[huang-aaa]local-user admin pa
[huang-aaa]local-user admin password cip
[huang-aaa]local-user admin password cipher adm