10-18-2023 01:07 AM
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
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)
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!!
10-18-2023 01:14 AM
track 1 ip sla 1 state
Change to state and check.
10-18-2023 04:54 AM
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
10-18-2023 08:56 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide