Displaying the bootp gateway -129, Displaying the bootp gateway -130, Displaying the bootp gateway – HP 3500YL User Manual

Page 303

Advertising
background image

IP Routing Features

Configuring DHCP Relay

You must be in VLAN context to use this command, for example:

ProCurve# config

ProCurve(config)# vlan 1

ProCurve(vlan-1)#

Syntax: ip bootp-gateway <ip-addr>

Allows you to configure an IP address for the DHCP relay
agent to use for DHCP requests. The IP address must have been
configured on the interface.

Default: Lowest-numbered IP address

If the IP address has not already been configured on the interface (VLAN), you
will see the message shown in Figure 5-58.

ProCurve# config

ProCurve(config)# vlan 1

ProCurve(vlan-1)# ip bootp-gateway 10.10.10.1

The IP address 10.10.10.1 is not configured on this VLAN.

Figure 5-58. Example of Trying to Configure an IP Address that is not on this

Interface (VLAN)

Displaying the BOOTP Gateway

To display the configured BOOTP gateway for an interface (VLAN) or all
interfaces, enter this command. You do not need to be in VLAN context mode.

Syntax: show dhcp-relay bootp-gateway [vlan <vid>]

Displays the configured BOOTP gateway for a specified VLAN
(interface). If a specific VLAN ID is not entered, all VLANs
and their configured BOOTP gateways display.

Figure 5-59 shows an IP address being assigned to a gateway for VLAN 22, and
then displayed using the

show dhcp-relay bootp-gateway command.

5-129

Advertising