cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1953
Views
0
Helpful
1
Replies

EEM applet to reload router after ip is unreachable over time

Andre.R.Smith
Level 1
Level 1

Hi

I am trying to create an EEM applet that will track the reachability of a group of  IP addresses. The condition needs to be as followed:

If the IP addresses become unreachable for about an 1 hour 15 minutes then reload the router. I have looked at the delay command using the IP SLA option but it only delays up to 180 seconds. Any Ideas?

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

The applet that tracks your IP SLA objects (I'm guessing you have a tracked object that tracks a list of other objects) should configure another timer applet that counts down the time you want.  For example:

event manager applet track-down

event track 3 state down

action 1.0 cli command "enable"

action 2.0 cli command "config t"

action 3.0 cli command "event manager applet countdown"

action 3.1 cli command "event timer countdown time 4500"

action 3.2 cli command "action 1.0 reload"

action 4.0 cli command "end"

!

event manager applet track-up

event track 3 state up

action 1.0 cli command "enable"

action 2.0 cli command "config t"

action 3.0 cli command "no event manager applet countdown"

action 4.0 cli command "end"

Review Cisco Networking for a $25 gift card