Evil_TTL> show | s

EEM Scheduled Rollback

Category:Tools -> EEM

Scheduled rollback:

Put this in before you attempt to change anything risky remotelye.ga route

conf t
Configure EEM to recover back to auto after 10 mins and remove this EEM script

event manager applet recoverRouteAfter10Mins
event timer watchdog name timer time 600
action 1.0 cli command 
"enable"
action 2.0 cli command "conf t"
action 3.0 cli command "no ip route 0.0.0.0 0.0.0.0 192.168.1.1"
action 4.0 cli command "ip route 0.0.0.0 0.0.0.0 10.0.0.1"
action 5.0 cli command "no event manager applet recoverRouteAfter10Mins"
end

Thenattempt to change the route from 0.0.0.0 0.0.0.0 10.0.0.1 to 0.0.0.0 0.0.0.0 192.168.1.1

ip route 0.0.0.0 0.0.0.0 192.168.1.1
no ip route 0.0.0.0 0.0.0.0 10.0.0.1

! If all is okthen remove the EEM script within 10 minutes

conf t
no recoverRouteAfter10Mins
end 
By privilege15