I am redistributing BGP routes into OSPF. I have a route-map tied to the redistribution. I would like to only redistribute particular routes from BGP into OSPF based on IP reachability. I have configured tracking using "track 1 rtr etc" (IP SLA would be the alternative) and the "rtr 1 etc" command.
I am attempting to use the "set ip next-hop verify-availability 184.108.40.206 10 track 1" route-map command however this doesn't seem like the appropriate route-map command. A "match ip next-hop verify-availability" style command would make more sense but does not exist.
I only want the routes specified in the prefix-list to be redistributed if "220.127.116.11" is available and otherwise NOT redistribute the routes.
I have been able to find no examples which utilise "set ip next-hop verify-availability" with redistribution. Most examples use it with static routes or route-maps tied directly to interfaces etc.
route-map OSPF-REDIST-ADVERTISMENT permit 10
match ip address prefix-list EBGP-SITE-ROUTES
set ip next-hop verify-availability 18.104.22.168 10 track 1