To enable the DHCP server in the switch and relay agent features on router that assigns unique IP addresses and other configuration parameters to interfaces of a DHCP client, use the command service dhcp in Global Configuration Mode.The no form of this command disables the DHCP Server. This command is a complete standardized implementation of the existing command and operates similar to that of the command service dhcp-server.
Global Configuration Mode
iS5Comm(config)# service dhcp