雏鹰部落

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 5335|回复: 4

[讨论/求助] sla里面的Threshold参数是干什么的?

[复制链接]
发表于 2012-12-4 17:27:49 | 显示全部楼层 |阅读模式
RT 求解!!!!!!!
发表于 2012-12-4 20:10:03 | 显示全部楼层
欲实施IP SLAs,需考虑以下步骤
1.        启用Cisco IOS IP SLAs Responder(CISCO私有特性),可选
2.        配置Cisco IOS IP SLAs operation type(选择SLA操作类型)
3.        配置该操作类型下的可选参数
4.        设置监测阀值,可选
5.        设定监测时间段,并启用监测,等待SLA搜集相关数据
6.        在CLI下,或者支持SNMP的网管平台上查看SLA执行后的反馈

其中Threshold也就是阀值,指的是,你可以设置某种监测的区间或上限,让监测的见过超过这个上限,触发某种动作,例如产生一个SNMP traps,或者触发另一个IP SLAs OPeration来进一步搜集数据。命令如下:
ip sla monitor reaction-configuration

下面是个例子:

Router(config)# ip sla monitor 1
Router(config-sla-monitor)# type jitter dest-ipaddr 209.165.200.225 dest-port 3000 codecg711alaw
Router(config-sla-monitor-jitter)# default frequency
Router(config-sla-monitor-jitter)# exit
Router(config)# ip sla monitor schedule 1 start now life forever
Router(config)# ip sla monitor reaction-configuration 1 react rtt threshold-type immediate threshold-value 3000 2000 action-type trapOnly
Router(config)# ip sla monitor reaction-configuration 1 react MOS threshold-type
consecutive 4 threshold-value 390 220 action-type trapOnly
Router(config)# ip sla monitor logging traps
Router(config)#
Router(config)# snmp-server host 209.165.202.129 version 2c public syslog
Router(config)# snmp-server enable traps syslog

 楼主| 发表于 2012-12-4 21:08:35 | 显示全部楼层
tea 发表于 2012-12-4 20:10
欲实施IP SLAs,需考虑以下步骤
1.        启用Cisco IOS IP SLAs Responder(CISCO私有特性),可选
2.        配置Cis ...

您这个例子太复杂了 看不明白,麻烦您解释一下以下命令里面threshold 起着什么样的作用?(根据你的说法我猜测没有用,貌似这里面没有触发什么动作?)
ip sla monitor 1
type echo protocol ipIcmpEcho x.x.x.x source-interface Serial x/x
request-data-size 1000
timeout 1000
threshold 2
frequency 2
ip sla monitor schedule 1 life forever start-time now
track 1 rtr 1 reachability
ip route  z.z.z.z  255.255.255.255  x.x.x.x  track 1

 楼主| 发表于 2012-12-6 11:59:38 | 显示全部楼层
tea 发表于 2012-12-4 20:10
欲实施IP SLAs,需考虑以下步骤
1.        启用Cisco IOS IP SLAs Responder(CISCO私有特性),可选
2.        配置Cis ...

大神???
发表于 2012-12-6 15:27:35 | 显示全部楼层
Threshold也就是阀值,指的是,你可以设置某种监测的区间或上限,让监测的见过超过这个上限,触发某种动作,例如产生一个SNMP traps,或者触发另一个IP SLAs OPeration来进一步搜集数据。

这段话就是对Threshold作用的解释呀。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|熊猫同学技术论坛|小黑屋| 网络工程师论坛 ( 沪ICP备09076391 )

GMT+8, 2024-5-4 22:26 , Processed in 0.074402 second(s), 18 queries , Gzip On.

快速回复 返回顶部 返回列表