346
35.4 ip dhcp relay information policy
Description
The ip dhcp relay information policy command is used to specify the
operation for the Option 82 field of the DHCP request packets from the Host.
To restore to the default option, please use no ip dhcp relay information
policy command.
Syntax
ip dhcp relay information policy { drop | keep | replace }
no ip dhcp relay information policy
Parameter
drop | keep | replace ——The operations for Option 82 field of the DHCP
request packets from the Host. The default operation is keep.
drop: Discard the packet with the Option 82 field.
keep: Keep the Option 82 field in the packet.
replace: Replace the option 82 field with the system option defined by the
switch.
Command Mode
Global Configuration Mode
Privilege Requirement
Only Admin, Operator and Power User level users have access to these
commands.
Example
Specify the option 82 policy as replace to replace the Option 82 field with the
local parameter on receiving the DHCP request packet:
T1600G-52TS(config)# ip dhcp relay information policy replace
35.5 ip dhcp relay information custom
Description
The ip dhcp relay information custom command is used to enable the
switch to customize the option 82 field. To disable this function, please use
no ip dhcp relay information custom command.
Syntax
ip dhcp relay information custom