Fortinet Technologies Inc. Page 90 FortiVoice 200D/200D-T v2.0 MR1 CLI Reference
system dhcp server
Use this command to configure the DHCP server.
A DHCP server provides an address to a client on the network, when requested, from a defined
address range.
You can configure one or more DHCP servers on any FortiVoice interface. A DHCP server
dynamically assigns IP addresses to hosts on the network connected to the interface. The host
extensions must be configured to obtain their IP addresses using DHCP.
Syntax
config system dhcp server
edit <dhcp_id>
config exclude-range
edit <ip_range_id>
set start-ip <ip_addr>
set end-ip <ip_addr>
config ip-range
edit <ip_range_id>
set start-ip <ip_addr>
set end-ip <ip_addr>
config reserved-address
edit <reserved_ip_id>
set ip <ip_addr>
set mac <mac_addr>
set auto-configuration {enable | disable}
set conflicted-ip-timeout <int>
set default-gateway <ip_addr>
set dns-server1 <ip_addr>
set dns-server2 <ip_addr>
set dns-service {default | specify}
set domain <name-str>
set interface <name_str>
set lease-time <int>
set match vci {enable | disable}
set netmask <ip>
set option1 <option_code> [<option_hex>]
set option2 <option_code> [<option_hex>]
set option3 <option_code> [<option_hex>]
set tftp-server <tftp_name/ip>
set status {enable | disable}
set vci-string <string>
end