ip helper-address

To disable the DHCP server in the switch, start the DHCP Relay service, and configure the IP address of the server to be contacted to get IP for clients, use the command ip helper-address in Interface Configuration Mode. This command is a complete standardized implementation of the existing command ip dhcp server and operates similar to that of the command ip dhcp server. This command also explicitly enables the DHCP relay and disables the DHCP server. The no form of the command deletes the IP address of the DHCP server.

ip helper-address

ip helper-address { <ip address> }

no ip helper-address

no ip helper-address { <ip address> }

Parameters

Parameter Type Description
<ip address>   Enter the IP address of the server to be contacted to get IP for clients. By default, the IP address is 0.0.0.0 and the status of DHCP Relay Servers disabled.

Mode

Interface Configuration Mode

Prerequisites

The relay agent will start forwarding the packets from the client to a specific DHCP server only when the relay agent is in the enabled state.

Examples

iS5comm(config-if)# ip helper-address 12.0.0.1