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

Routing issue: aggregate auto-summary of an advertised received route

wim.juste
Level 1
Level 1

Dear,

If 2 routers are eBGP neighbours, and:

- Router A advertises a class B subnet: 10.26.0.0/16

and

- Router B has an aggregate statement for this subnet: aggregate-address 10.26.0.0 255.255.0.0 summary-only

> Is router B injecting a NULL0 route (pref. 200) due to this 10.26.0.0/16 being received from router A ?

> Or will router B only inject the NULL0 route just in case a more specific route is learned from router A ?

This quesiton to known better the working of BGP in this configuration. Because last time we connected a new router C to router B,

which was advertising more specific (router C) routes within subnet 10.26.0.0/16.

And router B's routing table included this 10.26.0.0/16 to NULL0 interface.

As a concequense the more specific networks in range 10.26.0.0/16 to which router A is connected, where NOT KNOWN anymore (or reachable) from router B point of view.

Thank you!

Kind regards,

Wim

1 Accepted Solution

Accepted Solutions

Hi,

if a BGP router receives only the same class B for which it has an aggregate/summary defined, it will not create NULL0 route for this aggregate/summary.

An interesting case is when it receives both that prefix plus some more specific.

In that case it creates the NULL0 route which beats the same aggregate prefix recieved!

Best regards,

Milan

View solution in original post

4 Replies 4

Lei Tian
Cisco Employee
Cisco Employee

Hi Wim,

Routing protocol by default injects null0 route when a router advertise summary/aggregate route. This null0 route is used to prevent routing loop caused by summary route in certain scenario.

HTH,

Lei Tian

Hi Lei,

Thanks for your quick reply!

The key question in this story is:

Whether router B will inject this NULL0 route when it receives the same class B for which it has an aggregate/summary defined.

Or, does it need a more specific in order to inject a NULL0 route for this aggregate/summary?

You known what I mean?

Thanks!

Wim

Hi Wim,

Router B needs more specifics to advertise aggregate and injects the null0. Router shouldn't aggregate and inject null0 route if it only receives route with same prefix length as aggregate route, as this could cause routing loop.

HTH,

Lei Tian

Hi,

if a BGP router receives only the same class B for which it has an aggregate/summary defined, it will not create NULL0 route for this aggregate/summary.

An interesting case is when it receives both that prefix plus some more specific.

In that case it creates the NULL0 route which beats the same aggregate prefix recieved!

Best regards,

Milan

Review Cisco Networking products for a $25 gift card