Dynamic Host Configuration Protocol (DHCP) is a protocol to dynamically giva an IP address to different devices. In cisco, defining DHCP is following these steps:

  1. Define DHCP exclude-address: We separate unwanted address in DHCP

  2. Define DHCP Pool : We define DHCP pool which is assigned to clients

  3. Define network, dns-server and default router

SW1# conf t
SW1(config)#ip dhcp excluded-address
SW1(config)#ip dhcp pool HRT