如果管理员不在设备边上,可通过Telnet远程配置路由器。但前提是预先在路由器上配置了IP地址和密码,并确保管理员的计算机和路由器之间是可达的。Cisco路由器支持多人同时在线Telnet。一般默认为5个虚拟终端(VTY 0~4)。

实例演示

拓扑图:

clip_p_w_picpath002

配置步骤:

Router>en

Router#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#interface f0/0

Router(config-if)#ip add 192.168.1.120 255.255.255.0

Router(config-if)#no sh

Router(config-if)#exit

Router(config)#enable secret ccie //设定特权模式密码

Router(config)#lin vty 0 4 //设定终端连接数为5

Router(config-line)#password ccie //设定Telnet密码

Router(config-line)#login //设定要求登录

Router(config-line)#exit //完成,退出配置

计算机的配置:

1、 确保计算机与路由器处于同一网段。

2、 测试与路由器的连通性:

clip_p_w_picpath004

OK!成功连通!

下面测试远程Telnet配置路由器:

clip_p_w_picpath006

clip_p_w_picpath008

OK!可以看到成功连接!并且可以配置路由器了。

注意:

通过Telnet远程访问路由器时,设备输出信息是看不到的。