资源描述:
《pbr策略路由配置实例》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、PBR策略路由配置实例作者:救世主220实验日期:2015.6.22实验拓扑如下:loopback010.0.5.5/24实验目的:1.R1的loopback0通过R2—R3--R5的loopback02.R1的loopback1通过R2—R4—R5的loopback0R1配置:Rl#showrunBuildingconfiguration...hostnameR1i•interfaceLoopbackOipaddress10.0.1.1255.255.255.0I•interfaceLoopbacklipaddress10.0.10.1255.255.255.0IinterfaceS
2、eriall/0ipaddress10.0.12.1255.255.255.0serialrestart-delay0iI•routerripversion2network0.0.0.0noauto-summaryRlfshowiprouteCodes:C-connected,S-static,R・RIP,M・mobile,B・BGPD・EIGRP,EX・EIGRPexternaltO・OSPF,IA-OSPFinterareaN1・OSPFNSSA皂xternaltype1tN2・OSPFNSSAexternaltype2El・OSPFexternaltype1fE2-OSPFext
3、ernaltype2i-IS-ISfsu-IS-ISsummary,Ll-IS-ISlevel-1,L2・IS-ISlevel-2ia・IS-ISinterarea,*-candidatedefault,U・per-userstaticrouteo一ODRfP-periodicdownloadedstaticrouteGatewayoflastresortisnotset10.0.0.0/24issubnetted,11subnets10.0.10.0isdirectlyconnected,Loopbackl10.0.12.0isdirectlyconnected,Seriall/01
4、0.0.2.010.0.3.010.0.1.010.0.4.010.0.5.010.0.24.010.0.23.010.0.45.0[120/2]via10.0.12.2,00:00:15,Seriall/010.0.35.0…一[120/1]via10.0.12.2,00:00:15.Seriall/0[120/2]via10.0.12.2,00:00:15.Seriall/0isdirectlyconnected,LoopbackO[120/2]via10.0.12.2,00:00:15,Seriall/0[120/3]via10.0.12.2,00:00:15,Seriall/0
5、[120/1][120/1]via10.0.12.2,00:00:15,Seriall/0via10.0.12.2,00:00:151Seriall/0[120/2]via10.0.12.2,00:00:15,Serial1/0R2配置:R2#showrunning-configBuildingconfiguration…interfaceLoopbackOipaddress10.0.2.2255.255.255.0I■interfaceSeriall/0ipaddress10.0.12.2255.255.255.0ippolicyroute-mapccieserialrestart-
6、delay0i■interfaceSeriall/1ipaddress10.0.23.2255.255.255.0serialrestart-delay0iinterfaceSeriall/2ipaddress10.0.24.2255.255.255.0serialrestart-delay0i•routerripversion2network0.0.0.0noauto-summaryi•access-list100permitiphost10.0.1.1host10.0.5.5access-list101permitiphost10.0.10.1host10.0.5.5I■route
7、-mapcciepermit10matchipaddress100setinterfaceSeriall/1route-mapcciepermit15matchipaddress101setipnext-hop10.0.24.4R/fshowiprouteCodes:C-connected,S-statictR-RIPtM-mobile,B-BGPD・EIGRP,EX-EIGRPexternal,O・OSPF,IA・OSPFinterareaN