cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1610
Views
0
Helpful
1
Replies

BGP replace AS

Firuz Azimov
Level 1
Level 1

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.

1 Reply 1

Jose Jara
Level 3
Level 3

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.

Review Cisco Networking products for a $25 gift card