ip helper-address

Syntax

ip helper-address <IPV4-ADDR> [vrf <VRF-NAME>]

no ip helper-address <IPV4-ADDR> [vrf <VRF-NAME>]

Description

Defines the address of a remote DHCP server or DHCP relay agent. Up to eight addresses can be defined. The DHCP agent forwards DHCP client requests to all defined servers.

This command requires that you define a source IP address for DHCP relay with the command ip source-interface. The configured source IP on the VRF is used to forward DHCP packets to the server.

A helper address cannot be defined on the OOBM interface.

The no form of this command removes an IP helper address.

Command context

config-if

Parameters

helper-address <IPV4-ADDR>

Specifies the helper IP address in IPv4 format (x.x.x.x), where x is a decimal number from 0 to 255.

vrf <VRF-NAME>

Specifies the name of a VRF. Default: default.

Authority

Administrators or local user group members with execution rights for this command.

Examples

On the 6400 Switch Series, interface identification differs.

Defining the IP helper address 10.10.10.209 on interface 1/1/1.
switch(config)# interface 1/1/1
switch(config-if)# ip helper-address 10.10.10.209
Removing the IP helper address 10.10.10.209 on interface 1/1/1.
switch(config-if)# no ip helper-address 10.10.10.209
Defining the IP helper address 10.10.10.209 on interface 1/1/2 on VRF myvrf .
switch(config)# interface 1/1/2
switch(config-if)# ip helper-address 10.10.10.209 vrf myvrf
Removing the IP helper address 10.10.10.209 on interface 1/1/2 on VRF myvrf.
switch(config-if)# no ip helper-address 10.10.10.209 vrf myvrf