ip dhcp packet strict-validation bridge
Use this command to enable strict validation of DHCP packets. Strict validation checks that the DHCP option field in the packet is valid including the magic cookie in the first four bytes of the options field. The device drops the packet if validation fails.
Use the no form of this command 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 DHCP packets is disabled.
Command Mode
Configure mode
Applicability
This command was introduced in OcNOS version 5.0.
Example
configure terminal
(config)#bridge 1 protocol mstp
(config)#ip dhcp snooping bridge 1
(config)#ip dhcp packet strict-validation bridge 1
Last modified date: 10/19/2023