Scrpit to enable or disable interface list

Hello guys I’m new in this networking world.
I can run scheduler.
But I don’t know how to write a script to enable or disable interface list.

Please help

/interface list member disable [find where list=“your-list”]


/interface list member enable [find where list=“your-list”]

The interface list can’t be disabled,
you can only disable or enable all specific interface list members at same time, like @jonah1810 has wrote.

Thanks mate that works in command line yes,
How can i put that command in script..
Currently i’m doing it manually which is tough to keep up with :frowning:


Untitled.png

How can i run those terminal commands by a script ?

Why you change the command?
On your screenshot you are removed “member” and added the " at start and at the end of the command.

must be writed as-is:

/interface list member disable [find where list="listd"]

Thank a lot :slight_smile: it worked :slight_smile: :slight_smile: