273
If the file is on a TFTP server, enter URL in the format of tftp://server address:port/file path,
where the port number is optional.
The username and password must be the same as those configured on the FTP or TFTP
server. If the server authenticates only the username, the password can be omitted. For
example, enter URL ftp://1.1.1.1/database.dhcp username admin at the CLI to specify the
URL and username for the file on an FTP server.
If the IP address of the server is an IPv6 address, enclose the address in a pair of brackets, for
example, ftp://[1::1]/database.dhcp.
You can also specify the DNS domain name for the server address field, for example,
ftp://company/database.dhcp.
Examples
# Configure the DHCPv6 snooping device to back up DHCPv6 snooping entries to the file
database.dhcp.
<Sysname> system-view
[Sysname] ipv6 dhcp snooping binding database filename database.dhcp
# Configure the DHCPv6 snooping device to back up DHCPv6 snooping entries to the file
database.dhcp in the working directory of the FTP server at 1::1.
<Sysname> system-view
[Sysname] ipv6 dhcp snooping binding database filename url ftp://[1::1]/database.dhcp
username 1 password simple 1
# Configure the DHCPv6 snooping device to back up DHCPv6 snooping entries to the file
database.dhcp in the working directory of the TFTP server at 2::1.
<Sysname> system-view
[Sysname] ipv6 dhcp snooping binding database filename tftp://[2::1]/database.dhcp
Related commands
ipv6 dhcp snooping binding database update interval
ipv6 dhcp snooping binding database update interval
Use ipv6 dhcp snooping binding database update interval to set the waiting time after a
DHCPv6 snooping entry change for the DHCPv6 snooping device to update the backup file.
Use undo ipv6 dhcp snooping binding database update interval to restore the default.
Syntax
ipv6 dhcp snooping binding database update interval seconds
undo ipv6 dhcp snooping binding database update interval
Default
The DHCPv6 snooping device waits 300 seconds after a DHCPv6 snooping entry change to update
the backup file. If no DHCPv6 snooping entry changes, the backup file is not updated.
Views
System view
Predefined user roles
network-admin
Parameters
seconds: Sets the waiting time in seconds, in the range of 60 to 864000.