Hello, how do I disable a rule in IP ROUTE with a script?
Tank you.
ELDONCITO.
/ip route disable [find comment="test"]
/ip route disable [find dst-address=10.0.0.0/8]
/ip route disable [find dst-address=0.0.0.0/0 gateway=10.1.1.1]
Thanks friend SOB then I have the following script: if ([/ ping 8.8.8.8 interface = "ETHERT 2" count = 6] = 0) do = {/ ip route disable [find comment = "test"]Examples:
Code: Select all/ip route disable [find comment="test"] /ip route disable [find dst-address=10.0.0.0/8] /ip route disable [find dst-address=0.0.0.0/0 gateway=10.1.1.1]