Chapter5BGPConguration
àOptionaltransitiveattributes
àOptionalnontransitiveattributes
TheattributeWell-knownisidentiedbyallBGProuters.EachUPDATEmessage
hastocontaintheattributemandatory,buttheattributediscretionaryisoptional.
Foranoptionalattribute,itisnotsupportedbyallBGProuters.WhenBGPdoesnot
supportanattribute,ifitistransitive,itwillbeacceptedandsenttootherBGPpeers.
Ifthisattributeisnontransitive,itwilllbeignoredandnotsenttootherpeers.
RFC1771denesNo.1-7BGProuteattribute,asfollows:
àNo.1:ORIGIN
Routeorigin,thatistheASthatgeneratethisroutinginformation.
àNo.2:AS_PATH
ASpath,thatistheASgrouporserieswhichhasbeenpassedbyrouteentry.
àNo.3:NEXT-HOP
Thenexthopaddress.IBGPconnectionwillnotchangeNEXT-HOPsentby
EBGP .
àNo.4:MULTI_EXIT_DISC
ItisusedtodistinguishmanyexitstootherASs,whichisusedbylocalASrouter.
àNo.5:LOCAL-PREF
ItistransmittedwithinthelocalAS,indicatingthepriorityofeachpath.
àNo.6:ATOMIC_AGGREGATOR
àNo.7:AGGREGATOR
àNo.8:RFC1997denesanothercommonattribute:COMMUNITY
Here,No.1,2and3attributearewell-knownmandatoryattributes.No.5and6are
well-konwndiscretionaryattributes.No.7and8areoptionaltransitiveattributes.No.4
isoptionalnontransitiveattribute.Theyhavedifferentpriorities,LOCAL-PREFhasthe
highestpriority,andthesecondoneisAS-PATHandORIGIN.
ForotherattributesusedbyBGP ,pleaserefertoFRCdocumentation.
lFilteringRoutesbyRouteMap
ThebasesofperformingBGPareroutelterandattributeconguration.Bymeans
ofroutelter,theinputoroutputrouteattributescanbecontrolled.
Routemapisusedtocontrolroutinginformation,whichredistributesroutesbetween
routingareasbydeningrules.Theroutemapusuallycooperateswiththeroute
attributestodecideroute.
Tolterroutesbyroutemap,performthefollowingsteps.
5-25
SJ-20150114102049-003|2015-01-15(R1.0)ZTEProprietaryandCondential