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

Attention: The Community will be in read-only mode on 12/14/2017 from 12:00 am pacific to 11:30 am.

During this time you will only be able to see content. Other interactions such as posting, replying to questions, or marking content as helpful will be disabled for few hours.

We apologize for the inconvenience while we perform important updates to the Community.

New Member

ip sla reaction-configuration question

My goal is to have "track 111" go from up to down in the event of three successive ping losses. I wish the configuration guide had some more simple examples. Anyhow - when I run "show ip sla reaction-trig 1" IOS responds "Reaction trigger not configured" I don't understand why not. And I'm not clear if my end-goal of track going down on 3 losses is met. Any ip sla masters on here??

track 111 rtr 1

ip sla 1

icmp-echo 192.168.95.2

frequency 30

ip sla reaction-configuration 1 react rtt threshold-type consecutive 3 action-type trapAndTrigger

ip sla schedule 1 life forever start-time now

Cisco2811ILG#sho ip sla reaction-configuration

Entry number: 1

Index: 1

Reaction: rtt

Threshold Type: Consecutive

Rising (milliseconds): 5000

Falling (milliseconds): 3000

Threshold CountX: 3

Threshold CountY: 5

Action Type: Trap and trigger

Cisco2811ILG#sho ip sla reaction-trigger

Entry number: 1

Reaction trigger not configured

Cisco2811ILG#sho ip sla statistics

Round Trip Time (RTT) for Index 1

Latest RTT: 16 milliseconds

Latest operation start time: *13:26:31.017 EST Thu Mar 5 2009

Latest operation return code: OK

Number of successes: 28

Number of failures: 0

Operation time to live: Forever

http://www.cisco.com/en/US/docs/ios/12_4/ip_sla/configuration/guide/hsthresh.html#wp1082269

3 REPLIES

Re: ip sla reaction-configuration question

Hi

Change your react from rtt to timeout

I have simplfied the config a bit from yours so don't copy it (my timers are very low), but mine works

ip sla monitor 1

type echo protocol ipIcmpEcho 192.168.1.2

timeout 1

frequency 3

ip sla monitor reaction-configuration 1 react timeout

ip sla monitor schedule 1 life forever start-time now

Router#sh ip sla monitor statistics

Round trip time (RTT) Index 1

Latest RTT: NoConnection/Busy/Timeout

Latest operation start time: *19:46:33.155 UTC Thu Mar 5 2009

Latest operation return code: Timeout

Number of successes: 1

Number of failures: 20

Operation time to live: Forever

Router#sh ip sla monitor reaction-configuration

Entry number: 1

Reaction: timeout

Threshold Type: Never

Threshold Count: 5

Threshold Count2: 5

Action Type: None

New Member

Re: ip sla reaction-configuration question

Thank-you. So in your example it appears that an ICMP timeout is defined as 1 second with no reply and then monitor operation runs with a frequency of every 3 seconds. And your reaction config is saying if there are 5 timeouts then then fail. Correct?

Re: ip sla reaction-configuration question

Hi

It's 1 ms with no reply.

I think your issue is down to the fact that you where using round trip times rather than timeout (react rtt).

I am allowing 5 timeouts before alerting ( the default), you can amend this with threshold-type .

1849
Views
4
Helpful
3
Replies
CreatePlease to create content