IP Routes can be disabled using scripting.

when using command line in mikrotik, to disable ip route manually

for ex: i enter
/ip route set disabled=yes 10 (number of route item)

if i add or remove routes the item number gets changed

i want to disable specific routes at specific intervals

so is there any way to disable/enable routes by identifying comment or something similar using scripting.

/ip/route/disable [find comment=“$comment”]

Reply on compatible way, if the user use RouterOS v6, do not provide commands for RouterOS v7 only…


/ip route disable [find where comment~"search this text on the comment"]