配置AR2路由器
[AR2]aaa
[AR2-aaa]local-user cc password cipher cc0 privilege level 0 //创建用户cc的同时设置用户级别
Info: Add a new user.
[AR2-aaa]local-user cc service-type telnet //设置能够通过telnet连接
[AR2-aaa]quit
[AR2]user-interface vty 0 4
[AR2-ui-vty0-4]authentication-mode aaa //配置身份验证模式
[AR2-ui-vty0-4]user privilege level 0 //设置vty的默认用户级别
从AR1上使用telnet命令远程登录AR2路由器
<AR1>telnet 192.168.20.2
Press CTRL_] to quit telnet mode
Trying 192.168.20.2 ...
Connected to 192.168.20.2 ...
Login authentication
Username:cc
Password: //密码为cc0,键盘键入不显示
<AR2>? //输入?可以看到该用户可以执行的命令
User view commands:
display Display information
hwtacacs-user HWTACACS user
local-user Add/Delete/Set user(s)
ping Ping function
quit Exit from current mode and enter prior mode
save Save file
super Modify super password parameters
telnet Open a telnet connection
tracert <Group> tracert command group
tip:个人学习记录,如有错误欢迎指正,谢谢~