Before enabling the DHCP server function, enable DHCP in the system view.
The dhcp enable command is the prerequisite for configuring DHCP-related functions, including DHCP relay, DHCP snooping, and DHCP server. These functions take effect only after the dhcp enable command is run. After the undo dhcp enable command is run, all DHCP-related configurations of the device are deleted. After DHCP is enabled again using the dhcp enable command, all DHCP-related configurations of the device are restored to the default configurations.
After DHCP is enabled, if STP is also enabled, address allocation may slow down. By default, STP is enabled. To disable STP, run the undo stp enable command.
system-view
dhcp enable
By default, DHCP is disabled.
dhcp speed-limit auto
By default, dynamic rate limiting is disabled on DHCP messages.
dhcp broadcast suppress enable
By default, the DHCP broadcast suppression function is disabled.