dhcp server database update interval

Use dhcp server database update interval to set the waiting time for the DHCP server to update the backup file after a DHCP binding change.

Use undo dhcp server database update interval to restore the default.

Syntax

dhcp server database update interval interval

undo dhcp server database update interval

Default

The DHCP server waits 300 seconds to update the backup file after a DHCP binding change. If no DHCP binding changes, the backup file is not updated.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

interval: Specifies the waiting time in the range of 60 to 864000 seconds.

Usage guidelines

When a DHCP binding is created, updated, or removed, the waiting period starts. The DHCP server updates the backup file when the waiting period is reached. All bindings changed during the period will be saved to the backup file.

The waiting time takes effect only after you configure the DHCP binding auto backup by using the dhcp server database filename command.

Examples

# Set the waiting time to 10 minutes for the DHCP server to update the backup file.

<Sysname> system-view
[Sysname] dhcp server database update interval 600

Related commands

dhcp server database filename

dhcp server database update now

dhcp server database update stop