netwatch turn off and on bridge port

Hi,

I am trying to make netwatch turn on an alternate path.
I haven’t really learned scripting, but I thought this would work, but it doesn’t

I have it pinging a host, and it shows that it is up and down correctly.

in the down I want it to enable a wds path, to bypass the mikrotik that is over heating each afternoon, till I can get up there ( 120 miles away) Next week.

So when it cools down I will reboot this radio, and manually put it back.

So in the: “on down” tab I put

/ interface bridge port
set 3 disabled=no

So how can I simply fix this.

Thanks

Glenn

/interface bridge port set [/interface bridge port find interface=interface_name] disabled=no

where interface_name like ether1, wlan2 etc.

/interface bridge port set [/interface bridge port find interface=interface_name] disabled=no

where interface_name like ether1, wlan2 etc.

/interface bridge port set [/interface bridge port find interface=interface_name] disabled=no

where interface_name like ether1, wlan2 etc.



Sorry that didn’t work, by the way, I am running 2.9.51 on this box
If I type on a new terminal:
/interface bridge port
print
enable 3

it works, but when I put this in the netwatch down tab, it doesn’t.

Any Ideas on why it doesn’t work??
thanks
ke6hpz

:frowning:
I tried it and use this syntax on many versions from 2.9.6 to 3.9

Try in terminal and error message will help you.