clish
add dhcp server subnet <network-ip> netmask <cidr>
add dhcp server subnet <network-ip> include-ip-pool start <pool-start-ip> end <pool-end-ip>
set dhcp server subnet <network-ip> include-ip-pool <pool-start-ip>-<pool-end-ip> enable
set dhcp server subnet <network-ip> default-lease <default-lease-time>
set dhcp server subnet <network-ip> max-lease <max-lease-time>
set dhcp server subnet <network-ip> default-gateway <default-gw-ip>
set dhcp server subnet <network-ip> dns ‘<server1>, <server2>’
set dhcp server subnet <network-ip> domain <domain>
set dhcp server subnet <network-ip> enable
set dhcp server enable
save config

Documentation

Next Post Previous Post