BGP Configuration Commands
6-84 Configuring the Border Gateway Protocol
•Networks
•Neighborparameters
• Routingpolicies
Syntax
router bgp autonomous-system
Syntax of the “no” Form
Thenoformofthiscommandsetsthedefaultparameter‐disabled:
no router bgp autonomous-system
Mode
Globalconfiguration:XSR(config)#
Examples
ThefollowingexampleactivatestheBGProutingprocessonarouterbelongingtoAS100.Note
thattheXSRacquiresRouterconfigurationmodeafterexecutingthecommand:
XSR(config)#router bgp 100
XSR(config-router)#
ThefollowingexampledisplaysanerrormessagewhenyoutrytoactivateanotherBGPprocess
whenoneisalreadyrunning.InthisexampletheBGPprocesswasalreadyactivatedwithAS100
whenanattemptwasmadetoactivateitagainwiththeAS11.
XSR(config)#router bgp 11
% BGP Already running in AS 100

aggregate-address

ThiscommandcreatesanaggregateentryinaBGProutingtablewhichisusefulforreducingthe
numberofadvertisedroutesbetweenBGProuters.Anaggregateentryinthetableisasingle
summarizedroutethatrepresentsmultiple,morespecificroutes.
Atleastoneofthemorespecificroutesbeingaggregatedmustexistinthetableforthiscommand
totakeeffect.
Syntax
aggregate-address address mask [as-set][summary-only] [advertise-map map-
name][attribute-map map-name]
autonomous-system TheXSR’sAutonomousSystem(AS)number,rangingfrom1to65,535.
TheASnumberisincludedinroutingupdatestradedbyBGProuters.
address TheaggregateIPaddress.
mask TheaggregateIPmask.