Good morning, I wonder if people help me, I need a script to disable a rule of ip-bindings of the hotspot. For example I have several rules to block the ip-bindings then the script would have to disable all the rules they have with the number 1 in the commentary. I am using these individually.
/ip hotspot ip-binding {disable [find comment=client1]}
/ip hotspot ip-binding {disable [find comment=client2]}
/ip hotspot ip-binding {disable [find comment=client3]}
I would like to disable a rule that all users who have the number 1 in its commentary
[admin@MKINTERNO] > ip hotspot ip-binding print
Flags: X - disabled, P - bypassed, B - blocked
MAC-ADDRESS ADDRESS TO-ADDRESS SERVER
1 P ;;; carol1
00:18:DE:0E:1C:19 192.168.74.7 192.168.74.7 hotspot1
2 P ;;; robert1
00:18:DE:0E:1C:20 192.168.74.7 192.168.74.7 hotspot1
3 P ;;; sebatian1
00:18:DE:0E:1C:22 192.168.74.7 192.168.74.7 hotspot1