- Super Silver, 17500 points or more
Hall of Fame,
Cisco Designated VIP,
2017 LAN, WAN
I have a customer who is converting from a 6509 to Nexus 7K as their core switch. On the 6509 they have a floating static route and use the track function to detect loss of connectivity over the primary static default route and to fail over to the floating static route. Unfortunately Nexus 7K seems that track does not provide the functionality of controlling a static route or really of detecting loss of connectivity over the route. So I am wondering if it is possible to write something in EEM that would provide this function. What I think that I need to do is to ping some host over the primary route on a periodic basis. If I get x consecutive failures the script should change the config to remove the primary default route and allow the floating static to take over. When ping is successful y number of times the script should insert the primary static default route.
Has anyone done something like this? Any pointers on how to do this?
Thanks for your help.