Community discussions

MikroTik App
 
dakky21
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 73
Joined: Sat Sep 17, 2005 8:26 pm
Location: Croatia

run once on interface down

Wed Feb 17, 2021 3:34 am

I'm trying this... It's a PPPoE interface called "INTERNET" ... my LTE USB modem hangs after some time and needs a hard reboot to start working again... interface disable/enable doesn't help... so only
/system routerboard usb power-reset
helps.... so I'm trying to have a failover to LTE when interface goes down, but if I put this into scheduler to run each 10 seconds...
:if ([/interface get INTERNET running] = false) do={
  /system routerboard usb power-reset
}
It keeps resetting the USB LTE modem each 10 seconds until PPPoE interface is back up... so it's not a solution, obviously.

How to run it once on interface down? Or any other solution. Thank you

Who is online

Users browsing this forum: No registered users and 33 guests