The warning-threshold command sets an alarm threshold for the usage of IP addresses in an address pool.
The undo warning-threshold command restores the default configuration.
By default, the alarm threshold for the usage of IP addresses in an address pool is 80%.
Parameter | Description | Value |
---|---|---|
threshold-value |
Specifies the alarm threshold of the usage of IP addresses in an address pool. If the value is 80, an alarm is generated when the usage of IP addresses in the address pool reaches 80%. Value 0 indicates that the address usage alarm is disabled. |
The value ranges from 0 to 100, in percentage. |
Usage Scenario
When the status of IP addresses in an address pool is changed, the DHCP server re-calculates the address pool usage.
The address status is divided into the following types:Precautions
After the command is run repeatedly in the same view, the latest configuration overrides the previous configurations.
An address pool can be bound to multiple domains. The usage of IP addresses in the address pool will be changed regardless of which domain is allocated with IP addresses in the address pool. To enable an alarm to be generated when the address pool is exhausted, run the warning-exhaust command.