Syntax
•
ip dhcp snooping verify
•
no ip dhcp snooping verify
Default Configuration
The default configuration is that the switch verifies the source MAC address in a DHCP packet that is
received on untrusted ports matches the client hardware address in the packet.
Command Mode
Global Configuration mode.
User Guidelines
There are no user guidelines for this command.
Example
The following example configures a switch to verify on an untrusted port that the source MAC address in
a DHCP packet matches the client hardware address.
console(config)#ip dhcp snooping verify
ip dhcp snooping database
The ip dhcp snooping database Global Configuration mode command configures the DHCP snooping
binding file. Use the no form of this command to delete the binding file.
Syntax
•
ip dhcp snooping database
•
no ip dhcp snooping database
Default Configuration
The URL is not defined.
Command Mode
Global Configuration mode.
User Guidelines
•
To ensure that the lease time in the database is accurate, Simple Network Time Protocol (SNTP) is
enabled and configured.
•
The switch writes binding changes to the binding file only when the switch system clock is
synchronized with SNTP.
156
DHCP Snooping