Telnet_密码认证
[R1] telnet server enable
[R1] user-interface vty 0 4
[R1-ui-vty0-4] protocol inbound telnet
[R1-ui-vty0-4] authentication-mode password
[R1-ui-vty0-4] set authentication password cipher Huawei@123
Telnet_AAA认证
[R1] telnet server enable
[R1] aaa
[R1-aaa] local-user user1 password cipher Huawei@123
[R1-aaa] local-user user1 privilege level 15
[R1-aaa] local-user user1 service-type telnet
[R1] user-interface vty 0 4
[R1-ui-vty0-4] authentication-mode aaa
