Hi, is any option to multiple change TOS?can doing this script?program?magic button? ![]()
See it:

I need change these TOS numbers multiple.. but no single!
Hi, is any option to multiple change TOS?can doing this script?program?magic button? ![]()
See it:

I need change these TOS numbers multiple.. but no single!
well, you may use src-address-list instead of src-address
hmm i think its not correct..
i use only 1 IP but i allow incoming and outgoing connection
i made this:
:if (g1=1) do={set 113 new-dscp=1}
else (print error)
or this
:if (g1=1) do={set 113 new-dscp=1};
else={:put error}
g1= variable
i think if g1=1 edit dscp1
if g1=2 edit dscp2
if g3=3…
…
..
.
and can i bind this on some word? may i write something this {:put ch1(where ch1 is variable which will changing same as new-dscp)}
and i made a emergency use:
:if (g1=1) do={set 15 new-dscp=2};
:if (g1=1) do={set 17 new-dscp=2};
:if (g1=1) do={set 19 new-dscp=2};
:if (g1=1) do={set 21 new-dscp=2};
:if (g1=1) do={set 23 new-dscp=2};
and i click enter ![]()
but its not fully what i want
what’s ‘g1’? what exactly do you want to do? you canot use ‘set 15’ in scripts - you should use ‘set [find where bla-bla-bla]’
you can read above.. ![]()
OK thanks you solve it.. i use this: "/ip firewall mangle; set [find new-dscp=6] new-dscp=7" where 6 and 7 i chnged to value from 1 to 15 and i add this to script.. thank you very much
glad to hear that you did it =)