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