資源描述:
《MSR系列路由器BGP4+路由協(xié)議反射器功能的配置》由會員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在工程資料-天天文庫。
1、MSR系列路由器BGP4+路由協(xié)議反射器功能的配置關(guān)鍵字:BGP;路由反射;IPv6試驗(yàn)設(shè)備:RouterA(MSR20-21),RouterB(MSR20-20)RouterC(MSR30-20),RouterD(MSR30-20)一、組網(wǎng)需求RouterB接收了一個經(jīng)過EBGP的更新報(bào)文并將之傳給RouterC0RouterC被配置為路由反射器,它有兩個客戶:RouterB和RouterD。RouterB和RouterD間不需一個IBGP連接,當(dāng)RouterC接收了來自RouterB的路由更新時,它將此信息反射給RouterD,反Z亦然。二、組網(wǎng)圖三、配置步驟1.Rou
2、terA配置:#ipv6#interfaceEthernetO/1portlink-moderouteipv6address1::1/96interfaceNULLOninterfaceLoopBackOipv6address1:1:1::1/128#bgp100undosynchronization#ipv6-fami1y〃發(fā)布該網(wǎng)段的路由,此處為1oopbackO地址network1:1:1::1128undosynchronization//與對端建立EBGP連接peer1::2as-number2001.配置RouterB:#ipv6#intcrfaccEthern
3、ct0/0portlink-moderouteipv6address2::1/96#interfaceEthernetO/1portlink-modcrouteipv6address1::2/96interfaceLoopBackOipv6address2:2:2::2/128#bgp200undosynchronization#ipv6~familynetwork2:2:2::2128〃引入直連路由以保證下一跳路由可達(dá)import-routedirectundosynchronization〃注意:此處并未將RouterD加入對等體peer1::1as-numbcr100
4、peer2::2as-number2003?配置RouterC:#ipv6#interfaceLoopBackOipv6address3:3:3::3/128#interfaceGigabitEthernetO/Oportlink-moderouteipv6address2::2/96#interfaceGigabitEthernetO/1portlink-moderouteipv6address3::1/96#bgp200undosynchronizationnipv6-familynetwork3:3:3::3128import-routedirectundosynch
5、ronizationgroupalankerinternal〃設(shè)定組內(nèi)的對等體都為反射器的客戶端peeralankerreflect_clientpeer2::1groupalankcrpeer3::2groupalanker4.配gRouterD:#ipv6#interfaceLoopBackOipv6address4:4:4::4/128#interfaceGigabitEthernetO/Oportlink-modcrouteipv6address3::2/96ipaddress1.0.0.4255.255.255.0#interfaceGigabitEthernet
6、O/1portlink-modcroute#bgp200undosynchronization#ipv6-familynetwork4:4:4::4128import-routedirectundosynchronizeitionpeer3::1as-number200四、配置關(guān)鍵點(diǎn)1.作為反射client的RouterBD上無需配reflect-client,這些都是耍在反射器routerC上配的2.需要在邊界路由器RouterB與RouterC上引入直連路由,否則在ping地址的時候找不到下一跳1::1,即無法到達(dá)BGP路由表屮的下一跳。因?yàn)檫吔缏酚善髟谙騃BGP發(fā)布路
7、由的吋候不改變該條路由的下一跳。五、試驗(yàn)分析1.在RouterA±再配置一個loopback地址:2001:da8::l,并在BGP視圖下用如下命令使能:(紅色部分)[RouterA-2021-bgp-af-ipv6Jdisth#ipv6-familynetwork1:1:1::1128network2001:DA8::1128undosynchronizationpeer1::2as-number200此時在RouterB與RouterD的BGP路由表屮均有到達(dá)該地址的路由,displ