Maybe someone can help me all day was looking for information but could not find it.
My query is: how to modify user or service allow-address list.
Scenario:
I have many routers and allowed IP addresses for each router (site) can be different. I want to all of them to add new allowed IP and do it in bulk via unimus push config.
SET command is not working as it set IP not modifies.
Any help appreciated.
Admiral platform. https://admiralplatform.com/ Seems well suited to automate bulk activities aka over many routers.
Cant you send remove commands at the same time something like (or whatever the syntax will be):
/ip/service/xxx remove [find address=x.x.x.x]
Im thinking lets say you have in total 5 IP-ranges to deal with but as you said one box will only allow one of these and another will allow three of them.
This way if you want to allow a.a.a.a and b.b.b.b but not c.c.c.c or d.d.d.d or e.e.e.e then the commands could be something like:
/ip/service/xxx set a.a.a.a
/ip/service/xxx set b.b.b.b
/ip/service/xxx remove [find address=c.c.c.c]
/ip/service/xxx remove [find address=d.d.d.d]
/ip/service/xxx remove [find address=e.e.e.e]
Also note since Mikrotik will execute the config line by line make sure that you first send the set commands and then the remove commands so you dont cut of the branch you sit on.
Im not sure if this way is good for bulk (many routers) configuration as per your advice it is more for a single router configuration. Correct me if Im wrong no probs.