Configuring an Interface as the Trusted Interface
Context
To enable DHCP clients to obtain IP addresses from authorized DHCP servers, configure the interfaces directly or indirectly connected to the DHCP servers trusted by the administrator as the trusted interfaces, and other interfaces as untrusted interfaces. This prevents bogus DHCP servers from assigning IP addresses to DHCP clients.
After enabling DHCP snooping on the interface (including Layer 2 subinterfaces) or in the VLAN connected to the user, configure the interface connected to the DHCP server as the trusted interface, so that the dynamic DHCP snooping binding table is generated.