ip dhcp packet strict-validation
Use this command to enable strict validation of DHCP packets. Strict validation of the DHCP packet checks that the DHCP option field in the packet is valid including the magic cookie value in the first four bytes of the options field. The device drops the packet if validation fails.
Use the no parameter to disable strict validation.
Command Syntax
ip dhcp packet strict-validation bridge <1-32>
no ip dhcp packet strict-validation bridge <1-32>
Parameters
<1-32>
Bridge number
Default
By default strict validation of the DHCP packets is disabled.
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#config termminal
(config)#ip dhcp packet strict-validation bridge 1
(config)#no ip dhcp packet strict-validation bridge 1
Last modified date: 08/28/2023