57
Configuring DHCP binding auto backup
The auto backup feature saves bindings to a backup file and allows the DHCP server to download
the bindings from the backup file at the server reboot. The bindings include the lease bindings and
conflicted IP addresses. They cannot survive a reboot on the DHCP server.
The DHCP server does not provide services during the download process. If a connection error
occurs during the process and cannot be repaired in a short amount of time, you can terminate the
download operation. Manual interruption allows the DHCP server to provide services without waiting
for the connection to be repaired.
To configure DHCP binding auto backup:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Configure the DHCP server to
back up the bindings to a file.
dhcp server database filename
{ filename |
url
url [
username
username [
password
{
cipher
|
simple
} string ] ] }
By default, the DHCP server
does not back up the DHCP
bindings.
With this command executed,
the DHCP server backs up its
bindings immediately and runs
auto backup.
3. (Optional.) Manually save the
DHCP bindings to the backup
file.
dhcp server database update
now
N/A
4. (Optional.) Set the waiting
time after a DHCP binding
change for the DHCP server
to update the backup file.
dhcp server database update
interval
interval
The default waiting time is 300
seconds.
If no DHCP binding changes,
the backup file is not updated.
5. (Optional.) Terminate the
download of DHCP bindings
from the backup file.
dhcp server database update
stop
N/A
Configuring address pool usage alarming
Perform this task to set the threshold for address pool usage alarming. When the threshold is
exceeded, the system sends log messages to the information center. According to the log
information, you can optimize the address pool configuration. For more information about the
information center, see Network Management and Monitoring Configuration Guide.
To configure address pool usage alarming:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Create a DHCP address pool
and enter its view.
dhcp server ip-pool
pool-name
By default, no DHCP address
pool exists.
3. Set the threshold for address
pool usage alarming.
ip-in-use threshold
threshold-value
The default threshold is 100%.