第3单元-实训-路由器访问与配置.doc

上传人:小** 文档编号:3032709 上传时间:2020-06-23 格式:DOC 页数:12 大小:256.75KB
返回 下载 相关 举报
第3单元-实训-路由器访问与配置.doc_第1页
第1页 / 共12页
第3单元-实训-路由器访问与配置.doc_第2页
第2页 / 共12页
点击查看更多>>
资源描述

《第3单元-实训-路由器访问与配置.doc》由会员分享,可在线阅读,更多相关《第3单元-实训-路由器访问与配置.doc(12页珍藏版)》请在得力文库 - 分享文档赚钱的网站上搜索。

1、-!实训:路由器访问与配置实训目的要求学生掌握从PC机上直接和远程访问路由器的基本方法,掌握路由器的基本配置和使用方法,掌握路由器帮助系统的使用方法,理解路由器的启动顺序。内容要求(1)连接路由器和PC机,通过Console口访问路由器要求:掌握计算机串口和路由器Console口的连接方法,使用超级终端配置路由器的方法。(2)通过Telnet访问路由器要求:掌握配置路由器以太网接口IP地址以及密码的技能,能够通过Telnet访问路由器。(3)CLI的使用与IOS基本命令要求:熟悉CLI的各种命令模式、帮助系统,掌握IOS基本命令,能够使用相关命令查看路由器有关信息。实验材料(1)所用设备:路由

2、器、PC机、网线(2)消耗性器材:无实 训 数 据 记 录 一、实验场景描述(也可自行设计)假设你是某公司新来的网络管理员,公司要求熟悉网络产品,首先要求你登录路由器,了解、掌握路由器的命令行操作。同时作为网管,你第一次在设备机房对路由器进行了初次配置后,希望以后再办公司或出差时也可以对设备进行远程管理,现在要在路由器上做适当的配置。二、实验命令三、网络拓扑图及描述四、实验步骤步骤及简述:路由器基本配置(一):实验拓补图1、用标准console线缆连接计算机的串口和路由器的console口,在计算机上启用超级终端,并配置超级终端的参数,使计算机与路由器通过console口建立连接;2、配置路由

3、器的管理IP地址,并为telnet用户配置用户名和登录口令。配置计算机的IP地址(与路由器管理IP地址在同一个网段),通过网线将计算机和路由器相连,通过计算机telnet到路由器上进行查看配置;3、更改路由器的主机名;4、擦除配置信息、保存配置信息、显示配置信息;5、显示当前配置信息;6、显示历史命令:RouterenRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#interface fa0/0Router(config-if)#no shutdow /路由器端口默认

4、关闭,开启fa0/0端口%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upRouter(config-if)#exitRouter(config)#hostname R1 /修改路由器主机名R1(config)#enable password 123456 /设置进入特权模式密码 R1(config)#line vty 0 4R1(config-line

5、)#password abc123 /设置telnet远程登录密码R1(config-line)#loginR1(config-line)#exitR1(config)#interface fa0/0R1(config-if)#ip address 192.168.1.1% Incomplete command.R1(config-if)#ip address 192.168.1.1 255.255.255.0 /配置路由器的管理IP地址R1(config-if)#no shutdown /开启端口R1(config-if)#end%SYS-5-CONFIG_I: Configured fro

6、m console by consoleR1#PC端登录测试: 2 1、验证进入特权模式的密码 Switchen Password: 2、验证telnet远程登录密码 a. 给PC机设置IP地址 b、打开Command Prompt路由器基本配置二:拓补结构图 1、用标准console线缆连接计算机1的串口和路由器的console口,用交叉线连接计算机2的fastetrernet和路由器的fastethernet 0/0口,用V.3.5线缆连接来个路由器的serial 2/0接口。2、分别两个配置路由器的管理IP地址,并为telnet用户配置用户名和登录口令。配置计算机的IP地址,通过网线将计

7、算机和路由器相连,通过计算机telnet到路由器上进行查看配置。3、将两个路由器的主机名分别更改为RA和RB。4、显示当前配置信息。5、配置路由器的远程密码。6、显示历史命令: RouterenRouter#config tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#hostname RARA(config)#interface fastethernet 0/0RA(config-if)#ip address 192.168.1.1 255.255.255.0RA(config-if)#n

8、o shutdown%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upRA(config-if)#exitRA(config)#interface fastethernet 1/0RA(config-if)#ip address 10.10.1.1 255.255.255.0RA(config-if)#no shutdown%LINK-5-CHANGED

9、: Interface FastEthernet1/0, changed state to upRA(config-if)#exitRA(config)#inerface serial 2/0 % Invalid input detected at marker.RA(config)#interface serial 2/0RA(config-if)#ip address 172.159.1.1 255.255.255.0RA(config-if)#clock rate 64000RA(config-if)#no shutdown%LINK-5-CHANGED: Interface Seria

10、l2/0, changed state to downRA(config-if)#exitRA(config)#line vty 0 4RA(config-line)#password starRA(config-line)#loginRA(config-line)#endRA#%SYS-5-CONFIG_I: Configured from console by consoleRA#enRA#config tEnter configuration commands, one per line. End with CNTL/Z.RA(config)#enable secret abcRA(co

11、nfig)#enable password starRA(config)#exitRA#%SYS-5-CONFIG_I: Configured from console by consoleRA#show ip interface briefInterface IP-Address OK? Method Status Protocol FastEthernet0/0 192.168.1.1 YES manual up up FastEthernet1/0 10.10.1.1 YES manual up down Serial2/0 172.159.1.1 YES manual down dow

12、n Serial3/0 unassigned YES unset administratively down down FastEthernet4/0 unassigned YES unset administratively down down FastEthernet5/0 unassigned YES unset administratively down downRA#RouterenRouter#config tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#hostname RBR

13、B(config)#interface fastethernet 0/0RB(config-if)#ip address 192.168.1.2 255.255.255.0RB(config-if)#no shutdown%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upRB(config-if)#exitRB(config)#interface ser

14、ial 2/0RB(config-if)#ip address 192.168.3.1 255.255.255.0RB(config-if)#no shutdown%LINK-5-CHANGED: Interface Serial2/0, changed state to upRB(config-if)#exitRB(config)#%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to upRB(config)#endRB#%SYS-5-CONFIG_I: Configured from cons

15、ole by consoleRB#show ip interface briefInterface IP-Address OK? Method Status Protocol FastEthernet0/0 192.168.1.2 YES manual up up FastEthernet1/0 unassigned YES unset administratively down down Serial2/0 192.168.3.1 YES manual up up Serial3/0 unassigned YES unset administratively down down FastEt

16、hernet4/0 unassigned YES unset administratively down down FastEthernet5/0 unassigned YES unset administratively down down RB#1、验证进入特权模式的密码 Switchen Password: 2、验证telnet远程登录密码 a. 给PC机设置IP地址 b、打开Command Prompt伍、实验总结通过这次的实验,对路由器有了更进一步的了解。了解了路由器的基本设置方式,常用命令,以及怎样在路由器上配置IP地址。特别是在路由器上设置IP地址和配置路由器远程密码时,要细心。还要特别注意路由器和PC,以及路由器和路由器之间的端口连接。在实验过程中,对路由器的常用命令的运用还不是很熟悉,所以,在以后的,学习中要更加注意,尽量熟悉掌握和运用路由器的常用命令。尽量熟练掌握,常用命令的命令状态(enable,end等)、显示命令(show running-config,show version等)、基本设置命令(hostname,no shutdown等)。实训成绩: 指导教师签名: 实训日期:

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 技术资料 > 其他杂项

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知得利文库网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号-8 |  经营许可证:黑B2-20190332号 |   黑公网安备:91230400333293403D

© 2020-2023 www.deliwenku.com 得利文库. All Rights Reserved 黑龙江转换宝科技有限公司 

黑龙江省互联网违法和不良信息举报
举报电话:0468-3380021 邮箱:hgswwxb@163.com