CCNA重要实验步骤之实验3_第1页
CCNA重要实验步骤之实验3_第2页
CCNA重要实验步骤之实验3_第3页
CCNA重要实验步骤之实验3_第4页
CCNA重要实验步骤之实验3_第5页
已阅读5页,还剩9页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、RIPV1与RIPV2 , IGRP与EIGRP和单区域 OSPF使用和配置-实验目的:熟练掌握RIP,IGRP,EIGRP和OSPF四种路由协议的原理和配置实验内容:RIP的配置IGRP的配置EIGRP的配置单区域OSPF的配置实验条件:2600系列路由器两台,做测试用的 PC机两台一.RIPV1和RIPV2的配置本实验需要2600系列路由器两台,交换机一台,PC机两台,con sole线两 条Router DcsigntitRouter FastEthemet 0 Interface Serial 0Subnet MasM EnableEnabts. VTC and Conscle Pas

2、swordsNameAddressTypeAddressfor 8oth InterfacesSecret PasswordRouter tGAD1/2.1b.D.1octdas6CISCORoulter 2BUM172.10,0.1”TH172.17.D.2255 255.0.0clasdCBCOSlraflhUhrouigh cataie serial 匚 rfbifi(Roltarer*CroMovar ublaStep 1配置路由器GAD勺主机名和密码Routeren ableRouter# con figure termi nalRouter(c on fig)# host name

3、 GADGAD(c on fig)# en able secret classGAD(co nfig)# line con sole 0GAD(co nfig-li ne)# GAD(co nfig-li ne)# GAD(co nfig-li ne)# GAD(co nfig-li ne)# GAD(co nfig-li ne)# GAD(co nfig-li ne)# GAD(co nfig)#password cisco logi n line vty 0 4 password cisco logi nexitStep 2 配置路由器GA啲Serial 0/0GAD(co nfig)#

4、in terface serial 0/0GAD(co nfig-if)# ip address GAD(co nfig-if)# clock rate 64000GAD(co nfig-if)# no shutdow nGAD(config-if)# exitStep 3 配置路由器 GA啲fastethernet 0/0GAD(config)# interface fastethernet 0/0GAD(config-if)# ip address GAD(config-if)# no shutdown

5、GAD(config-if)# exitStep 4配置路由器GA啲主机名列表GAD(config)# ip host BHM Step 5在GA路由器上启动RIPnetwork network exitGAD(config)# router ripGAD(config-router)#GAD(config-router)#GAD(config-router)#GAD(config)# exitStep 6保存路由器GADt的配置文件GADc#opy running-config startup-configD

6、estination filename startup-config?EnterStep 7配置路由器BHM勺主机名和密码RouterenableRouter#configure terminalRouter(config)# hostname BHMBHM(config)# enable secret classpassword cisco login line vty 0 4 password cisco login exitBHM(config)# line console 0 BHM(config-line)# BHM(config-line)# BHM(config-line)# B

7、HM(config-line)# BHM(config-line)# BHM(config-line)# BHM(config)#Step 8 配置路由器BHM勺Serial 0/0 BHM(config)# interface serial 0/0BHM(config-if)# ip address BHM(config-if)# no shutdownBHM(config-if)# exitStep 9 配置路由器 BHM勺fastethernet 0/0 BHM(config)# interface fastethernet 0/0 BHM(

8、config-if)# ip address BHM(config-if)# no shutdown BHM(config-if)# exitStep 10配置路由器BH啲主机名列表BHM(config)#ip host GAD Step 11在BH路由器上启动RIPBHM(config)# router ripBHM(config-router)#network BHM(config-router)#BHM(config-router)#network exitB

9、HM(config)# exitStep 12保存路由器BHM上的配置文件BHMc#opy running-config startup-configDestination filename startup-config?EnterStep 13为P(配置正确的IP地址,子网掩码和缺省网关 a.连接到GA的 PCIP Address: Subnet mask: Default gateway: b.连接到BH啲PCIP Address: Subnet mask: Default gatew

10、ay: Step 14 检查路由器GA和BHW的路由表GADs#how ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, BBGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2

11、, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate defaultU - per-user static route, o - ODR, P - periodic downloaded static routeT - traffic engineered routeGateway of last resort is not setC /16 is directly connected, Serial0/0C /16 is directly connected

12、, FastEthernet0/0R /16 120/1 via , Serial0/0BHMs#how ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, BBGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1

13、, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area* - candidate default, U - per-user static route, o - ODRP - periodic downloaded static routeGateway of last resort is not setC /16 is directly connected, Serial0/0R /16 1

14、20/1 via , 00:00:27, Serial0/0C /16 is directly connected, FastEthernet0/0Step 15 在路由器GA和BHW启动RIPV2GAD(config)# router ripGAD(config-router)# version 2GAD(config-router)# exitGAD(config)# exitBHM(config)# router ripBHM(config-router)# version 2BHM(config-router)# exitBHM(config)#

15、 exit二. IGRP的配置本实验需要2600系列路由器两台,交换机一台,PC机两台,con sole线两 条RouterRouterFastInterface Serb I 0Subnet maskEnableEnM VTYDesignation NamaEthernet 0typeAddressfor bothsecretand consoleAddressinlerfacespasswordpasswordRcuier 1| GAD192.16820.1DCE192.168 22.1255 2*5 255 0classciscoRouler 2BHM192 16a 251DTE192

16、168 222255 2S5 255 0classciscoStnaighUhrogh cebteSerial 日bteConsole (Ro4ovsr)iCrasMver cableStep 1配置路由器GA刖BH啲基本参数同RIP实验Step 2 在路由器GA上启动IGRPGAD(config)# router igrp 101GAD(co nfig-router)# network GAD(co nfig-router)# network Step 3保存路由器GADt的配置文件GAD#opy runnin g-c onfig startu

17、p-c onfigStep 4 在路由器BHMt启动IGRPBHM(config)# router igrp 101BHM(co nfig-router)# network BHM(co nfig-router)# network Step 5保存路由器BHMt的配置文件BHM#opy runnin g-c onfig startup-c onfigStep 6为PC配置正确的IP地址,子网掩码和缺省网关连接到GA的 PCIP Address: Subnet mask: Default gatew

18、ay: 连接至U BH啲PCIP Address: Subnet mask: Default gateway: Step 7查看路由器GA刖BHWS基本配置GADs#how running-config ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption !hostname GAD!enable secret 5 $1$HCww$MPv

19、2SeZSoulZbI2ULmwBN. !ip subnet-zero!interface FastEthernet0/0ip address no ip directed-broadcast !interface Serial0/0ip address no ip directed-broadcast no ip mroute-cache no fair-queue clockrate 56000!interface Serial0/1 no ip address no ip dire

20、cted-broadcast shutdown !router igrp 101network network !no ip classless ip http server !line con 0 exec-timeout 0 0 password cisco login transport input none line aux 0 password cisco loginline vty 0 4 password cisco login !endBHMs#how running !version 12.0 service timesta

21、mps debug uptime service timestamps log uptime no service password-encryption !hostname BHM !enable secret 5 $1$IzR.$HkRSV8TmMTDuAWcw/QbVl0 !ip subnet-zeroip host GAD ! interface FastEthernet0/0 ip address no ip directed-broadcast! interface Seria

22、l0/0 ip address no ip directed-broadcast no ip mroute-cache no fair-queue!interface Serial0/1 no ip address no ip directed-broadcast shutdown no fair-queue ! router igrp 101 network network !no ip classless no ip http serverline con 0 exec-timeout

23、 0 0 password cisco login transport input none line aux 0 line vty 0 4 password cisco login ! endBHMs#how ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA ext

24、ernal type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not setC /24 is dir

25、ectly connected, FastEthernet0/0 I /24 100/8576 via , 00:00:14, Serial0/0 C /24 is directly connected, Serial0/0BHMs#how ip protocols Routing Protocol is igrp 101 Sending updates every 90 seconds, next due in 44 seconds Invalid after 270 seconds, hold down 280, fl

26、ushed after 630 Outgoing update filter list for all interfaces is Incoming update filter list for all interfaces is Default networks flagged in outgoing updates Default networks accepted from incoming updates IGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0 IGRP maximum hopcount 100 IGRP maximum metr

27、ic variance 1 Redistributing: igrp 101 Routing for Networks: Routing Information Sources: Gateway Distance Last Update 100 00:00:22Distance: (default is 100)GAD#debug ip igrp events IGRP event debugging is onGAD#00:17:43: IGRP: received update from

28、 on Serial0/0 00:17:43: IGRP: Update contains 0 interior, 1 system, and 0 exterior routes.00:17:43: IGRP: Total routes in update: 100:18:04: IGRP: sending update to 55 via FastEthernet0/0()00:18:04: IGRP: Update contains 0 interior, 2 system, and 0 exterior routes.00:18:04:

29、IGRP: Total routes in update: 200:18:04: IGRP: sending update to 55 via Serial0/0()00:18:04: IGRP: Update contains 0 interior, 1 system, and 0 exterior routes.00:18:04: IGRP: Total routes in update: 1GAD#debug ip igrp transactionsIGRP protocol debugging is on00:24:53: IGRP:

30、sending update to 55 via Ethernet0/0()00:24:53: network , metric=857600:24:53: network , metric=847600:24:53: IGRP: sending update to 55 via Serial0/0()00:24:53: network , metric=11000:26:07: IGRP: received update

31、from on Serial0/0 00:26:07: network , metric 8576 (neighbor 110)GADs#how ip route Routing entry for /24Known via igrp 101, distance 100, metric 8576 Redistributing via igrp 101Advertised by igrp 101 (self originated)Last update from on S

32、erial0/0, 00:00:30 ago Routing Descriptor Blocks:* , from , 00:00:30 ago, via Serial0/0 Route metric is 8576, traffic share count is 1Total delay is 21000 microseconds, minimum bandwidth is 1544 Kbit Reliability 179/255, minimum MTU 1500 bytesLoading 1/255, Hops 0三. EIGRP的配置本

33、实验需要2600系列路由器两台,交换机一台,PC机两台,con sole线两 条R(jut 1Ruciler 2RoutorRoutorEnable SocrotEnable.VTY.andRoutingNetworkNamePasswordPawordsProtocolStatementsRouterIP HostFaMElherhet 0IntctfacfSbtlal 0Loopback 0DesignationTableAddress/TypeAdubnetAddressJSLibnetEntrySubnet MjskSerial 0MaskM*ik袖0侣:The ip Hob: Tab

34、te Entry caiunn eonianlE lndca:e cub Fianioisj at the ocher routaFrs in h& IP tabis.Rouier 1Warsaw.24DCE192.16S2.V30-92.16B.0.2/24Rouier 2PrisDTE2i30N:JSlrrighHh lj .ijF :h:IiI pUonscM (Rcrilawer)cableRouter 1ParidassCISCOEIGRP192.16fl3.0Router 2WarsawEIGRP tesjeo-aoStep 1配置路由器

35、Router1Router en ableRouter# con figure termi nalRouter(co nfig)# host name PARIS PARIS(c on fig)# en able secret classpassword cisco logi n line vty 0 4 password cisco logi nexitPARIS(co nfig)# line con sole 0PARIS(co nfig-li ne)#PARIS(co nfig-li ne)# PARIS(co nfig-li ne)# PARIS(co nfig-li ne)# PAR

36、IS(co nfig-li ne)# PARIS(co nfig-li ne)#PARIS(co nfig)# in terface serial 0/0PARIS(co nfig-if)#PARIS(co nfig-if)#PARIS(co nfig-if)#PARIS(co nfig-if)#PARIS(co nfig-if)#PARIS(co nfig-if)#PARIS(co nfig-if)#ip address 192.16821 52 clock rate 64000 no shutdow nexitin terface loopback 0ip add

37、ress exitPARIS(co nfig)# in terface fastethernet 0/0 PARIS(config-if)# ip address PARIS(config-if)# no shutdown PARIS(config-if)# exitPARIS(config)# ip host WARSAW Router2 Router enableRouter# configure terminalRouter(config

38、)# hostname WARSAW WARSAW(config)#enable secret class WARSAW(config)#line console 0 WARSAW(config-line)# password cisco WARSAW(config-line)# login WARSAW(config-line)# line vty 0 4 WARSAW(config-line)# password cisco WARSAW(config-line)# login WARSAW(config-line)# exit WARSAW(config)#interface seria

39、l 0/0 WARSAW(config-if)# ip address 52 WARSAW(config-if)# no shutdown WARSAW(config-if)# exit WARSAW(config)#interface fastethernet 0/0 WARSAW(config-if)# ip address WARSAW(config-if)# no shutdown WARSAW(config-if)# exitWARSAW(config)#ip host PARIS

40、 Step 2 保存路由器上的配置文件 Paris# copy running-config startup-config Destination filename startup-config? Enter WARSAWco#py running-config startup-config Destination filename startup-config? Enter Step 3为PC配置正确的IP地址,子网掩码和缺省网关 连接到巴黎的 PCIP Address: Subnet mask: 255.255.255.

41、0 Default gateway: 连接到华沙的 PC IP Address: Subnet mask: Default gateway: Step 4 在路由器Paris上启动EIGRP Paris(config)# router eigrp 101 Paris(config-router)#network Paris(config-router)#network Paris(config-router)#network Pa

42、ris(config-router)#endStep 5 在路由器 Warsaw上启动EIGRPWarsaw(config)# router eigrp 101Warsaw(config-router)# network Warsaw(config-router)# network Warsaw(config-router)# end四. OSPF的配置Router 1本实验需要2600系列路由器两台,交换机一台,PC机两台,con sole线两 条RouterDesignationRoutftNameEnable Secret PasswordEn

43、able, VTY, and Console PasswordsRouting ProtocolNetwork1StatementsRouter 1BerlindlassciscoOSPF192 168 1.128Router 2RomeciscoOSPF192.168.150192.1680.0Router DesignationIP Host Tabfe EntryFastEthernet 0 Address/ Subnet MaskInterfaceTypeSerial 0Serial 0InterfaceAddress/Subnet Type Serial 1

44、MaskSerial 1Address/SubnetMaskRouter 1Rnmr*19Z.1GG 1 H23 刘DC192.1DQ.15 VD0NANo addreuRouter 2Beriin192.16B.0-1/24DTET9Z160.15.2/30NANo addressArea 0Router 2Note; The IP Host Tabla Entry column content indicate ihe nsinefs of lha other roulens) in the IP host IsbieCcwisole (RollowriCrossuver cdbJeElr

45、Bight-througiFi cableSerial cableStep 1配置路由器Router1Routeren ableRouter# con figure termi nalRouter(co nfig)# host name BERLINBERLIN(config)# enable secret classpassword cisco logi n line vty 0 4 password cisco logi nexitBERLIN(co nfig)# line con sole 0BERLIN(co nfig-li ne)# BERLIN(co nfig-li ne)# BE

46、RLIN(co nfig-li ne)# BERLIN(co nfig-li ne)# BERLIN(co nfig-li ne)# BERLIN(co nfig-li ne)#BERLIN(co nfig)# in terface serial 0/0BERLIN(co nfig-if)#BERLIN(co nfig-if)#BERLIN(co nfig-if)#BERLIN(co nfig-if)#ip address 52 clock rate 64000no shutdow nexitBERLIN(co nfig)# in terface fastEthernet 0/0BERLIN(co nfig-if)# ip address 29 92BERLIN(co nfigif)# no shutdow nBERLIN(co nfig-if)# ex

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论