找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 4617|回复: 0

[脚本] ros3.13 simple queues 脚本

[复制链接]
发表于 2009-5-24 20:16:00 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
:for sim from=1 to=13 do={queue simple add name=("host" . $sim) limit-at=640000/640000 max-limit=800000/800000 interface=all parent=none priority=8 queue=default/default burst-limit=1600000/1600000 burst-threshold=800000/800000 burst-time=3s/3s total-queue=default target-address=("192.168.0.". $sim)  disabled=no}

测试可用.  想说明的一点,使用花园的那个脚面本生成器,生成的脚本的限速IP,为dst-address,而在3.13中,不能达到限速速,只有使用target-address才能达到效果 。
routeros
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-6-8 19:13 , Processed in 0.073765 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表