/ip dhcp-server disable 0
/ip dhcp-server enable 0
/ip dhcp-server disable [ find where comment=.... ]
Any particular reason?You should never use numerical index in scripts.
Thank you. Good info.https://wiki.mikrotik.com/wiki/Manual:S ... ter_values
But for most entries with a identifier, you can use the name instead:
/ip dhcp-server disable default
/ip dhcp-server enable default