EIGRP特性 Stub Routing
EIGRP stub routing這一特性首次出現(xiàn)在Cisco IOS Release 12.0(7)T中,后來在Release 12.0(15)S中被集成進(jìn)去.這一特性增加了網(wǎng)絡(luò)的穩(wěn)定性,減少資源的占用并且簡(jiǎn)化了stub router的配置
stub routing一般用在星型(hub and spoke)拓?fù)浣Y(jié)構(gòu)的網(wǎng)絡(luò)中.在這樣的一個(gè)環(huán)境中,一個(gè)或多個(gè)末梢網(wǎng)絡(luò)(end or stub network)連接到遠(yuǎn)程的spoke router上,spoke router再連接到distribution router(hub,中心)上.這樣的配置通常用于WAN拓?fù)渲?distribution router直接連到WAN上.distribution router可以連接多達(dá)100個(gè)remote router(spoke).spoke router(remote router)轉(zhuǎn)發(fā)非本地(nonlocal)的流量到distribution router上,所以spoke router沒有必要保持完整的路由表,而且一般的,distribution router只需發(fā)送一條default route給remote router
當(dāng)使用EIGRP stub routing這一特性的時(shí)候,首先在distribution router和remote router上啟用EIGRP,然后把remote router配置為stub router.配置完成以后,只有特性的路由信息從stub router上傳播出去.stub router對(duì)匯總路由 (summary route),直連路由,再發(fā)布靜態(tài)路由(redistributed static route),外部和內(nèi)部路由的查詢(query)作出inaccessible的應(yīng)答.并且stub router發(fā)送特定的對(duì)等層(peer)信息包給它的鄰居用于報(bào)告它的狀態(tài)為stub router.當(dāng)鄰居接收到該信息包以后,它將不會(huì)向這個(gè)stub router作出任何的路由查詢.stub router對(duì)等體之間也不會(huì)相互查詢.stub router依靠distribution router來發(fā)送適當(dāng)?shù)母掳?
?
上圖就是一個(gè)簡(jiǎn)單的hub and spoke網(wǎng)絡(luò),在這個(gè)圖中,remote router只能通過distribution router訪問到corporate network,并且remote router沒有必要保持完整整個(gè)網(wǎng)絡(luò)的路由表,也它只需要知道如何到達(dá)distribution router就可以了.這樣一來減少了remote router內(nèi)存和網(wǎng)絡(luò)帶寬資源的占用.remote router不需要接收從其他網(wǎng)絡(luò)學(xué)來的路由,因?yàn)樗话l(fā)送nonlocal流量到distribution router上去,distribution router只需引入一條default route到remote router上去
EIGRP stub routing這一特性不會(huì)在distribution router上做自動(dòng)的路由匯總,多數(shù)情況下,管理員可以根據(jù)需要在distribution router上做人工的路由匯總
要注意的是,在低版本的IOS上,在distribution router上配置到remote router的default router的時(shí)候,記得在remote router上使用ip classless命令.默認(rèn)情況下,只要支持EIGRP stub routing的IOS版本就無須手動(dòng)輸入ip classless命令了
假如你不把remote router設(shè)置為stub router,而在distribution router上啟用匯總,過濾等功能,仍然會(huì)出現(xiàn)一些問題,比如SIA(stuck in active)狀態(tài)
[color=green]Pt.2 Dual-Homed Remote[/color]
雙宿遠(yuǎn)程(dual-homed remote)拓?fù)浣Y(jié)構(gòu)擁有2個(gè)或多個(gè)distribution router(hub router),但是stub routing的法則和簡(jiǎn)單的hub and spoke結(jié)構(gòu)是一樣的,可以提供冗余.如下圖:
?
但是這樣的一個(gè)結(jié)構(gòu)有可能給EIGRP網(wǎng)絡(luò)帶來不穩(wěn)定性,如下圖:
?
distribution router 1和網(wǎng)段10.3.1.0/24直連,如果distribution router 1上做了匯總或過濾,它會(huì)把10.3.1.0/24宣告給它直連的EIGRP鄰居distribution router 2和remote router.假如網(wǎng)絡(luò)10.2.1.0/24出問題了,distribution router 1和distribution router 2之間的連接斷開,那么distribution router 2到達(dá)網(wǎng)絡(luò)10.3.1.0/24的最小開銷的路徑將是經(jīng)由remote router,再到distribution router 1,如下圖:
?
如圖,選擇低帶寬的串行鏈路到達(dá)目標(biāo)網(wǎng)絡(luò),而不能選用高帶寬的10.2.1.0/24網(wǎng)絡(luò)到達(dá)目標(biāo)網(wǎng)絡(luò),這樣對(duì)串行鏈路帶寬超額的利用將帶來一系列問題比 如影響整個(gè)網(wǎng)絡(luò)的穩(wěn)定性和SIA狀態(tài)的發(fā)生等等.除非distribution router 2和remote router之間的帶寬足夠大,大到能夠處理這些突發(fā)事件帶來的流量,但是在實(shí)際中,往往帶寬不會(huì)那么大.解決辦法是,可以在distribution router和remote router上配置適當(dāng)?shù)穆酚蓞R總.并把remote router配置為stub
[color=blue]Pt.3 Benefits, Restrictions & Supported Platforms[/color]
EIGRP stub routing的優(yōu)點(diǎn),增加網(wǎng)絡(luò)的穩(wěn)定性,有效減少因?yàn)閹挼彤a(chǎn)生的鏈路擁塞所帶來的影響.還有就是簡(jiǎn)化了hub and spoke結(jié)構(gòu)的網(wǎng)絡(luò)的配置和維持.當(dāng)在dual-homed remote環(huán)境中啟用了stub routing后,就不需要在remote router上來做路由過濾防止這些低帶寬的鏈路成為傳輸鏈路,增加鏈路負(fù)荷
該特性的一些限制,比如只能使用在stub router上(stub router的鄰居只有distribution router).還有就是只支持多路訪問(multi-access)接口,比如ATM,Ethernet,Frame Relay,ISDN PRI和X.25等
支持的一些平臺(tái)有Cisco 7200系列,7500系列和12000系列等
[color=darkblue]Pt.4 Configuration Tasks[/color]把EIGRP stub routing的配置分成2個(gè)步驟:
1.配置EIGRP stub routing(必須)
2.驗(yàn)證EIGRP stub routing(可選)
配置EIGRP stub routing的命令如下:
step 1:
router(config)#router eigrp [as-number]
啟用EIGRP
step 2:
router(config-router)#network [network-number]
定義要宣告的網(wǎng)絡(luò)
step 3:
router(config-router)# eigrp stub [receive-only | connected | static | summary]
把remote router配置為stub router
默認(rèn)情況下,當(dāng)remote router被配置成stub router以后,它和鄰居享有直連(connected)和匯總(summary)路由信息.其中connected,static和summary參 數(shù)可以結(jié)合起來一起使用;而一旦使用了receive-only參數(shù),其他3種參數(shù)不能組合使用
receive-only參數(shù)限制了stub router和在同一AS內(nèi)的router發(fā)送各種路由信息
connected參數(shù)允許stub router和鄰居之間發(fā)送直連的路由信息
static參數(shù)允許stub router和鄰居之間發(fā)送靜態(tài)路由信息
summary參數(shù)允許stub router和鄰居之間發(fā)送匯總路由
配置完了,驗(yàn)證是否生效和正常,可以在distribution router上使用show ip eigrp neighbor [detail]命令,輸出的最后一行將顯示remote router的狀態(tài),如下圖:
使用debug命令對(duì)EIGRP stub packet進(jìn)行跟蹤調(diào)試,命令如下:
Router#debug eigrp packet stub
轉(zhuǎn)載于:https://blog.51cto.com/1841cisco/1132768
總結(jié)
以上是生活随笔為你收集整理的EIGRP特性 Stub Routing的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 更改计算机名引起的奇怪问题:“重新启动计
- 下一篇: dns 小问题