Hi guys,
/ip/dhcp-server/network/remove numbers=0
This script will run on terminal, but when I put it on the scripts menu, it will not run.
It did run like once twice only. After that not anymore.
using RB1100Dx4 os v7.7
Hi guys,
/ip/dhcp-server/network/remove numbers=0
This script will run on terminal, but when I put it on the scripts menu, it will not run.
It did run like once twice only. After that not anymore.
using RB1100Dx4 os v7.7
You should not use number in script. That is just some temporary number.
In script you must change number with find.
Use Splunk> to log/monitor your MikroTik Router(s). See link below.
What made unique the network is the address pool, you must use that
(is a string, you must use " " !!!)
/ip dhcp-server network remove [find where address="192.168.0.0/24"]
If you want delete all (that probably is what you want to do), simply
/ip dhcp-server network remove [find]
If you want delete the first on the result list (useless, why???), just for example
/ip dhcp-server network remove ([find]->0)