The dhcp anti-attack check duplicate option command enables the device to check and discard DHCP messages with duplicate options.
The undo dhcp anti-attack check duplicate option command disables the device from checking and discarding DHCP messages with duplicate options.
By default, the device is disabled from checking and discarding DHCP messages with duplicate options.
dhcp anti-attack check duplicate option [ option-start [ to option-end ] ] &<1-254>
undo dhcp anti-attack check duplicate option [ option-start [ to option-end ] ] &<1-254>
Parameter | Description | Value |
---|---|---|
option-start [ to option-end ] |
Specifies the option value.
|
The value is an integer in the range 1 to 254. For an option, the end value must be larger than the start value. |
Usage Scenario
The dhcp anti-attack check duplicate option command applies to DHCP servers, DHCP relay agents, DHCP clients, and DHCP snooping-enabled devices. To discard DHCP messages with duplicate options 1 to 254, run the dhcp anti-attack check duplicate option command.
Prerequisites
DHCP has been enabled using the dhcp enable command.