TypechoJoeTheme

Dcr163的博客

ROS三个简单限速脚本,根据情况使用

2015-10-18
/
0 评论
/
94 阅读
/
正在检测是否收录...
10/18

:for PC from=2 to=254 do={/queue simple add name=("192.168.0.".$PC) target-addresses=("192.168.0.".$PC) dst-address=0.0.0.0/0

interface=lan parent=none direction=both priority=8 queue=default-small/default-small limit-at=500000/2000000 max-

limit=800000/5000000 total-queue=default-small disabled=no}





:for PC from=2 to=200 do={/queue simple add name=("192.168.1.".$PC) target-addresses=("192.168.1.".$PC) dst-address=0.0.0.0/0

interface=LAN parent=none direction=both priority=8 queue=default-small/default-small limit-at=20000/500000 max-

limit=128000/600000 burst-limit=128000/700000 burst-time=30s/30s total-queue=default-small disabled=no}



:for aa from 2 to 254 do={/queue simple add  name=("192.168.0.".$aa) target-address=("192.168.0." . $aa) burst-

threshold=512K/2500k burst-time=15s/15s burst-limit=1M/3M max-limit=512K/2500k}

赞(0)
版权属于:

Dcr163的博客

本文链接:

https://dcr163.cn/344.html(转载时请注明本文出处及文章链接)

评论 (0)