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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

BGP replace AS

Hi all.

I have problems with BGP

Say there 2 routers

r1---------r2

In r1 I have route 192.168.0.0/24 with AS path (24721 65000 500)

r2 have the same route with AS path (24720 24721 65000 500)

 

I want that r1 advertise 192.168.0.0/24 to r2 with its own AS only 24720

In r2 AS path to 192.168.0.0/24 should be (24720)

 

So how I can replace AS path (24721 65000 500) to (24720)

Also I need change configuration only on r1 if ot possible.

 

Thank you.

Everyone's tags (1)
1 REPLY
Silver

Hi,replace-as feature will

Hi,

replace-as feature will not work in this case, as it works manipulating the local AS but does not modify or delete other ASN´s in the AS_PATH. You can delete private ASN´s in the AS_PATH, but not public ones. What you could do is to use BGP Conditional Route Injection to inject the same prefix that you are receiving, however as you are generating it dynamically it will be advertised with just the AS of R1.

Hope it helps,

Jose.

140
Views
0
Helpful
1
Replies
CreatePlease login to create content