cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1188
Views
0
Helpful
4
Replies

bgp default route using "aggregate-address"

Kashish_Patel
Level 2
Level 2

I read/heard somewhere that we can generate default route in BGP using "aggregate-address" command... I did not understand this. Could any expert explain this to me how default route is generated?

Thanks.

2 Accepted Solutions

Accepted Solutions

Harold Ritter
Spotlight
Spotlight

Hi Kashish,

In principle you could use the aggregate-address command to generate a default route but in practice IOS does not allow you to do that and returns the following error message:

r1(config-router)#aggregate-address 0.0.0.0 0.0.0.0 summary-only

% Aggregating to create default makes no sense,

use a network statement instead.

r1(config-router)#

Regards

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

View solution in original post

Hi Kashish,

This has been the behavior for as long as I can remember.

Regards

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

View solution in original post

4 Replies 4

Harold Ritter
Spotlight
Spotlight

Hi Kashish,

In principle you could use the aggregate-address command to generate a default route but in practice IOS does not allow you to do that and returns the following error message:

r1(config-router)#aggregate-address 0.0.0.0 0.0.0.0 summary-only

% Aggregating to create default makes no sense,

use a network statement instead.

r1(config-router)#

Regards

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

Thanks Harold.

Did this command use to work on old IOS versions and getting deprecated in favor of network command for newer ones? Just curious.

Hi Kashish,

This has been the behavior for as long as I can remember.

Regards

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

Thanks, This helps!