Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 21445

Scripting • Re: script for failover swap between 2 link-2ethernet one main and one backup

$
0
0
Code:
:if ([/ping 1.1.1.1 interface="ether1" count=6]= 0) do={    /interface enable "ether2"} else={    /interface disable "ether2"}

For this case I use this, I hope it helps you.

Statistics: Posted by eldoncito2019 — Sun Dec 10, 2023 1:01 pm



Viewing all articles
Browse latest Browse all 21445

Trending Articles