01-29-2007 09:58 PM - edited 03-03-2019 03:32 PM
Here is the scenario .
R2 and R6 are in the same AS 1 . Backbone 2 in the AS254.
AS254 -------- R2 -------R6---------AS 254
Configure R2 such that only AS paths originating from AS 258 are permitted from backbone 2.
Use a filter for this task.
? Configure R2 such that only AS paths originating from AS 255 are permitted from R6. Use a route
map.
? Use separate lists for the two tasks above.
01-29-2007 10:15 PM
You can use something like this
ip as-path access-list 1 permit ^258$
ip as-path access-list 2 permit ^255$
route-map test permit 10
match as-path 2
router bgp
neighbor
neighbor
HTH, rate if it does
Narayan
01-29-2007 10:39 PM
Thanks..
I did this config. But when i put show command Show ip bgp | include 255
It is showing nexhop ip as Bacbone IP ,but it should show R6 ip as the nexthop.
any additonal conf required ??
01-29-2007 10:46 PM
issue the following command
Neighbor
By default BGP peer does not alter the next hop attribute when it send an update to another IBGP peer
HTH, rate if it does
Narayan
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