dhcp speed-limit auto
Function
The dhcp speed-limit auto command enables dynamic rate limiting on DHCP packets.
The undo dhcp speed-limit auto command disables dynamic rate limiting on DHCP packets.
By default, dynamic rate limiting is disabled on DHCP packets.
Usage Guidelines
Usage Scenario
To ensure security or facilitate management, users may require that the DHCP packet processing rate should be limited. If the rate is not limited, CPU and memory resources can be used up due to malicious attacks.
Prerequisites
DHCP has been enabled globally by using the dhcp enable command.
Precautions
- A device functioning only as a DHCP snooping device or DHCP client supports this function.
- When the CPU usage is higher than 70% or the memory usage is higher than 65%, the DHCP packet processing rate is limited.
- The DHCP packet processing rate is the same as the smaller rate among the rates corresponding to the CPU or memory usage. For example, when the CPU usage is 80% and the memory usage is 80%, the DHCP packet rate is 50.