Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

IP SLA EEM to reload router after ping failure

Hi,

I have created the below configuration but it seems to be failing to trigger the reload. Anybody can please comment what is missing here?

track 1 ip sla 10 reachability
delay down 180 up 40  ***** this is in sec - since ping freq is 10 sec , after 18 ping failure and 3 mnts track reachability will be down - it will wait 40 sec before declaring UP *****

ip sla 10
icmp-echo 172.20.20.153
threshold 450  **** in millisec it is threshold value - no action will be taken ****
timeout 500  **** in millisec it is icmp timeout *****
frequency 10  *** icmp ping every 10 sec *****
ip sla schedule 10 life forever start-time now


event manager applet Router-Reload
event track 1 state down
action 1.0 syslog msg "Reply timed out; Router will Reload"
action 1.1 cli command "enable"
action 1.2 cli command "reload"

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

IP SLA EEM to reload router after ping failure

Instead of your current approach, try:

action 1.1 reload

3 REPLIES
Cisco Employee

IP SLA EEM to reload router after ping failure

Instead of your current approach, try:

action 1.1 reload

Community Member

IP SLA EEM to reload router after ping failure

It worked. Thanks Joseph.

So what was the issue with my approach. Is it the sequence number?

Cisco Employee

IP SLA EEM to reload router after ping failure

My approach uses the reload action, which does not prompt for any input.

2523
Views
0
Helpful
3
Replies
CreatePlease to create content