02-16-2006 07:41 AM - edited 03-03-2019 11:46 AM
Is it possible to utilize RTR/SAA to track an IP and then inject routes into BGP based upon that IP being available?
Here is what I'm attempting to do:
I want to advertize routes via EBGP depending on if a server is up. The server is across the WAN.
ie. If server 10.10.10.5 can be pinged across the WAN, I want to advertise 10.10.10.0/24 and several other routes via EBGP.
I think this can be done via RTR tracking and route maps. Is it possible and can somebody direct me to Cisco documents on how to do it or provide examples?
Thank you for your help!
02-16-2006 03:46 PM
Hi,
Here's something that could work:
router bgp 64512
network 10.10.10.0 mask 255.255.255.0
!
ip sla monitor 1
type echo protocol ipIcmpEcho 10.10.10.5
timeout 1000
frequency 3
threshold 2
!
ip sla monitor schedule 1 life forever start-time now
!
track 100 rtr 1 reachability
!
ip route 10.10.10.0 255.255.255.0 null0 track 100
With the above config, the static route will only be installed in the routing table if the tracked route is reachable. You will have to make sure that there are no other routes for the same network in the routing table or this will not work.
Hope that helps - pls rate the post if it does.
Paresh
02-16-2006 04:06 PM
Thanks, I will try it tomorrow in the lab.
02-20-2006 08:24 AM
Still attempting to work with this in the lab. Doesn't do quite what I'm looking for but it is providing some ideas.
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