routeros3.20与2.9x的脚本与安装限速问题

3.20高级限速脚本:
注意,3.20限速的IP段需要加入双引号
还有3.20如果装了xen组件,会出现无法限速的情况,所以可以选择不安装xen组件或者破解完3.20之后,升级到3.22

max-limit = 最大速度
burst-limit = 突发极限
burst-threshold = 突发阀值
burst-time = 突发时间

:for rabbit from=2 to=254 do={queue simple add name=("tz" . $rabbit) dst-address=("192.168.1.". $rabbit) limit-at=6400/6400 max-limit=800000/240000 interface=all parent=none priority=8 queue=default/default burst-limit=4000000/2400000 burst-threshold=3000000/2400000 burst-time=3s/3s total-queue=default target-address=0.0.0.0/0 disabled=no}

2.9X的高级限速脚本:

:for rabbit from 2 to 254 do={/queue simple add name=(tz . $rabbit) dst-address=(192.168.1. . $rabbit) limit-at=640000/640000 max-limit=2000000/1000000 interface=wan parent=none priority=8 queue=default/default burst-limit=3000000/1000000 burst-threshold=2100000/1000000 burst-time=5s/5s total-queue=default target-address=0.0.0.0/0 disabled=no}

绑定arp脚本,2.9x和3.20通用
:foreach szwm in=[/ip arp find dynamic=yes ] do={/ip arp add copy-from=$szwm}

你可能感兴趣的:(脚本,职场,休闲,限速)