cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
430
Views
0
Helpful
3
Replies

Assistance with RTR/SAA and injection routes

dagates
Level 1
Level 1

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!

3 Replies 3

pkhatri
Level 11
Level 11

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

Thanks, I will try it tomorrow in the lab.

Still attempting to work with this in the lab. Doesn't do quite what I'm looking for but it is providing some ideas.

Review Cisco Networking for a $25 gift card