BGP replace AS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2014 11:02 AM - edited 03-04-2019 11:29 PM
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.
- Labels:
-
Routing Protocols
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2014 12:30 AM
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.
