cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
279
Views
2
Helpful
3
Replies

IP SLA and TRACK not work as expected

dragonhunt9111
Level 1
Level 1

Dear experts,

I am configuring simple SLA like this :

ip sla 1
http get http://24h.com.vn
threshold 50
timeout 55
ip sla schedule 1 life forever start-time now

track 1 ip sla 1 reachability

dragonhunt9111_2-1697616451723.png

 

When I show ip sla summary , I see that RTT time is about 80-90ms. It is higher than timeout (which I set is 55ms)

dragonhunt9111_1-1697616426052.png

 

 

But I show track 1  track 1 still UP

As I understand, when RTT time is exceeding timeout, SLA will fail and track is down

But track is not down.

Pls help me understand this (I test on EVE-NG)

Thank you!!

 

3 Replies 3

track 1 ip sla 1 state

Change to state and check.

balaji.bandi
Hall of Fame
Hall of Fame

what IOS that device running,. also worth adding frequency (how frequent you like to get)

here is my example working on eve-ng or pnetlabs

BB(config)# ip sla 100
BB(config-ip-sla)# tcp-connect 192.168.1.100 80
BB(config-ip-sla-tcp)# threshold 200
BB(config-ip-sla-tcp)# timeout 200
BB(config-ip-sla-tcp)# frequency 10
BB(config-ip-sla-tcp)# exit
BB(config)#
BB(config)# ip sla schedule 100 start-time now life forever

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

M02@rt37
VIP
VIP

Hello @dragonhunt9111 

Try this

ip sla 1
http get http://24h.com.vn
threshold 100
timeout 55
ip sla schedule 1 life forever start-time now

track 1 ip sla 1 reachability
delay down 10 up 5

In this example, if the RTT exceeds 100 milliseconds, the track state would transition to "DOWN." Adjust the threshold value according to your requirements.

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.
Review Cisco Networking for a $25 gift card