The dhcpv6 server database command enables the device to save DHCPv6 data to storage devices.
The undo dhcpv6 server database command disables the device from saving DHCPv6 data to storage devices.
By default, the device is disabled from saving DHCPv6 data to storage devices.
Parameter |
Description |
Value |
---|---|---|
url |
Specifies the path and name of the file that data is saved to. |
The value is a string of 1 to 63 case-insensitive characters without spaces. |
write-delay interval |
Specifies the interval at which DHCPv6 data is saved. |
The value is an integer ranging from 300 to 86400, in seconds. The default value is 86400 seconds. |
Usage Scenario
When the device functions as a DHCPv6 or DHCPv6 PD server, run the dhcpv6 server database command to enable the device to save DHCPv6 data to storage devices. This avoids data loss caused by device faults. DHCPv6 data includes the last data recording time, address pool name, client DUID, IAID, address and prefix bound to the client DUID and IAID, conflicted address, and conflict detection time.
The device automatically saves current DHCPv6 data at the specified interval, and previous data files are overwritten. The interval can be set using the write-delay interval parameter.
Precautions
If the DHCPv6 client requests for lease renewal when the device (functioning as the DHCPv6 server) restarts, the device cannot receive the renewal request and the client fails to renew the lease.