Hello, the following event script triggers if the route 0.0.0.0 is removed from the routing table.
Is there any way to modify this to trigger the script only if the 0.0.0.0 route is still missing after a period of time i.e. 1 minute ?
The reason is I don't want the event to trigger if their is only a small routing flap that resovles itself within a few seconds.
event manager applet ResetMPIP authorization bypass
event routing network 0.0.0.0/0 type remove protocol BGP ratelimit 5
action 100 syslog msg "***** Cellular modem has been power-cycled ******"
action 200 cli command "enable"
action 210 cli command "configure terminal"
action 220 cli command "service internal"
action 230 cli command "exit"
action 300 cli command "test cellular 0/0/0 modem-power-cycle"