日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

EIGRP特性 Stub Routing

發布時間:2025/4/16 48 豆豆
生活随笔 收集整理的這篇文章主要介紹了 EIGRP特性 Stub Routing 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

EIGRP stub routing這一特性首次出現在Cisco IOS Release 12.0(7)T中,后來在Release 12.0(15)S中被集成進去.這一特性增加了網絡的穩定性,減少資源的占用并且簡化了stub router的配置

stub routing一般用在星型(hub and spoke)拓撲結構的網絡中.在這樣的一個環境中,一個或多個末梢網絡(end or stub network)連接到遠程的spoke router上,spoke router再連接到distribution router(hub,中心)上.這樣的配置通常用于WAN拓撲中:distribution router直接連到WAN上.distribution router可以連接多達100個remote router(spoke).spoke router(remote router)轉發非本地(nonlocal)的流量到distribution router上,所以spoke router沒有必要保持完整的路由表,而且一般的,distribution router只需發送一條default route給remote router

當使用EIGRP stub routing這一特性的時候,首先在distribution router和remote router上啟用EIGRP,然后把remote router配置為stub router.配置完成以后,只有特性的路由信息從stub router上傳播出去.stub router對匯總路由 (summary route),直連路由,再發布靜態路由(redistributed static route),外部和內部路由的查詢(query)作出inaccessible的應答.并且stub router發送特定的對等層(peer)信息包給它的鄰居用于報告它的狀態為stub router.當鄰居接收到該信息包以后,它將不會向這個stub router作出任何的路由查詢.stub router對等體之間也不會相互查詢.stub router依靠distribution router來發送適當的更新包
?

上圖就是一個簡單的hub and spoke網絡,在這個圖中,remote router只能通過distribution router訪問到corporate network,并且remote router沒有必要保持完整整個網絡的路由表,也它只需要知道如何到達distribution router就可以了.這樣一來減少了remote router內存和網絡帶寬資源的占用.remote router不需要接收從其他網絡學來的路由,因為它只發送nonlocal流量到distribution router上去,distribution router只需引入一條default route到remote router上去

EIGRP stub routing這一特性不會在distribution router上做自動的路由匯總,多數情況下,管理員可以根據需要在distribution router上做人工的路由匯總

要注意的是,在低版本的IOS上,在distribution router上配置到remote router的default router的時候,記得在remote router上使用ip classless命令.默認情況下,只要支持EIGRP stub routing的IOS版本就無須手動輸入ip classless命令了

假如你不把remote router設置為stub router,而在distribution router上啟用匯總,過濾等功能,仍然會出現一些問題,比如SIA(stuck in active)狀態

[color=green]Pt.2 Dual-Homed Remote[/color]
雙宿遠程(dual-homed remote)拓撲結構擁有2個或多個distribution router(hub router),但是stub routing的法則和簡單的hub and spoke結構是一樣的,可以提供冗余.如下圖:
?
但是這樣的一個結構有可能給EIGRP網絡帶來不穩定性,如下圖:
?
distribution router 1和網段10.3.1.0/24直連,如果distribution router 1上做了匯總或過濾,它會把10.3.1.0/24宣告給它直連的EIGRP鄰居distribution router 2和remote router.假如網絡10.2.1.0/24出問題了,distribution router 1和distribution router 2之間的連接斷開,那么distribution router 2到達網絡10.3.1.0/24的最小開銷的路徑將是經由remote router,再到distribution router 1,如下圖:
?

如圖,選擇低帶寬的串行鏈路到達目標網絡,而不能選用高帶寬的10.2.1.0/24網絡到達目標網絡,這樣對串行鏈路帶寬超額的利用將帶來一系列問題比 如影響整個網絡的穩定性和SIA狀態的發生等等.除非distribution router 2和remote router之間的帶寬足夠大,大到能夠處理這些突發事件帶來的流量,但是在實際中,往往帶寬不會那么大.解決辦法是,可以在distribution router和remote router上配置適當的路由匯總.并把remote router配置為stub

[color=blue]Pt.3 Benefits, Restrictions & Supported Platforms[/color]
EIGRP stub routing的優點,增加網絡的穩定性,有效減少因為帶寬低產生的鏈路擁塞所帶來的影響.還有就是簡化了hub and spoke結構的網絡的配置和維持.當在dual-homed remote環境中啟用了stub routing后,就不需要在remote router上來做路由過濾防止這些低帶寬的鏈路成為傳輸鏈路,增加鏈路負荷

該特性的一些限制,比如只能使用在stub router上(stub router的鄰居只有distribution router).還有就是只支持多路訪問(multi-access)接口,比如ATM,Ethernet,Frame Relay,ISDN PRI和X.25等

支持的一些平臺有Cisco 7200系列,7500系列和12000系列等

[color=darkblue]Pt.4 Configuration Tasks[/color]把EIGRP stub routing的配置分成2個步驟:
1.配置EIGRP stub routing(必須)
2.驗證EIGRP stub routing(可選)

配置EIGRP stub routing的命令如下:
step 1:
router(config)#router eigrp [as-number]
啟用EIGRP
step 2:
router(config-router)#network [network-number]
定義要宣告的網絡
step 3:
router(config-router)# eigrp stub [receive-only | connected | static | summary]
把remote router配置為stub router
默認情況下,當remote router被配置成stub router以后,它和鄰居享有直連(connected)和匯總(summary)路由信息.其中connected,static和summary參 數可以結合起來一起使用;而一旦使用了receive-only參數,其他3種參數不能組合使用
receive-only參數限制了stub router和在同一AS內的router發送各種路由信息
connected參數允許stub router和鄰居之間發送直連的路由信息
static參數允許stub router和鄰居之間發送靜態路由信息
summary參數允許stub router和鄰居之間發送匯總路由

配置完了,驗證是否生效和正常,可以在distribution router上使用show ip eigrp neighbor [detail]命令,輸出的最后一行將顯示remote router的狀態,如下圖:


使用debug命令對EIGRP stub packet進行跟蹤調試,命令如下:
Router#debug eigrp packet stub

轉載于:https://blog.51cto.com/1841cisco/1132768

總結

以上是生活随笔為你收集整理的EIGRP特性 Stub Routing的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。