DHCP Snooping Commands
OL-32830-01 Command Line Interface Reference Guide
Syntax
ip dhcp snooping trust
no ip dhcp snooping trust
Parameters
N/A
Default Configuration
The interface is untrusted.
Command Mode
Interface (Ethernet, Port Channel) Configuration mode
User Guidelines
Configure as trusted the ports that are connected to a DHCP server or to other
switches or routers. Configure the ports that are connected to DHCP clients as
untrusted.
Example
The following example configures gi 1 4 as trusted for DHCP Snooping.
switchxxxxxx(config)#
switchxxxxxx(config-if)#
13.4 ip dhcp snooping information option
allowed-untrusted
Use the ip dhcp snooping information option allowed-untrusted Global
Configuration mode command to allow a device to accept DHCP packets with
option-82 information from an untrusted port. Use the no form of this command to
drop these packets from an untrusted port.
Syntax
ip dhcp snooping information option allowed-untrusted
no ip dhcp snooping information option allowed-untrusted
gi1
interface
4
ip dhcp snooping trust
13
312