資源描述:
《BGP LOCAL PRIORITY屬性實(shí)驗(yàn)》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在教育資源-天天文庫。
1、BGPLOCALPRIORITY屬性實(shí)驗(yàn)LOCALPRIORITY默認(rèn)值為100。以下承接BGPMED屬性實(shí)驗(yàn)。因?yàn)镸ED屬性值的影響,R4到達(dá)1.1.1.1的下一跳是24.1.1.2,從R1到達(dá)4.4.4.4的下一跳是13.1.1.2,因此從1.1.1.1到達(dá)4.4.4.4的往返路徑是不同的,也就是說是不對(duì)稱路徑。R1#pingProtocol[ip]:TargetIPaddress:4.4.4.4Repeatcount[5]:Datagramsize[100]:Timeoutinseconds[2]:Extendedcom
2、mands[n]:ySourceaddressorinterface:1.1.1.1Typeofservice[0]:SetDFbitinIPheader?[no]:Validatereplydata?[no]:Datapattern[0xABCD]:Loose,Strict,Record,Timestamp,Verbose[none]:rNumberofhops[9]:Loose,Strict,Record,Timestamp,Verbose[RV]:Sweeprangeofsizes[n]:Typeescapesequen
3、cetoabort.Sending5,100-byteICMPEchosto4.4.4.4,timeoutis2seconds:Packetsentwithasourceaddressof1.1.1.1PackethasIPoptions:Totaloptionbytes=39,paddedlength=40Recordroute:<*>(0.0.0.0)(0.0.0.0)(0.0.0.0)(0.0.0.0)(0.0.0.0)(0.0.0.0)(0.0.0.0)(0.0.0.0)(0.0.0.0)Replytorequest0
4、(136ms).ReceivedpackethasoptionsTotaloptionbytes=40,paddedlength=40Recordroute:(13.1.1.1)(34.1.1.3)(4.4.4.4)(24.1.1.4)(12.1.1.2)(1.1.1.1)<*>(0.0.0.0)(0.0.0.0)(0.0.0.0)EndoflistReplytorequest1(64ms).ReceivedpackethasoptionsTotaloptionbytes=40,paddedlength=40Recordrou
5、te:(13.1.1.1)(34.1.1.3)(4.4.4.4)(24.1.1.4)(12.1.1.2)(1.1.1.1)<*>(0.0.0.0)(0.0.0.0)(0.0.0.0)EndoflistReplytorequest2(52ms).ReceivedpackethasoptionsTotaloptionbytes=40,paddedlength=40Recordroute:(13.1.1.1)(34.1.1.3)(4.4.4.4)(24.1.1.4)(12.1.1.2)(1.1.1.1)<*>(0.0.0.0)(0.
6、0.0.0)(0.0.0.0)EndoflistReplytorequest3(40ms).ReceivedpackethasoptionsTotaloptionbytes=40,paddedlength=40Recordroute:(13.1.1.1)(34.1.1.3)(4.4.4.4)(24.1.1.4)(12.1.1.2)(1.1.1.1)<*>(0.0.0.0)(0.0.0.0)(0.0.0.0)EndoflistReplytorequest4(92ms).ReceivedpackethasoptionsTotalo
7、ptionbytes=40,paddedlength=40Recordroute:(13.1.1.1)(34.1.1.3)(4.4.4.4)(24.1.1.4)(12.1.1.2)(1.1.1.1)<*>(0.0.0.0)(0.0.0.0)(0.0.0.0)EndoflistSuccessrateis100percent(5/5),round-tripmin/avg/max=40/76/136msR1#可以使用LOCALPRIORITY屬性來改變R4到達(dá)1.1.1.1的下一跳為34.1.1.3,這樣往返路徑是相同的。R3(co
8、nfig)#routerbgp200R3(config-router)#bgpdefaultlocal-preference200R3(config-router)#R4#showipbgpBGPtableversionis9,localrouterIDis4.4.4.4St