DHCP Server check-status and free lease - not working

Hi,

I would like Mikrotik to act as DHCP server only.
I have set up DHCP server on Mikrotik which is connected to local LAN via L3 cisco switch and it is working fine.
I have set up lease time for 1 day and it works fantastic however when client PC disconnects earlier for instance after 3 hours lease is being kept with bound status until the end of time.

I wonder if there is any solution that dhcp-server check periodically connected client PC’s and if the clients are not connected it could deassign the leases?

I was trying to use lease chceck-status but it seems to be not working:

check-status(id) Check status of a given busy dynamic lease, and free it in case of no response

If I click on chceck-status via Winbox nothing changes and lease is active even if the client PC is disconnected.
If I use terminal it asks for ‘numbers’?:

/ip dhcp-server lease> check-status 
numbers:



/ip dhcp-server lease> check-status
numbers: 2
no such item (4)

I do not know how to check if ping is send to client when check-status pressed? dhcp logging doesn’t show this.

I was also thinking about using:

/ip dhcp-server lease remove [find dynamic server=dhcp1]
but this will remove all entries even if the client PC is connected and is using ip from dhcp.

My hardware: HAP-lite (also tried with RB 951-uas)
ROS version: 6.30.4 also (tried with 6.31)

Thanks for help in advance