BGP origin屬性_第1頁
BGP origin屬性_第2頁
BGP origin屬性_第3頁
全文預覽已結(jié)束

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)

文檔簡介

1、一 試驗說明:在本實驗中要分別建立IBGP鄰居和EBGP鄰居。然后研究一下BGP路由的origin屬性。這個屬性有3個值,分別為:1 IGP:當使用 bgp network 命令或?qū)GP路由重分布進BGP中。在BGP路由表中起源于IGP的路由用“i”表示2 EGP:通過BGP學習到的路由。在BGP路由表中起源于EGP的路由用“e”表示3 incomplete:當路由重分布進BGP時,即無法確定路由的始發(fā)者時,在BGP路由表中用“?”表示  配置IGP協(xié)議 要在AS 100中配置IGP協(xié)議,首先建立IGP的連通性,本實驗選用EIGRP作為IGP協(xié)議,現(xiàn)在進行配置。RTART

2、A(config)#router  eigrp 90RTA(config-router)#no auto-summary RTA(config-router)#RTA(config-router)#passive-interface s1/0.23RTCRTC(config)#router eigrp 90RTC(config-router)#no auto-summary RTC(config-router)#RTC(config-router)#RTBRTB(config)#router eigrp 90RTB(config-router)#no auto-summary RTB

3、(config-router)#RTB(config-router)# RTA#sh ip route      170.10.0.0/24 is subnetted, 1 subnetsC       170.10.20.0 is directly connected, Serial1/0.23     190.10.0.0/24 is subnetted, 1 subnetsD       1

4、90.10.50.0 90/2809856 via 150.10.30.2, 00:21:34, Serial1/0.21D    175.10.0.0/16 90/2681856 via 150.10.30.2, 00:23:10, Serial1/0.21C    150.10.0.0/16 is directly connected, Serial1/0.21EIGRP路由已經(jīng)可以正常學習到。 配置BGP RTA router bgp 100 no synchronization neighbor

5、170.10.20.2 remote-as 300 neighbor 175.10.40.2 remote-as 100 no auto-summaryRTBrouter bgp 100 no synchronization neighbor 150.10.30.1 remote-as 100 no auto-summaryRTErouter bgp 300 no synchronization neighbor 170.10.20.1 remote-as 100 no auto-summary 配置靜態(tài)路由

6、60;在RTA上配置一條靜態(tài)路由,然后重分布到BGP中RTA(config)#ip route 190.10.0.0 255.255.0.0 null 0RTA(config)#router bgp 100RTA(config-router)#redistribute static 試驗測試:分別查看RTA和 RTE的BGP路由表RTA#sh ip bgpStatus codes: s suppressed, d damped, h history, * valid, > best, i - internal,      

7、60;       r RIB-failure, S StaleOrigin codes: i - IGP, e - EGP, ? - incomplete    Network          Next Hop            Metric LocPrf Weight Path*> 150.1

8、0.0.0       .0                  0         32768 i*> 170.10.0.0/24    170.10.20.2        

9、;      0             0 300 i*> 190.10.0.0       .0                  0    

10、0;    32768 ?*>i190.10.50.0/24   175.10.40.2              0    100      0 iRTE#sh ip bgpStatus codes: s suppressed, d damped, h history, * valid, > best, i - intern

11、al,              r RIB-failure, S StaleOrigin codes: i - IGP, e - EGP, ? - incomplete    Network          Next Hop          &

12、#160; Metric LocPrf Weight Path*> 150.10.0.0       170.10.20.1              0             0 100 i*> 170.10.0.0/24    .0 

13、;                 0         32768 i*> 190.10.0.0       170.10.20.1              0&

14、#160;            0 100 ?*> 190.10.50.0/24   170.10.20.1                            0 100 i通過BGP路由表可以看到:RTA從AS300學習到了170.10.0.0    origin是IGP從本AS中學習到

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
  • 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論