Configuring dhcpv6 snooping entry auto backup – H3C Technologies H3C S5560 Series Switches User Manual
Page 216

201
Configuring DHCPv6 snooping entry auto backup
The DHCPv6 snooping entry auto backup function saves DHCPv6 snooping entries to a backup file,
given that DHCPv6 snooping entries cannot survive a reboot. When the DHCPv6 snooping device
reboots, it automatically downloads the entries from the backup file. The auto backup helps the security
features provide services if these features (such as IP source guard) must use DHCPv6 snooping entries for
user authentication.
IMPORTANT:
If you disable DHCPv6 snooping with the undo ipv6 dhcp snooping enable command, the device deletes
all DHCPv6 snooping entries, including those stored in the specified backup file.
To configure DHCPv6 snooping entry auto backup:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the DHCPv6
snooping device to back
up DHCPv6 snooping
entries to a file.
ipv6 dhcp snooping
binding database
filename { filename | url
url [ username username
[ password { cipher |
simple } key
] ] }
By default, the DHCPv6 snooping device does
not back up the DHCPv6 snooping entries.
With this command executed, the DHCPv6
snooping device backs up DHCPv6 snooping
entries immediately and runs auto backup.
This command automatically creates the file if
you specify a non-existent file.
3.
(Optional.) Manually save
DHCPv6 snooping entries
to the backup file.
ipv6 dhcp snooping
binding database update
now
N/A
4.
(Optional.) Set the waiting
time after a DHCPv6
snooping entry change for
the DHCPv6 snooping
device to update the
backup file.
ipv6 dhcp snooping
binding database update
interval seconds
The default waiting time is 300 seconds.
The waiting period starts when a DHCPv6
snooping entry is learned, updated, or
removed. The DHCPv6 snooping device
updates the backup file when the specified
waiting period is reached. All changed entries
during the period will be saved to the backup
file.
If no DHCPv6 snooping entry changes, the
backup file is not updated.
Setting the maximum number of DHCPv6 snooping
entries
Perform this task to prevent the system resources from being overused.
To set the maximum number of DHCPv6 snooping entries: