DGS-6604
ip dhcp relay information check
CLI Reference Guide
256
ip dhcp relay information check
Use this command to configure the DHCP relay agent to validate the relay agent
information option in the received DHCP reply packet.
ip dhcp relay information check
no ip dhcp relay information check
Syntax
None
Default
Enabled
Command Mode
Global configuration
Usage Guideline
When this check for the reply packet is enabled, the device will check that the
option-82 field in DHCP reply packets it receives from the DHCP server is valid. If
an invalid message is received, the relay agent drops it. If a valid message is
received, the relay agent removes the option-82 field and forwards the packet.
If the check is disabled, a packet with an invalid option-82 field will be directly
forwarded.
Example
Enabled DHCP relay agent check for the reply packet.
Verify the settings by entering the
show ip dhcp relay
command.
Switch# configure terminal
Switch(config)# ip dhcp relay information check