Dynamic Host Configuration Protocol (DHCP) Commands
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
53.13
ip dhcp-relay information policy
This command modifies how the relay agent responds to a request packet it receives from a
client where the option 82 field already contains a relay agent’s details. Use this command to
alter the relay agent’s option 82 setting when your device is not the first hop for the DHCP
client.
Before acting on a request, the relay agent checks that the packet has a Gateway Interface
Address (giaddr) set for a relay agent within the DHCP payload, as well as within the option 82
field. If there is no giaddr set, then the request is dropped. If the request has the giaddr in both
the payload and option 82 field, then the relay agent responds according to the policy specified
using this command.
By default, the relay agent replaces any existing option field with its own relay agent field. This is
the functionality of the
replace
parameter.
Syntax
ip dhcp-relay information policy [append|drop|keep|replace]
Mode
Interface mode
Examples
To make the relay agent listening on vlan15 drop any client requests received from another
relay agent, use the command:
awplus(config)#
interface vlan15
awplus(config-if)#
ip dhcp-relay information policy drop
Related Commands
ip dhcp-relay agent-option
service dhcp-server
Parameter
Description
append
The relay agent appends the option 82 field of the packet with its
own option 82 details.
drop
The relay agent discards the packet.
keep
The relay agent forwards the packet without altering the option 82
field.
replace
The relay agent replaces the existing relay agent details in the
option 82 field with its own details before forwarding the packet.