Configure
configure terminal
ip dhcp excluded-address 10.1.64.1 10.1.64.9
ip dhcp excluded-address 10.1.64.201 10.1.64.255
ip dhcp pool VLAN05
default-router 10.1.64.1
dns-server 8.8.8.8 4.2.2.3
domain-name microsoft.com
option 150 ip 10.1.68.8
network 10.1.64.0 255.255.255.0
lease infinite
utilization mark high 80 log
utilization mark low 70 log
end
Note :
** Configures the high utilization mark of the current address pool size.
The log keyword enables the logging of a system message. A system message will be
generated for a DHCP pool when the pool utilization exceeds the conigured high utilization threshold.
** lease {days [hours][minutes] | infinite}
** option [Number]
Iana List: http://www.iana.org/assignments/bootp-dhcp-parameters/bootp-dhcp-parameters.txt
Verify: Show Commands
#show ip dhcp pool POOL-NAME
(Displays information about DHCP address pools)
#show ip dhcp binding
(Use this command to display the IP addresses that have already been assigned)
#show ip dhcp conflict
(Displays a list of all address conflicts)
#show ip dhcp database
(Displays recent activity on the DHCP database)
#show ip dhcp server statistics
(Displays count information about server statistics and messages sent and received)
#debug ip dhcp server packet