BGP Configuration Commands
XSR CLI Reference Guide 6-85
Syntax of the “no” Form
Thenoformofthiscommandremovestheaggregateentryfromthetable:
no aggregate-address address mask
Mode
Routerconfiguration:XSR(config-router)#
Default
Disabled
Example
Thefollowingexampleaggregatesroutesrangingfrom192.168.0.0to192.168.255.0,eachwitha
maskof255.255.255.0,intoasingleaggregaterouteof192.168.0.0withamaskof255.255.0.0.The
optionalsummaryonlykeywordcanbeusedtodirectonlytheaggregateroutebeadvertisedto
thisroutersneighbors.Ommitingtheassetoptioncanindicatethatalloftheroutesoriginatein
thesameASandfollowthesameroutingpolicy,thisresultinginnolossofanyBGPattributedata
withintheaggregate.
XSR(config)#router bgp 100
XSR(config-router)#aggregate-address 192.168.0.0 255.255.0.0 summary-only

auto-summary

ThiscommandrestoresthedefaultbehaviorofBGPbysummarizingredistributedIGPsubnetson
classfulnetworkboundaries.AutomaticsummarizationofIGPsubnetsreducesthenumberof
routesintheBGProutingtable,improvingrouterperformanceandreducingtheamountof
bandwidthusedbyroutingtrafficbetweenBGPpeers.
Syntax
auto-summary
Syntax of the “no” Form
ThenoformofthiscommandremovesBGPsummarization:
no auto-summary
as-set Preventsdataloss,includingcontentsofBGPattributes,frommore
specificroutesintheaggregateroute.Notethatwhenthecontents
ofthoseattributesvarywithinmorespecificroutes,reducingthem
tothesamevaluewithincorrespondingattributesoftheaggregate
routecancauseroutingproblemssuchasloops.
summary-only Preventsmorespecificroutesthatcomprisetheaggregateroute
frombeingadvertised.
advertise-map map-name TheroutemapusedtoselecttheroutesthatcompriseASSETorigin
communities,rangingfrom1to199.
attribute-map map-name Theroutemapusedtosettheattributeoftheaggregateroute,
rangingfrom1to199.