首页 > 其他 > 详细

VTY远程操控

时间:2015-03-24 11:12:47      阅读:277      评论:0      收藏:0      [点我收藏+]

(1)

Router>enable

Router#config

Router(config)#interface f0/0

Router(config-if)#ip address 192.168.3.1 255.255.255.0

Router(config-if)#no shutdown

Router(config-if)#exit

Router(config)#enable password Cisco                  !设置明文密码

Router(config)#enable secret Cisco                         !设置MD5加密密码

Router(config)#line vty 0 4                                           !配置0~4号VTY线路,Cisco路由器可实现最多5 条

                                                                                        telnet逻辑连接同时登录系统

Router(config-line)#login                                            !开启VTY登录

Router(config-line)#password 123                            !设置登录密码,否则无法登录

技术分享

 

(2)配置VTY之后就可以在计算机的DOS模式,输入telnet 192.168.1.1登录到路由器,过程如下:

       telnet 192.168.3.1

       Trying 192.168.3.1...Open

       User Access Verification

       Password:

       Router>enable

       Password;

       Router#

技术分享

技术分享

VTY远程操控

原文:http://9983746.blog.51cto.com/9973746/1623683

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!