09-27-2010 12:21 PM - edited 03-06-2019 01:12 PM
Hi all experts.
I have 3 AS connected to each other
AS-1--------------------------------AS-2-------------------------------------AS-3
I have a prefix that is being originated from AS-1 i.e. 10.1.1.0/24. When the EBGP router in AS-3 will get this prefix, its AS-Path will be
1 2
Now, is there any possible configuration that can be done in AS-2, such that, EBGP router is AS-3 gets this
2
Meaning, is there any possible configuration in BGP such that an AS-Path can be completely eliminated ? for example AS-Path 1 in this case ?
Solved! Go to Solution.
09-27-2010 12:41 PM
Jonn.cos88 wrote:
Hi all experts.
I have 3 AS connected to each other
AS-1--------------------------------AS-2-------------------------------------AS-3
I have a prefix that is being originated from AS-1 i.e. 10.1.1.0/24. When the EBGP router in AS-3 will get this prefix, its AS-Path will be
1 2
Now, is there any possible configuration that can be done in AS-2, such that, EBGP router is AS-3 gets this
2
Meaning, is there any possible configuration in BGP such that an AS-Path can be completely eliminated ? for example AS-Path 1 in this case ?
Jon
There really is no specific way to do this in BGP as there is to add an AS-PATH with AS-PATH prepending. Nor should there be really as it is the AS-PATH that ensures loop free routing with EBGP.
There is a command to remove private AS numbers in the AS-PATH eg.
router bgp
neighbor x.x.x.x remove-private-as
will remove all private AS numbers but your numbers ie. 1/2/3 are public AS numbers.
The workaround would be to advertise a summary address from the AS-2 router which would remove the AS numbers behind that router but that is not particularly useful for a 10.1.1.0/24 network.
Jon
09-27-2010 12:41 PM
Jonn.cos88 wrote:
Hi all experts.
I have 3 AS connected to each other
AS-1--------------------------------AS-2-------------------------------------AS-3
I have a prefix that is being originated from AS-1 i.e. 10.1.1.0/24. When the EBGP router in AS-3 will get this prefix, its AS-Path will be
1 2
Now, is there any possible configuration that can be done in AS-2, such that, EBGP router is AS-3 gets this
2
Meaning, is there any possible configuration in BGP such that an AS-Path can be completely eliminated ? for example AS-Path 1 in this case ?
Jon
There really is no specific way to do this in BGP as there is to add an AS-PATH with AS-PATH prepending. Nor should there be really as it is the AS-PATH that ensures loop free routing with EBGP.
There is a command to remove private AS numbers in the AS-PATH eg.
router bgp
neighbor x.x.x.x remove-private-as
will remove all private AS numbers but your numbers ie. 1/2/3 are public AS numbers.
The workaround would be to advertise a summary address from the AS-2 router which would remove the AS numbers behind that router but that is not particularly useful for a 10.1.1.0/24 network.
Jon
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide