
32-35
Example:
Set subscriber-id format of Relay Agent option82 as hexadecimal format.
Switch(config)#ip dhcp relay information option subscriber-id format hex
32.12 ip dhcp relay information policy
Command:
ip dhcp relay information policy {drop | keep | replace}
no ip dhcp relay information policy
Function:
This command is used to set the retransmitting policy of the system for the received DHCP request message which
contains option82. The drop mode means that if the message has option82, then the system will drop it without
processing; keep mode means that the system will keep the original option82 segment in the message, and forward
it to the server to process; replace mode means that the system will replace the option 82 segment in the existing
message with its own option 82
, and forward the message to the server to process. The “no ip dhcp relay information
policy” will set the retransmitting policy of the option 82 DCHP message as “replace”.
Parameters:
None
Command Mode:
Interface configuration mode.
Default Settings:
The system uses replace mode to replace the option 82 segment in the existing message with its own option 82.
User Guide:
Since the DHCP client messages might go through several DHCP Relay Agents when passed to the DHCP server,
the latter Relay Agents on the path should set policies to decide how to process the option82 added by Relay Agents
before them. The selection of option 82 retransmitting policies should take the configuration policy of the DHCP
server into account.
Example:
Set the retransmitting policy of DHCP messages option 82 as keep.
Switch(Config-if-Vlan1)#
ip dhcp relay information policy keep