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

ip sla reaction-configure and reaction-trigger

Hi all,

I want to make ipsla check server states to run EEM script then server will icmp timeout 3 times.

i writed the following configuration(CAT 6500 IOS 12.2).

ip sla 20 
 icmp-echo 172.31.3.206 source-ip 172.26.1.60
 timeout 100
 frequency 2
ip sla schedule 20 life 10 start-time pending
ip sla 30
 icmp-echo 172.31.3.206 source-ip 172.26.1.60
 timeout 100
 frequency 2
ip sla schedule 30 life forever start-time now
ip sla reaction-configuration 30 react timeout threshold-type consecutive 3 action-type trapandtrigger
ip sla reaction-trigger 30 20

track 20 ip sla 20 reachability

track 30 ip sla 30 reachability

 

but i found when ip sla 20 configured the ip sla status is unkonwn

 

SW#sh track 20
Track 20
  IP SLA 20 reachability
  Reachability is Down
    1 change, last change 00:00:17
  Latest operation return code: Unknown
  Tracked by:
    EEM applet server-down 

 

when server down,sla status will change to timeout,and eem will worked only once.

 

SW#sh track 20
Track 20
  IP SLA 20 reachability
  Reachability is Down
    1 change, last change 00:00:52
  Latest operation return code: Timeout
  Tracked by:
    EEM applet server-down 

 

When next time server up or down , the ip sla state will never changed, and the EEM never triggered.

So how to make it work?
 

 

 

244
Views
0
Helpful
0
Replies
CreatePlease to create content