What is DHCP?Dynamic Host Configuration Protocol


What is DHCP principle

Dynamic Host Configuration Protocol (DHCP) is a network management protocol used to automate the process of configuring devices on IP networks, thus allowing them to use network services such as DNS, NTP, and any communication protocol based on UDP or TCP. A DHCP server dynamically assigns an IP address and other network configuration parameters to each device on a network so they can communicate with other IP networks. DHCP is an enhancement of an older protocol called BOOTP. DHCP is an important part of the DDI Solution (DNS-DHCP-IPAM).

DHCP server CLI commands

Command optionsDescription
domain-nameSpecifies the domain name for the DHCP clients.
domain-name-serversSpecifies the Domain Name System (DNS) IP servers that are available to the DHCP clients.
merit-dumpSpecifies the path name of a file into which the client’s core image should be placed in the event that the client crashes (the DHCP application issues an exception in case of errors such as division by zero).
root-pathSpecifies the name of the path that contains the client’s root filesystem in NFS notation.
routerAdds the default router and gateway for the DHCP clients.
subnet-maskDefines the subnet mask for the network.
broadcast-addressDefines a broadcast address for the network.
wins-serverDefines the NetBIOS Windows Internet Naming Service (WINS) name servers that are available to Microsoft DHCP clients.
log-serversDefines a list of log servers available to the client.
bootstrap-serverSpecifies the IP address of the bootstrap server (the command fills the “siaddr” field in the DHCP packet).
dbexpire commandSpecifies how long, in seconds, the DHCP server should wait before aborting a database transfer.
ip dhcp-server arp-ping-timeoutSpecifies the time (in seconds) the server will wait for a response to an arp-ping packet before deleting the client from the binding database. The minimum setting is 5 seconds and the maximum time is 30 seconds.NOTEDo not alter the default value unless it is necessary. Increasing the value of this timer may increase the time to get console access after a reboot.
clear ip dhcp-server bindingDeletes a specific, or all leases from the binding database.
ip dhcp-server enableEnables the DHCP server feature.
no ip dhcp-server mgmtDisables DHCP server on the management port.
ip dhcp-server poolSwitches to pool configuration mode (config-dhcp-name# prompt) and creates an address pool.
ip dhcp-server relay-agent-echo enableEnables relay agent echo (Option 82).
ip dhcp-serverSpecifies the IP address of the selected DHCP server.
show ip dhcp-server bindingDisplays a specific lease entry, or all lease entries.
show ip dhcp-serverDisplays a specific address pool or all address pools.
show ip dhcp-server flashDisplays the lease binding database that is stored in flash memory.
show ip dhcp-server summaryDisplays a summary of active leases, deployed address pools, undeployed address pools, and server uptime.
bootfileSpecifies a boot image to be used by the client.
deployDeploys an address pool configuration to the server.
dhcp-default-routerSpecifies the IP address of the default router or routers for a client.
dns-serverSpecifies the IP addresses of a DNS server or servers available to the client.
domain-nameConfigures the domain name for the client.
leaseSpecifies the lease duration for an address pool. The default is a one-day lease.
excluded-addressSpecifies an address or range of addresses to be excluded from the address pool.
netbios-name-serverSpecifies the IP address of a NetBIOS WINS server or servers that are available to Microsoft DHCP clients.
networkConfigures the subnet network and mask of the DHCP address pool.
next-bootstrap-serverConfigures the IP address of the next server to be used for startup by the client.
tftp-serverConfigures the address or name of the TFTP server available to the client.
vendor-classSpecifies the vendor type and configuration value for the DHCP client.

Drop your comment

Hits: 31

Comments and Responses

Your email address will not be published. Required fields are marked *