Please help howe to limit youtube bandwith in my mikrotik !!
have tried with the script
/ system scheduler
\n:if \e="youtobe" on-event=":foreach i in=\[/ip dns cache find\] do={
\n:log \find \[/ip dns cache get \$i name\] \"youtube\"\] > 0) do={
info (\"youtube: \" . \[/ip dns cache get \$i name\] . \" (ip address \" . \
\n/ip firewall address-list add \ss\] . \")\")
address=\[/ip dns cache get \$i address\] list=youtube \
\n}" start-date=sep/12/2007 start-time=21:00:00 \
interval=1m comment="" disabled=no
and
/ ip firewall mangle
add chain=prerouting action=mark-connection new-connection-mark=youtube \
passthrough=yes src-address-list=youtube comment="" disabled=no
add chain=prerouting action=mark-packet new-packet-mark=youtube passthrough=no \
connection-mark=youtube comment="" disabled=no
and
/ queue simple
add name="youtube" dst-address=0.0.0.0/0 interface=all parent=none \
packet-marks=youtube direction=both priority=8 \
queue=PCQ_download/PCQ_download limit-at=0/0 max-limit=20000/20000 \
total-queue=default-small time=0s-1d,sun,mon,tue,wed,thu,fri,sat \
disabled=no
but
this is error
Please Help me !!