R1远程登录R2
网络拓扑
R1上的配置
router(config)#hostname R1
R1(config)#line console 0
R1(config-line)#exec-t 0 0
R1(config-line)#exi
R1(config)#
R1(config)#inter se1/1
R1(config-if)#ip add 12.1.1.1 255.255.255.0
R1(config-if)#clock rate 64000
R1(config-if)#no shut
R2上的配置
Router(config)#hostname R2
R2(config)#enable password 123
R2(config)#inter se1/1
R2(config-if)#ip add 12.1.1.2 255.255.255.0
R2(config-if)#no shut
R2(config)#line vty 0 4
R2(config-line)#password jj
R2(config-line)#login
R2(config-line)#
R1远程登录R2
R1>
R1>telnet 12.1.1.2
Trying 12.1.1.2 ...Open
User Access Verification
Password: jj
R2>en
Password: 123
R2#config t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#
可以在R2上输入show user 查看当前连接到此R2路由器上的用户
R2#show user
Line User Host(s) Idle Location
* 0 con 0 idle 00:00:00
67 vty 0 idle 00:00:29 12.1.1.1
Interface User Mode Idle Peer Address
欢迎各位朋友浏览评论我的博客,我希望在51CTO和大家一起探讨,一起进步,一起成为高级网络工程师。如果您对我发表的文章有任何疑问或有网络方面的问题,请评论或留言,我将尽最大努力帮您解决!
转载于:https://blog.51cto.com/yuanliujun/384300