To receive notifications about IP address exhaustion, configure the DHCP to generate alarms for IP address exhaustion.
system-view
interface interface-type interface-number
dhcp server alarm ip-used percentage alarm-resume-percentage alarm-percentage
By default, the percentage of the alarms is 100%, and the percentage of the clear alarms is 50%.
When the address usage in the address pool reaches the alarm threshold, the device reports the alarm AM_1.3.6.1.4.1.2011.6.8.2.2.0.6 hwUsedIPReachThreshold. This alarm is reported only once within 10 minutes.
ip pool ip-pool-name
alarm ip-used percentage alarm-resume-percentage alarm-percentage