This should work:
ip sla 1
icmp-echo 10.10.10.1
frequency 15
!
ip sla schedule 1 life forever start now
!
ip sla enable reaction-alerts
!
ip sla reaction-configuration 1 react timeout action-type trapOnly threshold-type consecutive 4
!
event manager applet reset-ap
event ipsla operation-id 1 reaction-type timeout
action 1.0 cli command "enable"
action 2.0 cli command "config t"
action 3.0 cli command "int fa0/1"
action 4.0 cli command "shut"
action 5.0 cli command "no shut"
action 6.0 cli command "end"