The dhcp snooping user-alarm percentage command configures the alarm thresholds for the percentage of DHCP snooping binding entries.
The undo dhcp snooping user-alarm percentage command restores the default alarm thresholds for the percentage of DHCP snooping binding entries.
By default, the lower alarm threshold for the percentage of DHCP snooping binding entries is 50, and the upper alarm threshold for the percentage of DHCP snooping binding entries is 100.
dhcp snooping user-alarm percentage percent-lower-value percent-upper-value
undo dhcp snooping user-alarm percentage
Parameter | Description | Value |
---|---|---|
percent-lower-value | Specifies the lower alarm threshold for the percentage of DHCP snooping binding entries. |
The value is an integer that ranges from 1 to 100. |
percent-upper-value | Specifies the upper alarm threshold for the percentage of DHCP snooping binding entries. |
The value is an integer that ranges from 1 to 100, but must be greater than or equal to the lower alarm threshold. |
After you run the dhcp snooping max-user-number command to set the maximum number of DHCP snooping binding entries on an interface, you can run the dhcp snooping user-alarm percentage command to set the alarm thresholds for the percentage of DHCP snooping binding entries.
When the percentage of learned DHCP snooping binding entries against the maximum number of DHCP snooping entries allowed by the device reaches or exceeds the upper alarm threshold, the device generates an alarm. When the percentage of learned DHCP snooping binding entries against the maximum number of DHCP snooping entries allowed by the device reaches or falls below the lower alarm threshold later, the device generates a clear alarm.