ros软路由 设置
ros软路由怎么限速?
答案:2 悬赏:50 手机版
解决时间 2021-07-26 08:12
- 提问者网友:心牵心
- 2021-07-25 15:16
最佳答案
- 五星知识达人网友:举杯邀酒敬孤独
- 2021-07-25 15:31
限速脚本
add name="A" source=":for aaa from 1 to 20 do={/queue simple add
name=(0_ . $aaa) dst-address=(192.168.7. . $aaa) interface=ether1
limit-at=256000/64000 max-limit=512000/128000 burst-limit=1024000/256000
burst-threshold=512000/128000 burst-time=50s/50s }"
policy=ftp,reboot,read,write,policy,test,winbox,password
------------------------------------------------------------------------------
;防ARP,自动COPY
add name="IP" source=":foreach i in=[/ip arp find dynamic=yes ] do={/ip arp
add copy-from=$i}
"
policy=ftp,reboot,read,write,policy,test,winbox,password
------------------------------------------------------------------------------
限制速度脚本
/system/script
:for aaa from 5 to 20 do={/queue simple add name=(A . $aaa) dst-address=(192.168.1. . $aaa) interface=all limit-at=1000000/64000 max-limit=1000000/128000 burst-limit=1024000/256000 burst-threshold=512000/128000 burst-time=50s/50s }
add name="A" source=":for aaa from 1 to 20 do={/queue simple add
name=(0_ . $aaa) dst-address=(192.168.7. . $aaa) interface=ether1
limit-at=256000/64000 max-limit=512000/128000 burst-limit=1024000/256000
burst-threshold=512000/128000 burst-time=50s/50s }"
policy=ftp,reboot,read,write,policy,test,winbox,password
------------------------------------------------------------------------------
;防ARP,自动COPY
add name="IP" source=":foreach i in=[/ip arp find dynamic=yes ] do={/ip arp
add copy-from=$i}
"
policy=ftp,reboot,read,write,policy,test,winbox,password
------------------------------------------------------------------------------
限制速度脚本
/system/script
:for aaa from 5 to 20 do={/queue simple add name=(A . $aaa) dst-address=(192.168.1. . $aaa) interface=all limit-at=1000000/64000 max-limit=1000000/128000 burst-limit=1024000/256000 burst-threshold=512000/128000 burst-time=50s/50s }
全部回答
- 1楼网友:玩世
- 2021-07-25 17:04
你做的脚本是几M的网啊
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯