Configuring DHCPv6 binding auto backup
The auto backup feature saves DHCPv6 bindings to a backup file, and allows the DHCPv6 server to download the bindings from the backup file at the server reboot. The bindings include the lease bindings and conflicted IPv6 addresses. They cannot survive a reboot on the DHCPv6 server.
The DHCPv6 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 DHCPv6 server to provide services without waiting for the connection to be repaired.
To configure DHCPv6 binding auto backup:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Configure the DHCPv6 server to back up the bindings to a file. | ipv6 dhcp server database filename { filename | url url [ username username [ password { cipher | simple } string ] ] } | By default, the DHCPv6 server does not back up the DHCPv6 bindings. With this command executed, the DHCPv6 server backs up its bindings immediately and runs auto backup. |
3. (Optional.) Manually save the DHCPv6 bindings to the backup file. | ipv6 dhcp server database update now | N/A |
4. (Optional.) Set the waiting time after a DHCPv6 binding change for the DHCPv6 server to update the backup file. | ipv6 dhcp server database update interval interval | The default waiting time is 300 seconds. If no DHCPv6 binding changes, the backup file is not updated. |
5. (Optional.) Terminate the download of DHCPv6 bindings from the backup file. | ipv6 dhcp server database update stop | N/A |