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

 
       


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM