Community discussions

MikroTik App

Search found 1 match

by ajdmh
Thu Apr 08, 2021 7:52 am
Forum: Scripting
Topic: I need a script to determine if the pppoe-out1 state is connected [SOLVED]
Replies: 2
Views: 350

Re: I need a script to determine if the pppoe-out1 state is connected [SOLVED]

:if ([/interface get [/interface find name=pppoe-out1] running]=yes) do={ delay 3000 /interface pppoe-client set pppoe-out2 disabled=no} The script is written according to your ideas, However, there is a big problem with your logic: If pppoe-out1 is in the connected state, then pppoe-out2 will keep...