Answer the question
In order to leave comments, you need to log in
How to correctly list the elements of a specific List from the Interface list in a Mikrotik script?
There is a need to perform some actions (eg enable / disable) with the interfaces specified by a specific List in the Interface list from the script. After some experimentation, I wrote something like:
:foreach ifacenum in=[/interface list member find list=disable-list] do={/interface disable [/interface list member get $ifacenum interface];}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question