Netwatch failover script help please

I’m sure this is easy, but I’m at a loss… Trying to configure netwatch to change default route when ping to a specific IP fails.

I thought this would be the correct command but apparently not

/ip route set [/ip route find dst 0.0.0.0] gateway 172.16.0.2

And the MT returns

numbers:

It is looking for the item number as related to the routing table, but I thought the point of the find command was to avoid referencing ‘static’ numbers ?

If I enter the number that is the default route (7) it works but Where would I put that in the command line, and should it be required ??

???

LOL - so right after posting I realized the script was looking for the 0.0.0.0, not the 0.0.0.0/0 route … works now :stuck_out_tongue: