The dhcp snooping packet whitelist command creates a whitelist for DHCP packets.
The undo dhcp snooping packet whitelist command deletes a whitelist for DHCP packets.
By default, no whitelist is created, and packets are not filtered based on whitelists.
Usage Scenario
DHCP snooping whitelist is used on the AC and network sides of the UPE to filter DHCP packets to be sent to the CPU. After DHCP snooping is enabled, run the dhcp snooping packet whitelist command to create a whitelist. Only DHCP packets listed in the whitelist are sent to the CPU, and the DHCP packets not listed in the whitelist are simply forwarded. This protects the device against attacks.
Precautions
Note the following: