HP (Hewlett-Packard) 5372XL Switch User Manual


 
IP Routing Features
Configuring DHCP Relay
Minimum Requirements for DHCP Relay Operation
In order for the DHCP Relay agent to work, the following steps must be
completed:
1. DHCP Relay is enabled on the routing switch
2. A DHCP server is servicing the routing switch
3. IP Routing is enabled on the routing switch
4. There is a route from the DHCP server to the routing switch and back
5. An IP Helper address is configured on the routing switch, set to the IP
address of the DHCP server on the VLAN that is connected to the DHCP
Client.
Enabling DHCP Relay
To enable the DHCP Relay function for the routing switch, at the Config CLI
context level, enter the command:
HPswitch(config)# dhcp-relay
To disable the DHCP Relay function, enter the command:
HPswitch(config)# no dhcp-relay
Configuring a Helper Address
At the VLAN configuration CLI context level, enter the commands to add the
DHCP servers IP address to the VLANs list. For example, to configure a helper
address for VLAN 1, enter these commands:
HPswitch(conf)# vlan 1
HPswitch(vlan-1)# ip helper-address <ip-addr>
To remove the DHCP server helper address, enter this command:
HPswitch(vlan-1)# no ip helper-address <ip-addr>
16-73