IP SLA中timeout vs threshold

我们再配置IP SLA的时候,有些参数可能会有所混淆。

思科默认的这些参数值如下:

  frequency    Frequency of an operation (60s)
  timeout      Timeout of an operation(5000ms)
  threshold    Operation threshold in milliseconds (5000ms)

Threshold sets the rising threshold that generates a reaction event and stores history information for an IP SLAs operation.

Threshold is used to activate a response to IP SLA violation, e.g. send SNMP trap or start seconday SLA operation.

Timeout is the maximum time required for SLA operation to complete

Timeout sets the amount of time an IP SLAs operation waits for a response from its request packet.

Timeout 超时是SLA操作完成所需的最长时间-例如等待探测响应的超时。
Threshold 阈值是在操作RESULT期间测得的边界值(例如RTT或在操作期间收集的抖动值)。 越过阈值通常意味着违反SLA约定。
请注意,这两个值适用于不同对象。

设置这3个值的常用方法是:(frequency 频率)>(timeout超时)>(threshold 阈值)。 对于诸如UDP jitter之类的网络密集型SLA,建议最小“frequency ”为60秒,这是因为它们给网络带来了负载和开销。

不必将“threshold ”设置为任何特定的值,这完全取决于您以及您对网络服务和质量水平的看法/计划。 尽管必须将其设置为小于为“timeout”设置的值。

换句话说 “timeout” =没有服务无法到达已死。 其中,“threshold”是一个值,它定义了服务完全失效之前的警告级别。 当达到上限阈值时,您的设备将执行您已配置为执行的任务,例如 发送系统日志消息或触发SNMP trap等。

ip sla 1
..icmp-echo 155.1.23.2 source-interface Serial0/3/0
..timeout 1000
..threshold 1000
..frequency 30
ip sla schedule 1 life forever start-time now
!
track 1 ip sla 1 reachabiity

IP SLA Delay Feature:(90 seconds)

track 1 ip sla 1 reachability
..delay down 90 up 90

这里有一篇看起来很舒服的博客文档,可以作为IP SLA的配置示例:

https://www.practicalnetworking.net/stand-alone/cisco-ip-sla-using-a-cisco-router-to-generate-traffic/

For Cisco.com
Q. What does the term threshold and timeout in IP SLA operation mean?

A. Threshold sets the rising threshold that generates a reaction event and stores history information for an IP SLAs operation.
    Timeout sets the amount of time an IP SLAs operation waits for a response from its request packet.

show命令:

show ip sla configration
show track
show ip sla stat


原文地址:https://www.cnblogs.com/MomentsLee/p/13204069.html