cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1549
Views
0
Helpful
7
Replies

IP SLA Option ?

usmansa1
Level 1
Level 1

Hi,

 

I am looking to implement ip-sla with HSRP. My requirement is to trigger the fail-over if at-least three packets are lost. For example if the track IP configured is 8.8.8.8 then the threshold should be triggered only if at-least three packets are lost towards 8.8.8.8. I am trying to figure out the way but couldn't find any option. I am using C860-UNIVERSALK9-M. Can any one help me

 

7 Replies 7

Deepak Kumar
VIP Alumni
VIP Alumni

Hi,

 

This is a duplicate post. 

 

Your Configuration will be like:

R1(config)# ip sla 1
R1(config)# icmp-echo 8.8.8.8 source-interface XXXXX
R1(config)# timeout 1000
R1(config)# threshold 3
R1(config)# frequency 2

The ICMP Echo probe sends an ICMP Echo packet to next-hop IP 8.8.8.8 every 2 seconds, as defined by the “frequency” parameter.

Timeout sets the amount of time (in milliseconds) for which the Cisco IOS IP SLAs operation waits for a response from its request packet.

Threshold sets the rising threshold that generates a reaction event.

 

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

Thanks Deepak, By mistake I have added two posts. But your answer does not have any option which shows that the reaction will be after three consecutive packet loss. 

Hi,

Check the threshold option. It means if three counties packet will not get a reply then the system will trigger the event. 

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

Thanks Deepak , Now I realized what do you mean. Let me test it and I will accept it as solution. Thank you

I specifically need that when three consecutive packets are lost then the reaction occurs. 

Here is an example You can use other sla operations such as udp jitter or
other icmp.

R1#
Interface FastEthernet0/0
ip address 192.168.12.1 255.255.255.0
standby 1 ip 192.168.12.3
standby 1 preempt
!
interface FastEthernet0/1
ip address 192.168.13.1 255.255.255.0
!
ip route 0.0.0.0 0.0.0.0 192.168.13.3R2#
interface FastEthernet0/0
ip address 192.168.12.2 255.255.255.0
standby preempt
standby 1 ip 192.168.12.3
standby 1 priority 90
standby 1 preempt
!
interface FastEthernet0/1
ip address 192.168.23.2 255.255.255.0
!
ip route 0.0.0.0 0.0.0.0 192.168.23.3

R1#
ip sla monitor 1
type echo protocol ipIcmpEcho 3.3.3.3
frequency 5
ip sla monitor schedule 1 life forever start-time now
!
track 1 rtr 1 reachability
!
interface FastEthernet0/0
standby 1 track 1 decrement 20

*** Remember to rate useful posts
Review Cisco Networking products for a $25 gift card