Hi Guys,
I know the following code is wrong, but is there away to AND 2 or more :IF sentences in order to take an action such as route setting ?
Here is teh wrong code:
:if ([/tool netwatch get R1 status]=up) &&
:if ([/tool netwatch get R2 status]=up)
/ip route set [/ip route find comment=fail-over-route] gateway=(R1)
any idea on how to rewrite this to be acceptable ?
Many thanks