
dhcp-relay
OVERVIEW
Category:
configPrimary context:
Related Commands
Usage: [no] dhcp-relay
[no] dhcp-relay [hop-count-increment]
dhcp-relay [option 82 append[validate]|replace[validate]
|drop[validate]|keep [mac|ip]]
[no] dhcp-relay [option 82 [validate]]
Description: Enable/disable DHCP relay agent on the device.
hop-count-increment --- optional argument to 'dhcp-relay' command used to
enable/disable increment of hop-count. By default it is
enabled.
option 82 --- optional argument to 'dhcp-relay' command used to specify
the operational status (enable/disable) of option 82.
append|replace|keep|drop --- argument to 'option 82' command used to
specify the policy to apply to client DHCP packets. There
is no default option 82 policy dened for the switch.
validate --- optional argument to 'option 82' append, replace, and drop
sub-arguments used to specify that a validation of the
server response packets such that at least one option 82
eld matches the remote ID of the current switch (multiple
option 82 elds may exist, if relay agent is congured
using the append policy).
If validation fails, the response is considered invalid and
thrown away.
mac --- Sets the remote ID to be the MAC address of the switch.
This is the default value.
ip --- Sets the remote ID to be the IP address of the VLAN on
which the client request was received.
COMMAND STRUCTURE
■ [no] dhcp-relay hop-count-increment -- Optional argument to dhcp-agent used to enable/disable
increment of DHCP hop-count field. (p. 162)
■ [no] dhcp-relay option -- Optional argument to dhcp-agent used to specify operational status for
DHCP options. (p. 164)
■ 82 -- Optional argument to dhcp-agent used to specify the operational status for option 82. (p.
161)
■ append -- Specifies that the option 82 field should be appended to client DHCP packet. (p.
161)
■ ip -- Sets the remote id to be the IP address of the VLAN on which the client request was
received. (p. 162)
■ mac -- Sets the remote id to be the MAC address of the switch. This is the default value.
(p. 163)
■ mgmt-vlan -- Sets the remote id to be the IP address of the Management VLAN. (p. 163)
■ validate -- Specifies the validation for server response. (p. 165)
■ drop -- Specifies that the DHCP packet will be dropped unconditionally, if option 82 field(s)
already exists in the client DHCP packet. (p. 161)
159© 2009 Hewlett-Packard Development Company, L.P.