DHCP server

Last Updated : Aug 25, 2023 |
Prolog information
DHCP server CLI commands
Root level command
First level command
Second level command
Description
clear ip dhcp-server binding
Delete IP address binding.
clear ip dhcp server statistics
Clear the statistics of the DHCP server.
ip dhcp activate pool
Activate configured DHCP pools.
ip dhcp ping packets
Enable the sending of a ping packet by the DHCP server to check if the IP address it is about to allocate is already in use by another client.
ip dhcp ping timeout
Set the time the DHCP server waits for a reply to a sent ping packet before allocating an IP address to a DHCP client.
ip dhcp pool
Create a DHCP pool.
bootfile
Provide startup parameters for the DHCP client device.
client-identifier
Reserve the pool’s IP address for assignment to a specific client.
default-router
Set up to eight default router IP addresses in order of preference.
dns-server
Set up to eight Domain Name Server (DNS) IP addresses.
domain-name
Set a domain name string for the client.
end-ip-addr
Set the end IP address of the range of available IP addresses that the DHCP server may assign to clients.
lease
Configure the lease period for IP address assignment.
name
Configure the pool’s name.
next-server
Specify the IP address of the next server in the boot process of a DHCP client.
option
Enter the context of a DHCP option.
name
Configure a name for the DHCP option.
value
Enter the option data type and the option data.
Announcement files
Specify the optional server name in the boot process of a DHCP client.
show ip dhcp-pool
Display DHCP pool configurations.
start-ip-addr
Set the start IP address of the range of available IP addresses that the DHCP server may assign to clients.
subnet-mask
Configure the subnet mask of the pool.
vendor-specific-option
Create a vendor-specific option with a unique index.
class-identifier
Set a vendor-specific identifier.
name
Name the vendor-specific option.
value
Set the data type and value of the vendor-specific option.
ip dhcp-server
Activate DHCP server.
show ip dhcp-server bindings
Display bindings.
show ip dhcp-server statistics
Display DHCP server statistic.