From the graphic interface I can do:
(1) Network / Interfaces / LAN / DHCP Server / Advanced settings - in the options I uncheck the Dynamic DHCP and save. Then reboot the router. Doing so, only the static DHCP leases are served after the reboot.
(2) Network / Interfaces / LAN / DHCP Server / Advanced settings - in the options I check the Dynamic DHCP and save. Doing so, the dynamic DHCP clients are served again.
I would like to know if there is a way to do the above with terminal command or script, or with other words, I want that at a given moment the dynamic leases are dropped and for a certain period of time only static leases are served.