目录
1.配置设备ip地址
pc:
int g0/0/0
ip add 192.168.1.1 24
AR2:
int g0/0/0
ip add 192.168.1.2 24
【注:可使用 dis ip int beief 查看ip配置情况。】
2.在AR2上配置telnet
telnet server enable //开启telnet服务
user-interface vty 0 4 //开启五个远程管理的链接
authentication-mode aaa //验证模式 aaa是账号+密码,password是只输入密码
quit
aaa
local-user jh password cipher 123 //创建用户名jh以及密码123,cipher表示密码加密显示
local-user czh privilege level 15 //给予账号权限,0-15权限逐级升高
local-user czh service-type telnet //账号服务类型为telnet
telnet服务配置完成。