We currently use the below EEM Applet that tracks a BGP route and if that route fails, it begins a 45 min countdown, once that countdown expires, the router reloads. If the BGP route restores it will remove the countdown applet.
I'm trying to modify ...