dhcp server alarm ip-used percentage
Function
The dhcp server alarm ip-used percentage command configures the percentage of the alarms indicating that the addresses in an interface address pool are used up, and the percentage of the clear alarms.
The undo dhcp server alarm ip-used percentage command restores the default percentages of the alarms and clear alarms.
By default, the percentage of the alarms indicating that the addresses in an interface address pool are used up is 100%, and the percentage of the clear alarms is 50%.
Format
dhcp server alarm ip-used percentage alarm-resume-percentage alarm-percentage
undo dhcp server alarm ip-used percentage
Parameters
Parameter |
Description |
Value |
---|---|---|
alarm-resume-percentage | Specifies the percentage of the clear alarms. | The value is an integer that ranges from 1 to 100. The default
value is 50. NOTE:
The percentage of the clear alarms cannot
exceed that of the alarms. |
alarm-percentage | Specifies the percentage of the alarms indicating that the addresses in an address pool are used up. | The value is an integer that ranges from 1 to 100. The default value is 100. |
Usage Guidelines
Usage Scenario
When the addresses in an interface address pool are used up, alarms are sent to notify the administrator.
Precautions
The percentage of the clear alarms cannot exceed that of the alarms.
Example
# Configure the percentage of the alarms indicating that the addresses in an interface address pool are used up, and the percentage of the clear alarms in the interface address pool of the VLANIF100.
<AC6605> system-view [AC6605] dhcp enable [AC6605] interface vlanif 100 [AC6605-Vlanif100] ip address 10.10.10.10 24 [AC6605-Vlanif100] dhcp select interface [AC6605-Vlanif100] dhcp server alarm ip-used percentage 80 90