Configuring DHCP Server Settings 889
Monitoring DHCP Server Information
Beginning in Privileged EXEC mode, use the following commands to view
bindings, conflicts, and statistics, and to clear the information.
default-router
address1
[
address2....address8
]
Specify the list of default gateway IP addresses to be
assigned to the DHCP client.
dns-server
address1
[
address2....address8
]
Specify the list of DNS server IP addresses to be assigned
to the DHCP client.
domain-name
domain
Specify the domain name for a DHCP client.
option
code
{ascii
string
| hex
string1
[
string2...string8
] | ip
address1
[
address2...address8
]}
Manually configure DHCP options.
CTRL + Z Exit to Privileged EXEC mode.
show ip dhcp pool
configuration {
name
|
all}
View the settings for the specified address pool or for all
configured address pools.
Command Purpose
show ip dhcp binding
[
address
]
View the current binding information in the DHCP server
database. Specify the IP address to view a specific binding.
clear ip dhcp binding
{
address
| *}
Delete an automatic address binding from the DHCP
server database. Use * to clear all bindings.
show ip dhcp conflict
[
address
]
View the current binding conflicts in the DHCP server
database. Specify the IP address to view a specific conflict.
clear ip dhcp conflict
{
address
| *}
Clear an address conflict from the DHCP Server database.
Use * to clear all conflicts.
show ip dhcp server
statistics
View DHCP server statistics.
clear ip dhcp server
statistics
Reset all DHCP server statistics to zero.
Command Purpose