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