bgp aggregate-address

Unanswered Question
Aug 14th, 2007

If I am using the bgp 'aggregate-address' command do I need a network statement?

From testing, it does not appear to be necessary but is this good/bad practice?

Below is my proposed configuration, any suggestions you can share would be appreciated.


router bgp 65000

no synchronization

bgp log-neighbor-changes

aggregate-address summary-only

redistribute ospf 1

neighbor remote-as 65111

maximum-paths 5

no auto-summary


I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (2 ratings)
Jon Marshall Wed, 01/21/2015 - 18:18


You do not need a network statement to advertise out an aggregate address. As long as one of the networks that makes up the aggregate address is in the BGP table then the aggregate address will be advertised out.



Pavel Bykov Tue, 08/14/2007 - 08:59

Just like Jon confirmed, you do not need a network statement, but you do need a subnet from that range in the routing table.

But then you don't need "summary-only" keyword either.

For example if you would have the following config:


network mask

network mask

Then router would advertise:

And if you would use summary-only in this case, like this:

aggregate-address summary-only

network mask

network mask

Than the router would only advertise The routes and would be SUPPRESSED, and not advertised to neighbors.


This Discussion