The dhcp snooping check dhcp-rate alarm threshold command sets the alarm threshold for checking the rate of sending DHCP messages to the processing unit. An alarm is sent when the number of discarded DHCP messages exceeds the alarm threshold.
The undo dhcp snooping check dhcp-rate alarm threshold command restores the default threshold for checking the rate of sending DHCP messages to the processing unit.
By default, the alarm threshold for checking the rate of sending DHCP messages to the processing unit is the value set through the dhcp snooping alarm threshold threshold command in the system view. If the command is not run, the default value is 100.
dhcp snooping check dhcp-rate alarm threshold threshold
undo dhcp snooping check dhcp-rate alarm threshold
| Parameter | Description | Value |
|---|---|---|
threshold |
Specifies the alarm threshold for checking the rate of sending DHCP messages to the processing unit. An alarm is generated after the rate for sending DHCP messages is checked and the number of discarded DHCP messages reaches the alarm threshold. |
The value is an integer ranging from 1 to 1000, in packets. |
After the dhcp snooping check dhcp-rate alarm threshold command is run, the device sends a trap message if the number of discarded DHCP messages reaches the alarm threshold.
The dhcp snooping check dhcp-rate alarm threshold command takes effect after the alarm for checking the rate of sending DHCP message to the processing unit is enabled.