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

 
  • 0
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
Cisco C3800 PBR联动IP SLA配置主要用于实现流量控制和路径选择的自动化。PBR(Policy-Based Routing)是一种基于策略的路由技术,可以根据特定的策略将数据流量分配到不同的路径上。而IP SLAIP Service Level Agreement)是一种测量网络性能和可用性的机制。 要配置Cisco C3800 PBR联动IP SLA,可以按照以下步骤进行操作: 1. 首先,配置IP SLA。可以使用命令行界面(CLI)输入相应的命令来设置要测量的目标IP地址、端口以及其他相关参数。例如,可以使用命令 "ip sla 1" 来创建一个IP SLA实例,并通过 "icmp-echo" 命令设置目标IP地址和端口。 2. 然后,配置IP SLA操作。可以使用命令 "ip sla schedule 1 life forever start-time now" 来安排IP SLA操作的执行时间和持续时间。 3. 接下来,配置PBR策略。可以使用命令 "route-map" 创建一个路由映射,并设置要匹配的条件和执行的操作。例如,可以使用 "match ip address" 命令匹配特定的访问列表,并使用 "set ip next-hop" 命令设置下一跳IP地址。 4. 最后,将PBR应用到特定的接口上。可以使用命令 "interface" 进入配置特定的接口,并使用 "ip policy route-map" 命令将之前创建的路由映射应用到该接口上。 通过以上步骤,配置Cisco C3800 PBR联动IP SLA就可以实现自动流量控制和路径选择。IP SLA用于测量网络性能和可用性,PBR用于根据特定的策略将流量分配到不同的路径上。这样可以优化网络资源的利用,提高网络的性能和可靠性。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

剪刀石头布Cheers

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值