As we all are aware we can advertise a summarized route in BGP using the “aggregate-address“command. But there may be few issues that may come using the Aggregate address command in BGP Route Aggregation.
1: If we use only the aggregate-address command without any keyword then the summarized route and all the more specific routes will be advertised.
2: If we use the summary-only keyword then only the summarized route will be advertised and the more specific routes are denied from the advertisement. The AS path information is however lost as the summarized route in it’s AS path will contain only the AS number of the router on which the summarization takes place.
In order to preserve the AS path information, we can use the as-set keyword along with summary-only keyword which will preserve the AS path information of the more specific routes.
We will see these outputs shortly in our BGP Route Aggregation example below.
As stated in point 2 if we use the summary-only keyword we will be able to advertise only the summary route and no specific routes will be advertised. But let’s suppose we want to advertise a few specific routes along with summary route then we will need to take the help of suppress-map command.
With the attribute map command, we can change the attribute of the aggregate route i.e. from origin of “?” to “i”.
Let us take the help of the below example to understand the above theory:
BGP Route Aggregation : Topology Diagram
Router R1 advertises below specific prefixes to R3.
I am here to share my knowledge and experience in the field of networking with the goal being - "The more you share, the more you learn."
I am a biotechnologist by qualification and a Network Enthusiast by interest. I developed interest in networking being in the company of a passionate Network Professional, my husband.
I am a strong believer of the fact that "learning is a constant process of discovering yourself."
- Rashmi Bhardwaj (Author/Editor)