Alcatel-Lucent 6850-48 Reference Guide

Page of 3444
DHCP Relay Commands
page 36-18
OmniSwitch CLI Reference Guide
September 2009
ip helper agent-information policy
Configures a policy that determines how the DHCP relay agent will handle DHCP packets that already 
contain an Option-82 field.
ip helper agent-information policy {drop | keep | replace}
Syntax Definitions
drop
Drop DHCP packets that already contain an Option-82 field.
keep
Keep the existing Option-82 field information and continue to relay the 
DHCP packet.
replace
Replace the existing Option-82 field information with local relay agent 
information and continue to relay the DHCP packet.
Defaults
By default, DHCP packets that already contain an Option-82 field are dropped.
Platforms Supported
OmniSwitch 6400, 6850, 6855, 9000, 9000E
Usage Guidelines
• The policy configured with this command is only applied if the DHCP Option-82 feature is enabled for 
the switch.
• The agent information policy is not applied if the DHCP relay agent receives a DHCP packet from a 
client that contains a non-zero value for the gateway IP address (giaddr). In this case, the agent will not 
insert the relay agent information option into the DHCP packet and will forward the packet to the 
DHCP server. 
• Note that if a DHCP packet contains a gateway IP address (giaddr) value that matches a local subnet 
and also contains the Option-82 field, the packet is dropped by the relay agent.
Examples
-> ip helper agent-information policy drop
-> ip helper agent-information policy keep
-> ip helper agent-information policy replace
Release History
Release 6.1.2; command was introduced.