|  | 
 
| 
ros6.34.4测试通过,估计我会用上好几个月。此前我是简单限速。
×
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册 
  
 /system script
 add name=que010Ena owner=admin policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive source=\
 ":if ([/queue sim get [/queue sim find name=Q010] disable]=true) do={/queue sim enable Q010}] policy=ftp,reboot,read,write,policy,test,winbox,password"
 add name=que010Dis owner=admin policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive source=\
 ":if ([/queue sim get [/queue sim find name=Q010] disable]=false) do={/queue sim disable Q010}] policy=ftp,reboot,read,write,policy,test,winbox,password"
 脚本,
 启用简单限速"Q010",
 禁用简单限速"Q010",
 
 ------分界线---------------------------------------
 
 触发,
 当拨号宽带传出速度大于8M 触发脚本"que010Ena ",
 当拨号宽带传出速度小于5M 触发脚本"que010Dis "
 /tool traffic-monitor
 add interface=PPPOE01 name=Q010Ena on-event=que010Ena threshold=8000000
 add interface=PPPOE01 name=Q010Dis on-event=que010Dis threshold=5000000 trigger=below
 
 补充说明,Q010 是个"父级",
 
 目前发现的缺陷, 触发太灵敏了,瞬间8M 就有效, 瞬间5M就有效,
 我希望它改成"取半分钟平均流量"
 
 | 
 |