My question is as follows:
I want to make my script to disable it several lines in the mangle and route once!
Ex. When you stop dribbling a particular ip the script disables several lines in the mangle and route, the script will look for the line that is disabled by the comment name.
So I have several lines and place a comment for each, so n] to have to create a script for each line.
Thank you.
I dont get what you want exactly ,but this my help you :
if you want to disable multi-lines in mangles with the same comment “for example comment=line1”
/ip firewall mangle disable [:find comment=“line1”]
samething for routes ..
/ip route disable [:find comment=“line1”]
Thank you Sinan,
I’m almost this, in your example I want to add the same rule for example:
/ Ip firewall mangle disable [: find comment = “line1-line2 …”]
What do I need to know is how I seek the same rule several comments as shown above. What is the correct way to put between “” several lines for a single rule disabling several lines.
Thank you.