I don't know what I should be using for this or how I should go about it.

In my lab where I am testing out the BGP configs that I've learned I want my ISP topology to have a summary prefix for the Customer to see. I am peering with eBGP to the customer with 3 links. /30 1 - 20 are allocated to this Customer for their WAN links.

ISP has BGP built over an OSPF underlay and is peering with loopbacks

Customer is using EIGRP for IGP
On the Customer's ASBRs the only advertised address is /24
The addresses is aggregated after being redistributed into BGP

These are my configs for BGP on the ISP CE device

router bgp 65001
 bgp log-neighbor-changes
 network mask
 network mask
 network mask
 network mask
 neighbor remote-as 65002
 neighbor remote-as 65001
 neighbor update-source Loopback0

I think I can remove the #network command since I aggregated the route on another BGP device

When it comes to summarizing all my /8 prefixes to AS65002 I can't figure out how. I'm pretty new to using route-maps and prefix lists and that's what I was trying to use for this project.

Lab setup

  • Did any answer help you? if so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you could post and accept your own answer.
    – Ron Maupin
    Dec 31, 2020 at 4:33

1 Answer 1


This appears to be a Cisco router. Cisco has the aggregate-address command.

You can advertise the aggregate address and all the individual addresses:


or only the aggregate address:

aggregate-address summary-only

As long as even one prefix in the aggregate is in the routing table, the aggregate will be advertised. This will also create a route to Null0.

Cisco maintains many documents about such things. For example Understanding Route Aggregation in BGP.

  • It is Cisco, and this is what i used in the first place. However, when I had these configured on the edge devices of the ISP it broke my Route reflectors and while pinging across the ISP I received "unreachable" responses when pinging from within AS65002. This was done from a router only running eigrp. The packets reached the device that had the aggregation command on it then it dropped.
    – Isaac Bill
    Jun 19, 2019 at 17:12
  • Then you need to edit your question to provide full router configurations. BGP will not advertise any prefix not already in the routing table, except in the case of an aggregate prefix, for which it adds the route to Null0.
    – Ron Maupin
    Jun 19, 2019 at 17:16
  • 1
    @IsaacBill, can you please edit the question to include full configuration including the RR along with the live troubleshooting.
    – ditrapanij
    Jun 19, 2019 at 21:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.