| Mikrotik Routeros 3.x 限速脚本[原创] |
| 作者:用易网络 文章来源:routeros.com.cn 点击数: 更新时间:2008-6-13 18:56:45 |
|
|
|
|
|
|
2.9.x的脚本在3.x中执行都有问题,下面是限速脚本,其他脚本请参考修改再执行,想不明白老外经常改来改去的。
[转帖请注意出处www.routeros.com.cn,谢谢]
:for aaa from 2 to 254 do={ /queue simple add name="queue$aaa" dst-address="192.168.0.$aaa" limit-at="0/0" max-limit="1000000/2000000" }
本脚本功能:把192.168.0网段,自192.168.0.2到192.168.0.254限速为上传为1mb/s,下载为2mb/s
命令解释:
from 2 to 254 :说明是从2开始到254
name="queue$aaa" :其中$aaa,要与前面的 for aaa对应,
dst-address="192.168.0.$aaa":192.168.0就是你要限速的网段,请根据需求修改
limit="1000000/2000000":格式为 上传/下载,即上传为1mb/s,下载2mb/s
|
| 文章录入:dnbm 责任编辑:dnbm |
|
上一篇文章: Routeros VPN集团公司拔入故障排除案例 下一篇文章: 没有了 |
| 【字体:小 大】【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口】 |