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

EEM re-configure 3750-X if IP SLA ping fails

I'm looking at using EEM and IP SLA to re-configure a 3750-X switch if a ping fails.

I've configure IP SLA as below.

ip sla 1

icmp-echo 10.9.2.46

frequency 30

ip sla schedule 1 life forever start-time now

ip sla reaction-configuration 1 react timeout

ip sla enable reaction-alerts

!

event manager applet TEST

event ipsla operation-id 1 reaction-type timeout

action 1 cli command "enable"

action 2 cli command "conf t"

action 3 cli command "ip host test 1.1.1.1"

action 4 cli command "exit"

It doesn't look like the 3750-X switch has the "event track" option

1 REPLY
Cisco Employee

EEM re-configure 3750-X if IP SLA ping fails

There doesn't appear to be a question here, but I would change the one line to:

ip sla reaction-config 1 react timeout threshold-type immediate

541
Views
0
Helpful
1
Replies
CreatePlease to create content