08-04-2008 03:35 AM - edited 03-03-2019 11:00 PM
I`m trying to modify nex-hop address when redistributing from BGP to ISIS.
My problem is that I have å router doing redistribution from BGP to ISIS but I don`t want traffic going to that router.
Has anyone done this?
08-04-2008 03:44 AM
Hi,
I havent tried this, but you should be able to this by using a route-map in the redistribution statement.
Simply put an entry in the route-map to change the next hop,
ie.
route-map bgp2isis permit 10
set ip next-hop x.x.x.x
Give it a shot and see if it works...
HTH
LR
08-04-2008 04:08 AM
Hi,
I tried that with the following configuration:
Router ISIS
redistribute bgp 65010 metric 15000 route-map BGP-2-ISIS
ip access-list standard BGP-2-ISIS-ACL
permit 192.168.127.0 0.0.0.255 log
deny any log
route-map BGP-2-ISIS permit 10
match ip address BGP-2-ISIS-ACL
set ip next-hop 192.168.91.1
08-04-2008 06:41 AM
The set ip next-hop is a policy route command you want just set next-hop
Not real sure this is going to work. Normally when you redistribute a into a routing protocol you are saying I know how to get to this network so come to me. I use ISIS so little I forget if it keeps a next-hop field in his database.
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