telnet配置
[R1] user-interface vty 0 4
[R1-ui-vty0-4] authentication-mode aaa
[R1]aaa
配置pc2不给权限telnet r2
配置pc1不给权限telnet r1
设置用户名和密码
[R1-aaa] local-user wuhan password cipher 123
Info: Add a new user.
[R1-aaa] local-user wuhan service-type telnet
修改静态路由拒绝pc1 ping r1
修改静态路由拒绝pc1 ping r2
route-Stewart