Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

BGP routes NOT advertising

Hi All,

I have created a simple topology in GNS3.  ( Please refer attached config and topology )

EBGP between R1 and R2 ,  R1 and R3.

Routes are NOT advertised to R3 and R2 from R1 ,which are learnt from R2 and 3.

R1 AS number is 65000

R2 and R3 AS number is 65457

R1 NOT advertising routes to R2 which comes from R3 ( may be AS number is the same)

Please advise , should I configure some special command to achieve this.

Thanks

Sri

1 ACCEPTED SOLUTION

Accepted Solutions
Purple

BGP routes NOT advertising

Hi,

in BGP the loop prevention mechanism is the AS_PATH so when R1 sends the BGP update to R2 it contains R3 AS which is also R2 AS so when R2 sees its own AS in the AS_PATH it considers there was a loop and doesn't accept the update.

You can use the allow-as-in feature to disable the loop prevention mechanism per neighbour.

http://ccieblog.co.uk/bgp/bgp-as-override-vs-allow-as-in

Regards

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.
3 REPLIES
Purple

BGP routes NOT advertising

Hi,

in BGP the loop prevention mechanism is the AS_PATH so when R1 sends the BGP update to R2 it contains R3 AS which is also R2 AS so when R2 sees its own AS in the AS_PATH it considers there was a loop and doesn't accept the update.

You can use the allow-as-in feature to disable the loop prevention mechanism per neighbour.

http://ccieblog.co.uk/bgp/bgp-as-override-vs-allow-as-in

Regards

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.
Community Member

BGP routes NOT advertising

Thank you very much Alain, I will test it out tomorrow and get back to you.

I guessed, it blocked due to SAME AS but did NOT know how to block it.

Thanks

Sri

Community Member

BGP routes NOT advertising

Alain, it works! thanks once again :-) - Sri

188
Views
0
Helpful
3
Replies
CreatePlease to create content