Give Out Address Of TFTP Server To Cisco VoIP Phones

Cisco 7900 series phones will want a TFTP server via DHCP options on boot in order to configure themselves.

  set service dhcp-server global-parameters 'option tftp66 code 66 = ip-address;'
  set service dhcp-server global-parameters 'option tftp150 code 150 = ip-address;'
  set service dhcp-server shared-network-name VoIP subnet 192.168.0.0/24 subnet-parameters 'option tftp66 192.168.0.253;'
  set service dhcp-server shared-network-name VoIP subnet 192.168.0.0/24 subnet-parameters 'option tftp150 192.168.0.253;'

While we're at it, lets also tell new Unifi devices where to pick up the controller!

  set service dhcp-server shared-network-name LAN subnet 192.168.0.0/24 unifi-controller 192.168.0.253