Is it possible to use wildcard (*,!, %, ...) or some operator like "starts with" in /ip dhcp-server value= matcher command?
If I want to separate IP addresses to different pools, I use script like this:
/ip dhcp-server matcher
add address-pool=pool54PhoneA code=60 name=android-09 server=D54 value=android-dhcp-9
add address-pool=pool54PhoneA code=60 name=android-12 server=D54 value=android-dhcp-12
add address-pool=pool54PhoneA code=60 name=android-08 server=D54 value=android-dhcp-8.0.0
add address-pool=pool54PhoneA code=60 name=androidHCLT server=D54 value=HUAWEI:android:CLT
add address-pool=pool54PhoneA code=60 name=androidHYAL server=D54 value=HUAWEI:android:YAL
add address-pool=pool54PhoneA code=60 name=androidHVOG server=D54 value=HUAWEI:android:VOG
add address-pool=pool54PC code=60 name=PC server=D54 value="MSFT 5.0"
Every HUAWEI type of phones and every generation of Android uses different value, so I want to group them, like:
add address-pool=pool54PhoneA code=60 name=android server=D54 value=android-dhcp*
add address-pool=pool54PhoneA code=60 name=androidH server=D54 value=HUAWEI:android*