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

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

p.cooper
Level 1
Level 1

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 1

Joe Clarke
Cisco Employee
Cisco Employee

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: