路由交换实验指南-chp6单区域_第1页
路由交换实验指南-chp6单区域_第2页
路由交换实验指南-chp6单区域_第3页
路由交换实验指南-chp6单区域_第4页
路由交换实验指南-chp6单区域_第5页
已阅读5页,还剩18页未读 继续免费阅读

下载本文档

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

文档简介

OSPF(OpenShortestPath,开放最短链路优先)路由协议是典型的链路状态路由协议。OSPF由IETF2080年代末期开发,OSPF是SPF路由协议中的开放式版本。明确其在稳定性和功能性方面的实质性改进。这个OSPF版本有许多更新文档,每一个以本书分了多个章节来介绍。本章只单区域的OSPF。OSPFOSPF作为一种网关协议(Interi Protocol,IGP系统(AS)中的路由器之间交换路由信息。OSPF的特性如下:VLSM(BMA(NBMAPointMultiPoint型需要OSPF不同的网络类型来适应。链路状态通告(LSALSA路由器的本地状态,LSA包括的信息有关于路由最短路经优先(SPFOSPFSPF算法有时也被称为Dijkstra算法,这是因为最短路径优先算法(SPFDijkstraOSPFSPF,独立

实验1:点到点链的度量值costR1(config)#routerospf1R1(config-router)#router-idR1(config-router)#network1.1.1.0255.255.255.0areaR1(config-router)#network192.168.12.0255.255.255.0areaR2(config)#routerospf1R2(config-router)#router-idR2(config-router)#network192.168.12.0255.255.255.0areaR2(config-router)#network192.168.23.0255.255.255.0areaR2(config-router)#network2.2.2.0255.255.255.0areaR3(config)#routerospf1R3(config-router)#router-idR3(config-router)#network192.168.23.0255.255.255.0areaR3(config-router)#network192.168.34.0255.255.255.0areaR3(config-router)#network3.3.3.0255.255.255.0areaR4(config)#routerospfR4(config-router)#router-idR4(config-router)#network4.4.4.00.0.0.255areaR4(config-router)#network192.168.34.00.0.0.255area【技术要点区域ID是在0- 网络区域ID为0或0.0.0.0时称为主干区域;址为RouterID;建议用命令“router-id”来指定路由器ID,这样可控性比较好。showipR2#showipCodes:C-connected,S-static,R-RIP,M-mobile,B-D-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2i-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnot 192.168.12.0/24isdirectlyconnected,Serial0/0/01.0.0.0/32issubnetted,1subnets 1.1.1.1[110/782]via192.168.12.1,00:18:40,2.0.0.0/24issubnetted,1 2.2.2.0isdirectlyconnected,Loopback03.0.0.0/32issubnetted,1subnets 3.3.3.3[110/782]via192.168.23.3,00:18:40,4.0.0.0/32issubnetted,1 4.4.4.4[110/1563]via192.168.23.3,00:18:40, 192.168.23.0/24isdirectlyconnected, 192.168.34.0/24[110/1562]via192.168.23.3,00:18:41,输出结果表明同一个区域内通过OSPF路由协议学习的路由条目用代码“O”表示【说明24位,解决的办法是在环回接口下修改网络类型为“Point-to-PointR2(config)#interfaceloopbackR2(config-if)#ipospfnetworkpoint-to-cost的计算公式为108/带宽(bps),然后取整,而且是所有链路的cost之和,环回接口的cost为1,路由条目“4.4.4.4”到路由器R2经过的入接口包括路由器R4的loopback0,路由器R3的s0/0/0,路由器R2的s0/0/1,所以计算如下:1+108/128000+108/128000=1563。也可以直接通过命令“ipospfcost”设置接口的cost值,并且它是优先计算的cost值的。showipprotocolsR2#showipprotocolsRoutingProtocolis"ospf//当前路由器运行的OSPF进程OutgoingupdatefilterlistforallinterfacesisnotsetingupdatefilterlistforallinterfacesisnotRouterID//本路由器Numberofareasinthisrouteris1.1normal0stub0umpath:4Routingfor2.2.2.00.0.0.255area192.168.12.00.0.0.255area192.168.23.00.0.0.255areaReferencebandwidthunitis100RoutingInformationLastDistance:(defaultisshowipR2#showipospfRoutingProcess"ospf1"withIDStarttime:00:50:57.156,Timeelapsed:00:42:41.880SupportsonlysingleTOS(TOS0)routesSupportsopaqueSupportsLink-localSignaling(LLS)SupportsareatransitcapabilityRouterisnotoriginatingrouter-LSAswith ummetricInitialSPFscheduledelay5000msecsMinimumholdtimebetweentwoconsecutiveSPFs10000msecsumwaittimebetweentwoconsecutiveSPFs10000msecsIncremental-SPFdisabledMinimumLSAinterval5secsMinimumLSAarrival1000msecsLSAgrouppacingtimer240Interfacefloodpacingtimer33msecsRetransmissionpacingtimer66NumberofexternalLSA0.ChecksumSum0x000000NumberofopaqueASLSA0.ChecksumSum0x000000NumberofDCbitlessexternalandopaqueASLSA0NumberofDoNotAgeexternalandopaqueASLSA0Numberofareasinthisrouteris1.1normal0stub0nssaNumberofareastransitcapableis0Externalfloodlistlength0IETFNSFhelpersupportenabledCiscoNSFhelpersupportenabledAreaNumberofinterfacesinthisareais3AreahasnoauthenticationSPFalgorithmlastexecuted00:15:07.580agoSPFalgorithmexecuted9timesArearangesNumberofLSA4.ChecksumSumNumberofopaquelinkLSA0.ChecksumSum0x000000NumberofDCbitlessLSA0NumberofindicationLSA0NumberofDoNotAgeLSA0Floodlistlength0showipospfinterfaceR2#showipospfinterfaces0/0/0Serial0/0/0isup,lineprotocolisupInternetAddress192.168.12.2/24,Area//该接口的地址和运行的OSPFProce1,RouterID2.2.2.2,NetworkTypePOINT_TO_POINT,Cost://进程ID,路由器ID,网络类型,接口CostTransmitDelayis1sec,StateTimerintervalsconfigured,o10,Dead40,Wait40,Retransmitoob-resynctimeoutoduein//距离下次发送o包的时SupportsLink-localSignaling//支持CiscoNSFhelpersupportenabledIETFNSFhelpersupport//以上两行表示启用了IETF和Cisco的NSFIndex1/1,floodqueuelength0Next0x0(0)/0x0(0)Lastfloodscanlengthis1,umisLastfloodscis0msec,umis0msecNeighborCountis1,AdjacentneighborcountisAdjacentwithneighbor1.1.1.1Suppressofor0neighbor(s)//没有进行o抑showipospfR2#showipospfNeighborDead0 0 ①②DeadTime⑤【技术要点同一链的o包间隔和dead间隔必须相同才能建立邻接关系。默认情况下o6-1表6-1OSPFo间隔和dead间网络类和“ipospfdead-interval”命令调整。④认证类型或不一致⑥o包被ACL⑦链的MTU不匹配showipospfR2#showipospfOSPFRouterwithID(2.2.2.2)(Proce1)RouterLinkStates(Area0)LinkADVChecksumLink0x00BA350x00D7C00x00282D0x009AFELinkIDLinkStateID,ADVRouterAge:SeqChecksum:Linkcount:实验2:广播多路链的链R1(config)#routerospf1R1(config-router)#router-idR1(config-router)#network1.1.1.0255.255.255.0areaR1(config-router)#network192.168.1.0255.255.255.0areaR1(config-router)#auto-costreference-bandwidthR2(config)#routerospf1R2(config-router)#router-idR2(config-router)#network2.2.2.0255.255.255.0areaR2(config-router)#network192.168.1.0255.255.255.0areaR2(config-router)#auto-costreference-bandwidthR3(config)#routerospf1R3(config-router)#router-idR3(config-router)#network3.3.3.0255.255.255.0areaR3(config-router)#network192.168.1.0255.255.255.0areaR3(config-router)#auto-costreference-bandwidthR4(config)#routerospf1R4(config-router)#router-idR4(config-router)#network4.4.4.0255.255.255.0areaR4(config-router)#network192.168.1.0255.255.255.0areaR4(config-router)#auto-costreference-bandwidth【说明“auto-costreference-bandwidth”命令是修改参考带宽的,因为本实验中的以太口cost.1,的。修改参考带宽要在所有的OSPF当执行命令“auto-costreference-bandwidth%OSPF:ReferencebandwidthisPleaseensurereferencebandwidthisconsistentacrossallshowipospfR1#showipospfNeighborDead111以上输出表明在该广播多路网络中,R1是DR,R2是BDR,R3和R4为DROTHER【技术要点要求在多路②如果同时启动,或者重新,则看接口优先级(范围为0-255),优先级最高的被成DR,默认情况下,多路网络的接口优先级为1,点到点网络接口优先级为0,修改接口优先级令是“ipospfpriority如果接口的优先级被设置为0,那么该接口将不参与DR;DR是非抢占的,除为地重新。重新DR的方法有两种,一是路由器重新启动,二是执行“clearipospfprocess”命令。showipospf分别在路由器R1和R4上执行该命令:R1#showipospfinterfaceg0/0GigabitEthernet0/0isup,lineprotocolisupInternetAddress192.168.1.1/24,AreaProce1,RouterID1.1.1.1,NetworkTypeBROADCAST,Cost:TransmitDelayis1sec,StateDR,Priority//自己stateDesignatedRouter(ID)1.1.1.1,InterfaceaddressBackupDesignatedrouter(ID)2.2.2.2,InterfaceaddressTimerintervalsconfigured,o10,Dead40,Wait40,Retransmitoob-resynctimeout40odueinSupportsLink-localSignaling(LLS)CiscoNSFhelpersupportenabledIETFNSFhelpersupportenabledIndex2/2,floodqueuelength0Next0x0(0)/0x0(0)Lastfloodscanlengthis1,umisLastfloodscis0msec,umis4msecNeighborCountis3,AdjacentneighborcountisAdjacentwithneighbor2.2.2.2BackupDesignatedRouter) //R2BDRAdjacentwithneighbor3.3.3.3Adjacentwithneighbor4.4.4.4Suppressofor0R4#showipospfinterfaceg0/0GigabitEthernet0/0isup,lineprotocolisupInternetAddress192.168.1.4/24,AreaProce1,RouterID4.4.4.4,NetworkTypeBROADCAST,Cost://网络类型为TransmitDelayis1sec,StateDROTHER,Priority//自己的state是DesignatedRouter(ID)1.1.1.1,InterfaceaddressBackupDesignatedrouter(ID)2.2.2.2,InterfaceaddressTimerintervalsconfigured,o10,Dead40,Wait40,Retransmitoob-resynctimeout40odueinSupportsLink-localSignaling(LLS)CiscoNSFhelpersupportenabledIETFNSFhelpersupportenabledIndex2/2,floodqueuelength0Next0x0(0)/0x0(0)Lastfloodscanlengthis1,umisLastfloodscis0msec,umis0msecNeighborCountis3,Adjacentneighborcountis//有3个邻居,只与R1和R2形成邻接关系,与R3只是邻居关系Adjacentwithneighbor1.1.1.1(DesignatedRouter)Adjacentwithneighbor2.2.2.2(BackupDesignatedRouter)//上面两行表示与DRBDRSuppressofor0debugipospfR2#debugipospfOSPFadjacencyeventsdebuggingisonR2#clearipospfprocessResetALLOSPFprocesses?[no]:*Feb1010:37:33.447:OSPF:InterfaceGigabitEthernet0/0going

*Feb1010:37:33.447:OSPF:NeighborchangeEventoninterface*Feb1010:37:33.447:OSPF:DR/BDRelectionon*Feb1010:37:33.447:OSPF:ElectBDR*Feb1010:37:33.447:OSPF:ElectDR*Feb1010:37:33.447:OSPF:ElectBDR*Feb1010:37:33.447:OSPF:ElectDR*Feb10 DR:1.1.1.1 BDR:4.4.4.4*Feb1010:37:33.447:OSPF:Resetadjacencywith3.3.3.3onGigabitEthernet0/0,statetoDOWN,NeighborDown:Interfacedownor*Feb1010:37:33.447:OSPF:NeighborchangeEventoninterface*Feb1010:37:33.447:OSPF:DR/BDRelectionon*Feb1010:37:33.447:OSPF:ElectBDR*Feb1010:37:33.447:OSPF:ElectDR*Feb10 DR:4.4.4.4 BDR:4.4.4.4*Feb1010:37:33.447:OSPF:RememberoldDR1.1.1.1toDOWN,NeighborDown:Interfacedownor*Feb1010:37:33.447:OSPF:NeighborchangeEventoninterface*Feb1010:37:33.447:OSPF:DR/BDRelectionon*Feb1010:37:33.447:OSPF:ElectBDR*Feb1010:37:33.447:OSPF:ElectDR*Feb10 DR:4.4.4.4 BDR:4.4.4.4toDOWN,NeighborDown:Interfacedownor10:37:33.447:OSPF:NeighborchangeEventoninterface10:37:33.447:OSPF:DR/BDRelectionon10:37:33.447:OSPF:ElectBDR10:37:33.447:OSPF:ElectDR DR: BDR:10:37:33.447:OSPF:RememberoldDR4.4.4.410:37:33.447:OSPF:InterfaceLoopback0going10:37:33.447:OSPF:2.2.2.2address2.2.2.2onLoopback0isdead,state10:37:33.459:OSPF:InterfaceGigabitEthernet0/0going10:37:33.459:OSPF:InterfaceLoopback0going*Feb1010:37:33.459:OSPF:2WayCommunicationto1.1.1.1onGigabitEthernet0/0,state*Feb1010:37:33.459:OSPF:BackupseenEventbeforeWAITtimeron*Feb1010:37:33.459:OSPF:DR/BDRelectionon*Feb1010:37:33.459:OSPF:ElectBDR*Feb1010:37:33.459:OSPF:ElectDR*Feb10 DR:1.1.1.1 BDR:4.4.4.40x7len32*Feb1010:37:33.459:OSPF:SendDBDto4.4.4.4onGigabitEthernet0/0seq0x1B1Copt0x52flag0x7len32*Feb1010:37:33.463:OSPF:RcvDBDfrom1.1.1.1onGigabitEthernet0/0seq0x1A0opt0x52flag0x7len32mtu1500stateEXSTART*Feb1010:37:33.463:OSPF:DBDandwearenot*Feb1010:37:33.463:OSPF:RcvDBDfrom1.1.1.1onGigabitEthernet0/0seq0xC87opt0x52flag0x2len112mtu1500stateEXSTART*Feb1010:37:33.463:OSPF:NBRNegotiationDone.Wearethe0x1len32*Feb1010:37:33.463:OSPF:RcvDBDfrom4.4.4.4onGigabitEthernet0/0seq0x13C0opt0x52flag0x7len32mtu1500stateEXSTART*Feb1010:37:33.463:OSPF:NBRNegotiationDone.Wearethe*Feb1010:37:33.463:OSPF:SendDBDto4.4.4.4onGigabitEthernet0/0seq0x13C0opt0x52flag0x0len32*Feb1010:37:33.463:OSPF:RcvDBDfrom1.1.1.1onGigabitEthernet0/0seq0xC88opt0x52flag0x0len32mtu1500stateEXCHANGE*Feb1010:37:33.463:OSPF:ExchangeDonewith1.1.1.1on*Feb1010:37:33.463:OSPF:SendLSREQto1.1.1.1length48LSAcount*Feb1010:37:33.463:OSPF:RcvDBDfrom4.4.4.4onGigabitEthernet0/0seq0x13C1opt0x52flag0x3len112mtu1500stateEXCHANGE*Feb1010:37:33.463:OSPF:SendDBDto4.4.4.4onGigabitEthernet0/0seq0x13C1opt0x52flag0x0len32*Feb1010:37:33.463:OSPF:RcvLSUPDfrom1.1.1.1onGigabitEthernet0/0length212LSA4*Feb1010:37:33.467:OSPF:Synchronizedwith1.1.1.1onGigabitEthernet0/0,state*Feb1010:37:33.467:%OSPF-5-ADJCHG:Process1,Nbr1.1.1.1onGigabitEthernet0/0LOADINGtoFULL,Loading*Feb1010:37:33.467:OSPF:RcvDBDfrom4.4.4.4onGigabitEthernet0/0seq0x13C2opt0x52flag0x1len32mtu1500stateEXCHANGE*Feb1010:37:33.467:OSPF:ExchangeDonewith4.4.4.4on*Feb1010:37:33.467:OSPF:Synchronizedwith4.4.4.4onGigabitEthernet0/0,state*Feb1010:37:33.467:%OSPF-5-ADJCHG:Process1,Nbr4.4.4.4onGigabitEthernet0/0fromLOADINGtoFULL,LoadingDone*Feb1010:37:33.467:OSPF:SendDBDto4.4.4.4onGigabitEthernet0/0seq0x13C2opt0x52flag0x0len32*Feb1010:37:33.947:OSPF:BuildrouterLSAforarea0,routerID2.2.2.2,seq0x80000001,process11111*Feb1010:37:43.155:OSPF:BuildrouterLSAforarea0,routerID2.2.2.2,seqprocess1EXCHANGE、Loading和FULL。OSPF3OSPFR1(config)#routerospf1R1(config-router)#router-idR1(config-router)#network192.168.12.0255.255.255.0areaR1(config-router)#network1.1.1.0255.255.255.0areaR1(config)#interfaceR1(config-if)#ipospfauthentication-keycisco//配置认证R2(config)#routerospf1R2(config-router)#router-idR2(config-router)#network2.2.2.0255.255.255.0areaR2(config-router)#network192.168.12.0255.255.255.0areaR2(config-router)#area0authenticationR2(config)#interfaces0/0/0R2(config-if)#ipospfauthentication-keyshowipospfinterfaceR1#showipospfinterfaces0/0/0Serial0/0/0isup,lineprotocolisupInternetAddress192.168.12.1/24,AreaProce1,RouterID1.1.1.1,NetworkTypePOINT_TO_POINT,Cost:781TransmitDelayis1sec,StatePOINT_TO_POINTTimerintervalsconfigured,o10,Dead40,Wait40,Retransmitoob-resynctimeout40odueinSupportsLink-localSignaling(LLS)CiscoNSFhelpersupportenabledIETFNSFhelpersupportenabledIndex1/1,floodqueuelength0NextLastfloodscanlengthis0,umisLastfloodscis0msec,umis0msecNeighborCountis0,Adjacentneighborcountis0Suppressofor0neighbor(s)SimplepasswordauthenticationshowipR1#showipRoutingProcess"ospf1"withID1.1.1.1SupportsonlysingleTOS(TOS0)routesAreaNumberofinterfacesinthisareais2(1loopback)AreahassimplepasswordauthenticationSPFalgorithmlastexecuted00:00:01.916agoSPFalgorithmexecuted5timesArearangesNumberofLSA2.ChecksumSumNumberofopaquelinkLSA0.ChecksumSum0x000000NumberofDCbitlessLSA0NumberofindicationLSA0NumberofDoNotAgeLSA0Floodlistlength0*Feb1011:03:03.071:OSPF:Rcvpktfrom192.168.12.1,Serial0/0/0:MismatchAuthenticationtype.Inputpacketspecifiedtype0,weusetype1错误,则R2上出现下面的信息:*Feb1010:55:53.071:OSPF:Rcvpktfrom192.168.12.1,Serial0/0/0:MismatchAuthenticationKey-ClearTextR1(config)#routerospfR1(config-router)#router-idR1(config-router)#network192.168.12.0255.255.255.0areaR1(config-router)#network1.1.1.0255.255.255.0areaR1(config)#interfaceR1(config-if)#ipospfmessage-digest-key1md5ciscokeyIDR2(config)#routerospf1R2(config-router)#router-idR2(config-router)#network2.2.2.0255.255.255.0areaR2(config-router)#network192.168.12.0255.255.255.0area0R2(config-router)#area0authenticationmessage-digestR2(config)#interfaces0/0/0R2(config-if)#ipospfmessage-digest-key1md5showipospfinterfaceR1#showipospfinterfaces0/0/0Serial0/0/0isup,lineprotocolisupInternetAddress192.168.12.1/24,AreaProce1,RouterID1.1.1.1,NetworkTypePOINT_TO_POINT,Cost:781TransmitDelayis1sec,StatePOINT_TO_POINTTimerintervalsconfigured,o10,Dead40,Wait40,Retransmitoob-resynctimeout40odueinSupportsLink-localSignaling(LLS)CiscoNSFhelpersupportenabledIETFNSFhelpersupportenabledIndex1/1,floodqueuelength0Next0x0(0)/0x0(0)Lastfloodscanlengthis0,umisLastfloodscis0msec,umis0msecNeighborCountis0,Adjacentneighborcountis0Suppressofor0neighbor(s)MessagedigestauthenticationenabledYoungestkeyidis1showipR1#showipRoutingProcess"ospf1"withID1.1.1.1SupportsonlysingleTOS(TOS0)routesAreaNumberofinterfacesinthisareais2(1AreahasmessagedigestSPFalgorithmlastexecuted00:01:50.096agoSPFalgorithmexecuted5timesArearangesNumberofLSA2.ChecksumSumNumberofopaquelinkLSA0.ChecksumSum0x000000NumberofDCbitlessLSA0NumberofindicationLSA0NumberofDoNotAgeLSA0Floodlistlength0*Feb1011:08:13.075:OSPF:Rcvpktfrom192.168.12.1,Serial0/0/0:MismatchAuthenticationtype.Inputpacketspecifiedtype2,weusetype1码或错误,则R2上出现下面的信息:*Feb1011:08:43.075:OSPF:Rcvpktfrom192.168.12.1,Serial0/0/0:MismatchAuthenticationKey-Nomessagedigestkey1oninterface5:OSPFR1(config)#routerospf1R1(config-router)#router-idR1(config-router)#network1.1.1.00.0.0.255areaR1(config-router)#network192.168.12.00.0.0.255area0R1(config)#interfaces0/0/0R1(config-if)#ipospfauthentication//链路启用简单口令认证R1(config-if)#ipospfauthentication-keycisco//配置认证R2(config)#routerospf1R2(config-router)#router-idR2(config-router)#network2.2.2.00.0.0.255areaR2(config-router)#network192.168.12.00.0.0.255area0R2(config)#interfaces0/0/0R2(config-if)#ipospfR2(config-if)#ipospfauthentication-keyshowipospfinterfaceR1#showipospfinterfaces0/0/0Serial0/0/0isup,lineprotocolisupInternetAddress192.168.12.1/24,AreaProce1,RouterID1.1.1.1,NetworkTypePOINT_TO_POINT,Cost:781TransmitDelayis1sec,StatePOINT_TO_POINTTimerintervalsconfigured,o10,Dead40,Wait40,Retransmitoob-resynctimeout40odueinSupportsLink-localSignaling(LLS)CiscoNSFhelpersupportenabledIETFNSFhelpersupportenabledIndex1/1,floodqueuelength0Next0x0(0)/0x0(0)Lastfloodscanlengthis1,umisLastfloodscis0msec,umis0msecNeighborCountis1,AdjacentneighborcountisAdjacentwithneighbor2.2.2.2Suppressofor0neighbor(s)Simplepasswordauthentication*Feb1011:19:33.074:OSPF:Rcvpktfrom192.168.12.1,Serial0/0/0:MismatchAuthenticationtype.Inputpacketspecifiedtype1,weusetype0码或错误,则R2上出现下面的信息:*Feb1011:22:33.074:OSPF:Rcvpktfrom192.168.12.1,Serial0/0/0:MismatchAuthenticationKey-ClearTextR1(config)#routerospf1R1(config-router)#router-idR1(config-router)#network1.1.1.00.0.0.255areaR1(config-router)#network192.168.12.00.0.0.255areaR1(config)#interfaceR1(config-if)#ipospfmessage-digest-key1md5ciscokeyIDR2(config)#routerospf1R2(config-router)#router-idR2(config-router)#network2.2.2.00.0.0.255areaR2(config-router)#network192.168.12.00.0.0.255area0R2(config)#interfaces0/0/0R2(config-if)#ipospfauthenticationmessage-digestR2(config-if)#ipospfmessage-digest-key1md5ciscoshowipospfinterfaceR1#showipospfinterfaces0/0/0Serial0/0/0isup,lineprotocolisupInternetAddress192.168.12.1/24,AreaProce1,RouterID1.1.1.1,NetworkTypePOINT_TO_POINT,Cost:781TransmitDelayis1sec,StatePOINT_TO_POINTTimerintervalsconfigured,o10,Dead40,Wait40,Retransmitoob-resynctimeout40odueinSupportsLink-localSignaling(LLS)CiscoNSFhelpersupportenabledIETFNSFhelpersupportenabledIndex1/1,floodqueuelength0Next0x0(0)/0x0(0)Lastfloodscanlengthis1,umisLastfloodscis0msec,umis0msecNeighborCountis1,AdjacentneighborcountisAdjacentwithneighbor2.2.2.2Suppressofor0neighbor(s)MessagedigestauthenticationenabledYoungestkeyidis*Feb1011:08:13.075:OSPF:Rcvpktfrom192.168.12.1,Serial0/0/0:MismatchAuthenticationtype.Inputpacketspecifiedtype2,weusetype1*Feb1011:31:13.078:OSPF:Rcvpktfrom192.168.12.1,Serial0/0/0:MismatchAuthenticationKey-Nomessagedigestkey1oninterface【技术要点认证;2-表示采用MD5认证。7default-information通过本实验可以掌握如何通过命令“default-informationoriginateOSPF步骤1:配置路由器R1R1(config)#interfaceloopback1R1(config-if)#ipaddress5.5.5.5R1(config)#iproute0.0.0.00.0.0.0loopbackR1(config-router)#router-idR1(config-router)#network1.1.1.00.0.0.255areaR1(config-router)#network192.168.12.00.0.0.255area0R1(config-router)#default-informationoriginate【技术要点“default-informationoriginate”命令后面可以加可选的“always”

温馨提示

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

评论

0/150

提交评论