Example
console(config-if-1/g1)#ip dhcp snooping log-invalid
console(config-if-1/g1)#no ip dhcp snooping log-invalid
ip dhcp snooping trust
Use the ip dhcp snooping trust command to configure a port as trusted. Use the "no" form of
this command to configure a port as untrusted.
Syntax
ip dhcp snooping trust
no ip dhcp snooping trust
Default Configuration
Ports are untrusted by default.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
There are no user guidelines for this command.
Example
console(config-if-1/g1)#ip dhcp snooping trust
console(config-if-1/g1)#no ip dhcp snooping trust
ip dhcp snooping verify mac-address
Use the ip dhcp snooping verify mac-address command to enable the verification of the source
MAC address with the client MAC address in the received DHCP message. Use the "no" form
of this command to disable verification of the source MAC address.
Syntax
ip dhcp snooping verify mac-address
no ip dhcp snooping verify mac-address
216
DHCP Snooping Commands