DHCP Commands
ip dhcp snooping trust
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide 131
8
ip dhcp snooping trust
The ip dhcp snooping trust Interface Configuration (Ethernet, Port-channel) mode
command configures a port as trusted for DHCP snooping purposes. Use the no
form of this command to return to the default configuration.
Syntax
ip dhcp snooping trust
no ip dhcp snooping trust
Default Configuration
The interface is untrusted.
Command Mode
Interface Configuration (Ethernet, Port-channel) mode
User Guidelines
Configure as trusted ports: Ports that are connected to a DHCP server or to other
switches or routers.
Configure as untrusted ports: Ports that are connected to DHCP clients.
Example
The following example configures a port as trusted for DHCP snooping purposes.
Console(config)# interface ethernet 1
Console(config-if)# ip dhcp snooping trust