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

Dynamic routing by monitoring specific IP

Hi,

Please see diagram attached. Provided router C is the only router can be configured, is there any way for Router C to monitor the reachability of Router A, and then dynamically stopping redistributing the static route into OSPF, or changing the redistribution metric.

Thanks,

Andrew

2 REPLIES
New Member

Re: Dynamic routing by monitoring specific IP

Hello Andrew,

What we can do is that we can track the reachability of router A IP address and configure in a way so tht static route will be there only till we have reachability to router A other wise static route will go down and hence will not be redistributed. For this to work router A Ip should be pingable from router C. Below is the config :

Make sure you remove the route ip route 10.0.0.0 255.255.255.0 10.2.2.1 before u add the below config

___________________________________

track 100 rtr 100 reachability

!

ip route 10.0.0.0 255.255.255.0 10.2.2.1 track 100

!

ip sla monitor responder

ip sla monitor 100

icmp-echo 10.1.1.1 source-ip 10.2.2.2

frequency 5

ip sla schedule 100 life forever start-time now

!

______________________________________

New Member

Re: Dynamic routing by monitoring specific IP

Will try this out, thanks.

Andrew

151
Views
0
Helpful
2
Replies
CreatePlease to create content