Community discussions

MikroTik App
just joined
Topic Author
Posts: 1
Joined: Fri Feb 12, 2021 10:58 am

Script Deleting hotspot host and DHCP lease

Fri Feb 12, 2021 11:19 am

Hi Guys!

Newby on MikroTik Forum. I have a bit of a challenge here. I have been trying to get a script running to remove the IP hotspot host according to its DHCP lease if the Host is not authorized in the hotspot host.

I have tried numerous ways in writing the script but only partially working, it only deletes the IP hotspot Host that is not authorized.

/ip dhcp-server lease remove numbers=[find dynamic[/ip hotspot host remove numbers=[find authorized=no]]]

Any assistance in this would be great.

Who is online

Users browsing this forum: Google [Bot], nickrod50, seriosha, silencedugu and 152 guests