前言:telnet传输数据为明文,故不安全,非必要环境不建议开启
方式一:只通过密码登陆
[RG]telnet server enable
[RG]user-interface vty 0 4
[RG-ui-vty0-4]authentication-mode password
Please configure the login password (maximum length 16):123.com
方式二:通过用户名密码登陆
[RG]telnet server enable
[RG]user-interface vty 0 4
[RG-ui-vty0-4]authentication-mode aaa
[RG-ui-vty0-4]quit
[RG]aaa
[RG-aaa]local-user abc password cipher 123.com /设置用户名为abc,密码密文方式保存
[RG-aaa]local-user abc privilege level 15
[RG-aaa]local-user abc service-type telnet