1、(2)通过Telnet访问路由器掌握配置路由器以太网接口IP地址以及密码的技能,能够通过Telnet访问路由器。(3)CLI的使用与IOS基本命令熟悉CLI的各种命令模式、帮助系统,掌握IOS基本命令,能够使用相关命令查看路由器有关信息。实验材料(1)所用设备:路由器、PC机、网线(2)消耗性器材:无实 训 数 据 记 录 一、实验场景描述(也可自行设计)假设你是某公司新来的网络管理员,公司要求熟悉网络产品,首先要求你登录路由器,了解、掌握路由器的命令行操作。同时作为网管,你第一次在设备机房对路由器进行了初次配置后,希望以后再办公司或出差时也可以对设备进行远程管理,现在要在路由器上做适当的配置
2、。二、实验命令三、网络拓扑图及描述四、实验步骤步骤及简述:路由器基本配置(一):实验拓补图1、用标准console线缆连接计算机的串口和路由器的console口,在计算机上启用超级终端,并配置超级终端的参数,使计算机与路由器通过console口建立连接;2、配置路由器的管理IP地址,并为telnet用户配置用户名和登录口令。配置计算机的IP地址(与路由器管理IP地址在同一个网段),通过网线将计算机和路由器相连,通过计算机telnet到路由器上进行查看配置;3、更改路由器的主机名;4、擦除配置信息、保存配置信息、显示配置信息;5、显示当前配置信息;6、显示历史命令:RouterenRouter#
3、conf tEnter configuration commands, one per line. End with CNTL/Z. Router(config)#interface fa0/0Router(config-if)#no shutdow 给PC机设置IP地址b、打开Command Prompt路由器基本配置二:拓补结构图2、分别两个配置路由器的管理IP地址,并为telnet用户配置用户名和登录口令。配置计算机的IP地址,通过网线将计算机和路由器相连,通过计算机telnet到路由器上进行查看配置。3、将两个路由器的主机名分别更改为RA和RB。4、显示当前配置信息。5、配置路由器的远
4、程密码。 Router#config tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#hostname RARA(config)#interface fastethernet 0/0RA(config-if)#no shutdown%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, chan
5、ged state to upRA(config-if)#exitRA(config)#interface fastethernet 1/0 Interface FastEthernet1/0, changed state to upRA(config)#inerface serial 2/0 % Invalid input detected at marker.RA(config)#interface serial 2/0RA(config-if)#clock rate 64000 Interface Serial2/0, changed state to downRA(config)#li
6、ne vty 0 4RA(config-line)#password starRA(config-line)#loginRA(config-line)#endRA#%SYS-5-CONFIG_I: Configured from console by consoleRA#enRA#config tRA(config)#enable secret abcRA(config)#enable password starRA(config)#exitRA#show ip interface briefInterface IP-Address OK Method Status ProtocolSeria
7、l3/0 unassigned YES unset administratively down downFastEthernet4/0 unassigned YES unset administratively down downFastEthernet5/0 unassigned YES unset administratively down downRouter(config)#hostname RBRB(config)#interface fastethernet 0/0RB(config-if)#no shutdownRB(config-if)#exitRB(config)#inter
8、face serial 2/0 Interface Serial2/0, changed state to upRB(config)# Line protocol on Interface Serial2/0, changed state to upRB(config)#endRB#RB#show ip interface briefFastEthernet1/0 unassigned YES unset administratively down down RB#1、验证进入特权模式的密码 Switch Password: 2、验证telnet远程登录密码 a. 给PC机设置IP地址 b、打
9、开Command Prompt伍、实验总结通过这次的实验,对路由器有了更进一步的了解。了解了路由器的基本设置方式,常用命令,以及怎样在路由器上配置IP地址。特别是在路由器上设置IP地址和配置路由器远程密码时,要细心。还要特别注意路由器和PC,以及路由器和路由器之间的端口连接。在实验过程中,对路由器的常用命令的运用还不是很熟悉,所以,在以后的,学习中要更加注意,尽量熟悉掌握和运用路由器的常用命令。尽量熟练掌握,常用命令的命令状态(enable,end等)、显示命令(show running-config,show version等)、基本设置命令(hostname,no shutdown等)。实训成绩: 指导教师签名: 实训日期:
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1