ip bootp-gateway

Syntax

ip bootp-gateway <IPV4-ADDR>

no ip bootp-gateway <IPV4-ADDR>

Description

Configures a gateway address for the DHCP relay agent to use for DHCP requests. By default DHCP relay agent picks the lowest-numbered IP address on the interface.

The no form of this command removes the gateway address.

Command context

config-if

Parameters

<IPV4-ADDR>

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

Authority

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

Examples

On the 6400 Switch Series, interface identification differs.

Sets the IP address of the gateway for interface 1/1/1 to 10.10.10.10.

switch(config)# interface 1/1/1
switch(config-if)# ip bootp-gateway 10.10.10.10