您好,欢迎访问三七文档
CCNP系列课程--BSCIOSPF区域类型长沙迈威科技BSCImadeby谢茂芳区域类型长沙迈威科技BSCImadeby谢茂芳Stub和TotallyStub区域规则当满足如下条件,可以配置成stub区域:•只有一个ABR.•该区域所有的路由器都配置为stub区域。•该区域不能存在ASBR.•不能将area0配置成这种类型的区域.•Stub区域不允许设置虚链路.长沙迈威科技BSCImadeby谢茂芳•阻止外部LSA.•ABR要向该区域发送一条LSA3类型的默认路由,cost=1•该区域中所有路由器都要被配置成stub节点.Stub区域的特点长沙迈威科技BSCImadeby谢茂芳Stub区域配置areaarea-idstub[no-summary]•Thiscommandturnsonstubareanetworking.•Allroutersinastubareamustusethestubcommand.RouterA(config-router)#areaarea-iddefault-costcost•可以修改cost值.•Thedefaultcostis1.RouterA(config-router)#长沙迈威科技BSCImadeby谢茂芳OSPFStub配置示例长沙迈威科技BSCImadeby谢茂芳•阻止LSA5.•阻止LSA3.•减少路由表的条目.•所有路由器都必须配置成stub节点.•ABR必须配置成为totallystubby节点.•Cisco私有.TotallyStubby区域的特点长沙迈威科技BSCImadeby谢茂芳areaarea-idstubno-summary•Theadditionofno-summaryontheABRcreatesatotallystubbyareaandpreventsallsummaryLSAsfromenteringthestubarea.TotallyStubbyConfigurationRouterA(config-router)#长沙迈威科技BSCImadeby谢茂芳TotallyStubbyConfigurationExample长沙迈威科技BSCImadeby谢茂芳RoutingTableinaStandardAreaP1R3#shiprouteoutputomittedGatewayoflastresortisnotset172.31.0.0/32issubnetted,4subnetsOIA172.31.22.4[110/782]via10.1.1.1,00:02:44,FastEthernet0/0OIA172.31.11.1[110/1]via10.1.1.1,00:02:44,FastEthernet0/0OIA172.31.11.2[110/782]via10.1.3.4,00:02:52,Serial0/0/0[110/782]via10.1.1.1,00:02:52,FastEthernet0/0OIA172.31.11.4[110/782]via10.1.1.1,00:02:44,FastEthernet0/010.0.0.0/8isvariablysubnetted,7subnets,2masksO10.11.0.0/24[110/782]via10.1.1.1,00:03:22,FastEthernet0/0C10.200.200.13/32isdirectlyconnected,Loopback0C10.1.3.0/24isdirectlyconnected,Serial0/0/0O10.1.2.0/24[110/782]via10.1.3.4,00:03:23,Serial0/0/0C10.1.1.0/24isdirectlyconnected,FastEthernet0/0O10.1.0.0/24[110/782]via10.1.1.1,00:03:23,FastEthernet0/0OE210.254.0.0/24[110/50]via10.1.1.1,00:02:39,FastEthernet0/0P1R3#长沙迈威科技BSCImadeby谢茂芳RoutingTableinaStubAreaP1R3#shiprouteoutputomittedGatewayoflastresortis10.1.1.1tonetwork0.0.0.0172.31.0.0/32issubnetted,4subnetsOIA172.31.22.4[110/782]via10.1.1.1,00:01:49,FastEthernet0/0OIA172.31.11.1[110/1]via10.1.1.1,00:01:49,FastEthernet0/0OIA172.31.11.2[110/782]via10.1.3.4,00:01:49,Serial0/0/0[110/782]via10.1.1.1,00:01:49,FastEthernet0/0OIA172.31.11.4[110/782]via10.1.1.1,00:01:49,FastEthernet0/010.0.0.0/8isvariablysubnetted,6subnets,2masksO10.11.0.0/24[110/782]via10.1.1.1,00:01:50,FastEthernet0/0C10.200.200.13/32isdirectlyconnected,Loopback0C10.1.3.0/24isdirectlyconnected,Serial0/0/0O10.1.2.0/24[110/782]via10.1.3.4,00:01:50,Serial0/0/0C10.1.1.0/24isdirectlyconnected,FastEthernet0/0O10.1.0.0/24[110/782]via10.1.1.1,00:01:50,FastEthernet0/0O*IA0.0.0.0/0[110/2]via10.1.1.1,00:01:51,FastEthernet0/0P1R3#长沙迈威科技BSCImadeby谢茂芳RoutingTableinaStubAreawithSummarizationP1R3#shiprouteoutputomittedGatewayoflastresortis10.1.1.1tonetwork0.0.0.0172.31.0.0/16isvariablysubnetted,2subnets,2masksOIA172.31.22.4/32[110/782]via10.1.1.1,00:13:08,FastEthernet0/0OIA172.31.11.0/24[110/1]via10.1.1.1,00:02:39,FastEthernet0/010.0.0.0/8isvariablysubnetted,6subnets,2masksO10.11.0.0/24[110/782]via10.1.1.1,00:13:08,FastEthernet0/0C10.200.200.13/32isdirectlyconnected,Loopback0C10.1.3.0/24isdirectlyconnected,Serial0/0/0O10.1.2.0/24[110/782]via10.1.3.4,00:13:09,Serial0/0/0C10.1.1.0/24isdirectlyconnected,FastEthernet0/0O10.1.0.0/24[110/782]via10.1.1.1,00:13:09,FastEthernet0/0O*IA0.0.0.0/0[110/2]via10.1.1.1,00:13:09,FastEthernet0/0P1R3#长沙迈威科技BSCImadeby谢茂芳RoutingTableinaTotallyStubbyAreaP1R3#shiprouteoutputomittedGatewayoflastresortis10.1.1.1tonetwork0.0.0.010.0.0.0/8isvariablysubnetted,6subnets,2masksO10.11.0.0/24[110/782]via10.1.1.1,00:16:53,FastEthernet0/0C10.200.200.13/32isdirectlyconnected,Loopback0C10.1.3.0/24isdirectlyconnected,Serial0/0/0O10.1.2.0/24[110/782]via10.1.3.4,00:16:53,Serial0/0/0C10.1.1.0/24isdirectlyconnected,FastEthernet0/0O10.1.0.0/24[110/782]via10.1.1.1,00:16:53,FastEthernet0/0O*IA0.0.0.0/0[110/2]via10.1.1.1,00:00:48,FastEthernet0/0P1R3#长沙迈威科技BSCImadeby谢茂芳•NSSAbreaksstubarearules.•ASBR(R1)isallowedinNSSA.•SpecialLSAtype7defined,sentbyASBR.•ABR(R2)convertsLSAtype7toLSAtype5.•ABRsendsdefaultrouteintoNSSAinsteadofexternalroutesfromotherASBRs.•NSSAisanRFCaddendum.Not-So-StubbyAreas长沙迈威科技BSCImadeby谢茂芳areaarea-idnssa[no-redistribution][default-information-originate[metricmetric-value][metric-typetype-value]][no-summary]•UsethiscommandinsteadoftheareastubcommandtodefinetheareaasNSSA.•Theno-summarykeywordcreatesanNSSAtotallystubbyarea;thisisaCiscoproprietaryfeature.NSSAConfigurationRouterA(config-router)#长沙迈威科技BSCImadeby谢茂芳Example:NSSAConfiguration长沙迈威科技BSCImadeby谢茂芳NSSATotallyStubbyConfiguration•NSSAtotallystubbyareaisaCiscoproprietaryfeature.长沙迈威科技BSCImadeby谢茂芳showipospf•Displayswhichareasarenormal,stub,orNSSAshowCommandsforStubandNSSAshowipospfdatabase•DisplaysdetailsofLSAsshowipospfdatabasenssa-external•DisplaysspecificdetailsofeachLSAtype7updateindatabaseshowiproute•DisplaysallroutesRouterA#RouterA#RouterA#RouterA#长沙迈威科技BSCImadeby谢茂芳
本文标题:区域类型
链接地址:https://www.777doc.com/doc-3873581 .html