DHCP Server Option Matcher
/ip dhcp-server matcher
# Polycom Vendor-Id / Class-Id matchers
/ip dhcp-server matcher
add address-pool=dhcp_pool-lan-voice code=60 name="voice - Polycom-VVX101" option-set=voice server=dhcp-lan value=Polycom-VVX101
add address-pool=dhcp_pool-lan-voice code=60 name="voice - Polycom-VVX250" option-set=voice server=dhcp-lan value=Polycom-VVX250
add address-pool=dhcp_pool-lan-voice code=60 name="voice - Polycom-VVX300" option-set=voice server=dhcp-lan value=Polycom-VVX300
add address-pool=dhcp_pool-lan-voice code=60 name="voice - Polycom-VVX310" option-set=voice server=dhcp-lan value=Polycom-VVX310
add address-pool=dhcp_pool-lan-voice code=60 name="voice - Polycom-VVX311" option-set=voice server=dhcp-lan value=Polycom-VVX311
add address-pool=dhcp_pool-lan-voice code=60 name="voice - Polycom-VVX410" option-set=voice server=dhcp-lan value=Polycom-VVX410
add address-pool=dhcp_pool-lan-voice code=60 name="voice - Polycom-VVX411" option-set=voice server=dhcp-lan value=Polycom-VVX411
add address-pool=dhcp_pool-lan-voice code=60 name="voice - Polycom-VVX500" option-set=voice server=dhcp-lan value=Polycom-VVX500
add address-pool=dhcp_pool-lan-voice code=60 name="voice - Polycom-VVX501" option-set=voice server=dhcp-lan value=Polycom-VVX501
add address-pool=dhcp_pool-lan-voice code=60 name="voice - Polycom-VVX600" option-set=voice server=dhcp-lan value=Polycom-VVX600
# Fanvil Vendor-Id / Class-Id matchers
/ip dhcp-server matcher
add address-pool=dhcp_pool-lan-voice code=60 name="voice - Fanvil X5U" option-set=voice server=dhcp-lan value="Fanvil X5U"
add address-pool=dhcp_pool-lan-voice code=60 name="voice - Fanvil X5U-V2" option-set=voice server=dhcp-lan value="Fanvil X5U-V2"
add address-pool=dhcp_pool-lan-voice code=60 name="voice - Fanvil X6U" option-set=voice server=dhcp-lan value="Fanvil X6U"
add address-pool=dhcp_pool-lan-voice code=60 name="voice - Fanvil X6U-V2" option-set=voice server=dhcp-lan value="Fanvil X6U-V2"
add address-pool=dhcp_pool-lan-voice code=60 name="voice - Fanvil X210" option-set=voice server=dhcp-lan value="Fanvil X210"
add address-pool=dhcp_pool-lan-voice code=60 name="voice - Fanvil X210-V2" option-set=voice server=dhcp-lan value="Fanvil X210-V2"
# Need to add
# 2N IP Vario
# 2N IP Verso
# Axis A8105-E Network Video Door Station
# Axis A8207-VE Network Video Door Station
# Axis A8207-VE Mk II Network Video Door Station
# Axis C1310-E Network Horn Speaker
# Barix
# Cisco SPA112
# Cisco SPA303
# Cisco SPA525G2
# Matcher currently doesn't do partial or wildcard matchecs, so these won't actually do anything
/ip dhcp-server matcher
add address-pool=dhcp_pool-lan-voice code=60 name="voice - Fanvil" option-set=voice server=dhcp-lan value=Fanvil
add address-pool=dhcp_pool-lan-voice code=60 name="voice - Polycom-VVX" option-set=voice server=dhcp-lan value=Polycom-VVX
add address-pool=dhcp_pool-lan-voice code=60 name="voice - Polycom" option-set=voice server=dhcp-lan value=Polycom
add address-pool=dhcp_pool-lan-voice code=60 name="voice - Poly" option-set=voice server=dhcp-lan value=Poly
#end