Ip Dhcp Packet Strict-Validation - Cisco Nexus 7000 Series Command Reference Manual

Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

I Commands

ip dhcp packet strict-validation

To enable the strict validation of DHCP packets by the DHCP snooping feature, use the ip dhcp packet
strict-validation command. To disable the strict validation of DHCP packets, use the no form of this command.
ip dhcp packet strict-validation
no ip dhcp packet strict-validation
Syntax Description
This command has no arguments or keywords.
Command Default
None
Command Modes
Global configuration
Command History
Release
5.0(2)
Usage Guidelines
This command does not require a license.
You must enable DHCP snooping before you can use the ip dhcp packet strict-validation command.
Strict validation of DHCP packets checks that the DHCP options field in DCHP packets is valid, including
the "magic cookie" value in the first four bytes of the options field. When strict validation of DHCP packets
is enabled, the device drops DHCP packets that fail validation.
Examples
This example shows how to enable the strict validation of DHCP packets:
switch# configure terminal
switch(config)# ip dhcp packet strict-validation
switch(config)#
Related Commands
Command
feature dhcp
ip dhcp relay information option
ip dhcp snooping
Modification
This command was introduced.
Description
Enables the DHCP snooping feature on the device.
Enables the insertion and removal of option-82
information from DHCP packets forwarded by the
DHCP relay agent.
Globally enables DHCP snooping on the device.
Cisco Nexus 7000 Series Security Command Reference
ip dhcp packet strict-validation
389

Advertisement

Table of Contents
loading

Table of Contents