资源描述:
《bgp的next-hop及路由聚合.doc》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、BGP的next-hop及路由聚合实验报告实验目的:1、配置next-hop-self让ISPB能学到sanjose1上192.168.32.1的路由条目。2、配置BGP的路由聚合让ISPB能学到sanjose1上192.168.1.4的路由条目。实验拓扑图:实验步骤:1、基本的线路连接配置、IBGP内部的标准OSPF配置并测试。2、配置不同AS之间通信并测试。3、配置next-hop-self让ISPB学到sanjose上的192.168.1.33路由条目。4、配置BGP的路由聚合让ISPB能学到sanjose1上192.168.1.4的路由条目。一、基本的线路连接
2、配置、IBGP内部的标准OSPF配置并测试。ispaenaconftnoipdomain-lookupipsubnet-zeroenablepasswordciscohostnameispaintlo0ipadd10.1.1.1255.255.255.255ints0/0noshutclockrate64000ipadd192.168.1.6255.255.255.252ints0/1noshutclockrate64000ipadd172.16.1.1255.255.255.0endconftrouterospf1network10.1.1.10.0.0.0area
3、0network172.16.1.00.0.0.255area0endibgpconftrouterbgp200noauto-summarynosyncneighbor10.2.2.2remote-as200neighbor10.2.2.2update-sourcelo0endebgpconftrouterbgp200noauto-summarynosyncneighbor192.168.1.5remote-as100network172.16.1.0mask255.255.255.0endsanjose1enaconftnoipdomain-lookupipsubn
4、et-zeroenablepasswordciscohostnamesanjose1intlo0ipadd192.168.1.33255.255.255.224ints0/0noshutipadd192.168.1.5255.255.255.252endebgpconftrouterbgp100noauto-summarynosyncneighbor192.168.1.6remote-as200network192.168.1.32mask255.255.255.224network192.168.1.4mask255.255.255.252endispbenacon
5、ftnoipdomain-lookupipsubnet-zeroenablepasswordciscohostnameispbintlo0ipadd10.2.2.2255.255.255.252ints0/0noshutipadd172.16.1.2255.255.255.0endconftrouterospf1network10.2.2.20.0.0.0area0network172.16.1.00.0.0.255area0endibgpconftrouterbgp200noauto-summarynosyncneighbor10.1.1.1remote-as200
6、neighbor10.1.1.1update-sourcelo0end测试ispa#showiprouteCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGPi-IS-IS,L1-IS-ISlevel-1,L2-IS-ISleve
7、l-2,ia-IS-ISinterarea*-candidatedefault,U-per-userstaticroute,o-ODRP-periodicdownloadedstaticrouteGatewayoflastresortisnotset172.16.0.0/24issubnetted,1subnetsC172.16.1.0isdirectlyconnected,Serial0/110.0.0.0/32issubnetted,2subnetsO10.2.2.2[110/65]via172.16.1.2,00:00:38,Serial0/1