How to remove where running=no dynamic=yes

Problems with pppoe sessions occur in MT for a long time (end of version 6 and all the time in version 7). Currently, it often happens that single pppoe sessions have a D tag without an R, customers report no internet access. Fortunately, in version 7, such sessions can be deleted (previously it was not possible). I wanted to add a script that would run every few a minutes looking for such a session, but I don’t know how to do it because I can’t run the remove command from ppp/ or interface/. How to do it? how can I remove from PPP/Interface (winbox menu) where running=no dynamic=yes
mt-script.png

So, you want on /interface pppoe-server remove all connection that are [find where running=no and dynamic=yes] ???

Exactly, however in ppp/active/remove I don't have find or where option

Read TWICE my reply… :laughing: :laughing: :laughing:

ok, got it now pppoe-server
I also looked in the pppoe-client interface, anyway, you have to admit that there is a bit of a lack of consistency in the winbox vs terminal menu
thx for help

Your read it correctly on Italyc??? :wink:

____ /interface pppoe-server remove ____ [find where running=no and dynamic=yes] ____


/interface pppoe-server remove [find where running=no and dynamic=yes]

Yup i got it. Everything is working fine write now. Thx for help