|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
×
/ queue type add name="PCQ-up" kind=pcq pcq-rate=1000000 pcq-limit=50 pcq-classifier=src-address pcq-total-limit=2000
/ queue type add name="PCQ-down" kind=pcq pcq-rate=1000000 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=wan queue=PCQ-down packet-mark=all-mark
/ queue tree add name="PCQup" parent=ether1 queue=PCQ-up packet-mark=all-mark
/ tool traffic-monitor add name="PCQdownon" interface=wan traffic=received trigger=above threshold=600000 on-event=downon comment="" disabled=no
/ tool traffic-monitor add name="PCQdownoff" interface=wan traffic=received trigger=below threshold=600000 on-event=downoff comment="" disabled=no
/ tool traffic-monitor add name="PCQupon" interface=wan traffic=transmitted trigger=above threshold=600000 on-event=upon comment="" disabled=no
/ tool traffic-monitor add name="PCQupoff" interface=wan traffic=transmitted trigger=below threshold=600000 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,password,read,reboot,sniff,telnet,web,write,local,policy,ssh,test,winbox
/ system script add name="upoff" source=":if ([/queue tree get [/queue tree find name=\"PCQup\"] disable ]=false ) do={/queue tree disable PCQup}" policy=ftp,password,read,reboot,sniff,telnet,web,write,local,policy,ssh,test,winbox
/ system script add name="downon" source=":if ([/queue tree get [/queue tree find name=\"PCQdown\"] disable ]=true ) do={/queue tree enable PCQdown}" policy=ftp,password,read,reboot,sniff,telnet,web,write,local,policy,ssh,test,winbox
/ system script add name="downoff" source=":if ([/queue tree get [/queue tree find name=\"PCQdown\"] disable ]=false ) do={/queue tree disable PCQdown}" policy=ftp,password,read,reboot,sniff,telnet,web,write,local,policy,ssh,test,winbox
这个感觉没用,我下东西,达到80M了,还是没有作用 |
|