一. 实验目的
掌握路由器的管理特征,学会配置路由器支持Telnet操作的相关语句。使网络管理员可以通过Telnet对路由器进行远程管理。 二. 实验步骤
步骤1. 在路由器上配置fastethernet0端口的IP地址。 RouterA>
RouterA>enable Password:
RouterA#interface fasterthernet0 ^ RouterA#configure terminal
Enter configuration commands, one per line. End with CNTL/Z. RouterA(config)#hostname RouterA RouterA(config)#interface fastethernet0
RouterA(config-if)#ip address 192.168.0.138 255.255.255.0 RouterA(config-if)#no shutdown RouterA(config-if)#end
RouterA#show ip interface fastethernet0
步骤2.配置路由器远程登录密码。 RouterA#configure terminal
Enter configuration commands, one per line. End with CNTL/Z. RouterA(config)#line vty 0 4 RouterA(config-line)#login
RouterA(config-line)#password star RouterA(config-line)#end
步骤3.配置路由器特权模式密码。 RouterA>enable Password:
RouterA#configure terminal
Enter configuration commands, one per line. End with CNTL/Z. RouterA(config)#enable secret star
The enable secret you have chosen is the same as your enable password. This is not recommended. Re-enter the enable secret.
RouterA(config)#enable password star
The enable password you have chosen is the same as your enable secret. This is not recommended. Re-enter the enable password.
步骤4.保存在路由器上所做的配置。 RouterA#copy running-config startup-config Building configuration... [OK]
RouterA#write memory Building configuration... [OK]
RouterA#show startup-config
三. 实验总结
通过本次实验,掌握了如何配置路由器支持Telnet操作的相关语句,了解了路由器的管理特性。在实习的过程中还是有些问题,比如在步骤2验证测试时,密码输入总是不对。最后在老师和同学的帮助下完成了本次实验。
因篇幅问题不能全部显示,请点此查看更多更全内容