The dhcp snooping trusted command configures an interface as a trusted interface.
The undo dhcp snooping trusted command restores the default configuration.
By default, after DHCP snooping is enabled, all interfaces are untrusted interfaces.
Usage Scenario
Bogus DHCP servers may send incorrect IP addresses to DHCP clients. As a result, DHCP clients cannot obtain services. To resolve this problem, you can enable DHCP snooping and configure interfaces connected with legitimate DHCP servers trusted. The other interfaces are untrusted by default. The device discards the DHCP reply packets received from untrusted interfaces to prevent bogus DHCP server attacks.
Prerequisites
DHCP snooping has been enabled globally by running the dhcp snooping enable command.
Precautions
After DHCP snooping is enabled, all interfaces are untrusted by default.
When DHCP snooping is disabled, all interfaces are trusted by default. If an interface is changed from untrusted to trusted, the dynamic DHCP snooping binding table is deleted from the interface.