|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
×
我的ros是本论坛的2.9.27,用脚本生成器生成PCQ智能限速的脚本在下面.问题是有人要下载别的机器卡的直叫,是限速没起作用.(从那里能看到),我想删掉现在的智能限速改成常用限速,怎样删现在的呢?或者不用删现在的直接在生成个常用的复制进去会不会影响的,我不清楚了,请指教.谢谢!
现在用的PCQ智能限速脚本大家看下有问题没?
/ queue type add name="PCQ-up" kind=pcq pcq-rate=800000 pcq-limit=50 pcq-classifier=src-address pcq-total-limit=2000
/ queue type add name="PCQ-down" kind=pcq pcq-rate=1600000 pcq-limit=50 pcq-classifier=dst-address pcq-total-limit=2000
/ ip firewall mangle add chain=prerouting action=mark-packet new-packet-mark=all-mark passthrough=yes
/ queue tree add name="PCQdown" parent=lan queue=PCQ-down packet-mark=all-mark
/ queue tree add name="PCQup" parent=lan queue=PCQ-up packet-mark=all-mark
/ tool traffic-monitor
add name="PCQdownon" interface=lan traffic=received trigger=above threshold=6400000 on-event=downon comment="" disabled=no
add name="PCQdownoff" interface=lan traffic=received trigger=below threshold=3200000 on-event=downoff comment="" disabled=no
add name="PCQupon" interface=lan traffic=transmitted trigger=above threshold=6400000 on-event=upon comment="" disabled=no
add name="PCQupoff" interface=lan traffic=transmitted trigger=below threshold=3200000 on-event=upoff comment="" disabled=no
/ system script
add name="upon" source=":if \(\[ /queue tree get \[/queue tree find \
name=\"PCQup\"\] disable \]=true \) do={/queue tree enable PCQup}" \
policy=ftp,reboot,read,write,policy,test,winbox,password
add name="upoff" source=":if \(\[ /queue tree get \[/queue tree find \
name=\"PCQup\"\] disable \]=false \) do={/queue tree disable PCQup}" \
policy=ftp,reboot,read,write,policy,test,winbox,password
add name="downon" source=":if \(\[ /queue tree get \[/queue tree find \
name=\"PCQdown\"\] disable \]=true \) do={/queue tree enable PCQdown}" \
policy=ftp,reboot,read,write,policy,test,winbox,password
add name="downoff" source=":if \(\[ /queue tree get \[/queue tree find \
name=\"PCQdown\"\] disable \]=false \) do={/queue tree disable PCQdown}" \
policy=ftp,reboot,read,write,policy,test,winbox,password
补充下 外网10M光纤 机器43台IP段 101-140 服务器是245/210 怎么限速呢 大家给个好的脚本呀! 急用呢! 先谢谢大家
金山提
QQ:541060836
TEL:13935020305 |
|