Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Assistance with RTR/SAA and injection routes

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
Purple

Re: Assistance with RTR/SAA and injection routes

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

New Member

Re: Assistance with RTR/SAA and injection routes

Thanks, I will try it tomorrow in the lab.

New Member

Re: Assistance with RTR/SAA and injection routes

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

127
Views
0
Helpful
3
Replies
CreatePlease to create content