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