HP MSR2000/3000/4000 Router Series Layer 3 - IP Services Command Reference
300
Parameters
filename: Specifies the name or URL of the file. If the file is on an FTP or TFTP server, specify a URL. If the
file is a local one, specify the file name, a case-sensitive string. Whether the URL is case sensitive
depends on the server. For information about file name formats, see Fundamentals Configuration Guide.
Usage guidelines
This command enables the device to immediately save DHCPv6 snooping entries to the specified
database file. If the file does not exist, the device automatically creates the file. The device does not
update the file for a specific amount of time after a DHCPv6 snooping entry changes. The default period
is 300 seconds. To change the value, use the ipv6 dhcp snooping binding database update interval
command.
When the file is on a remote device, specify the URL in the following format:
• ftp://username:password@server address:port/file path
• tftp://server address:port/file path
The following describes the parameters in the formats:
• The username and password must the same as those configured on the FTP/TFTP server. If the server
authenticates only the username, the password can be omitted. For example,
enter ftp://1:1@[1::1]/database.dhcp
to specify the URL for the file on an FTP server.
• If the IP address of the server is an IPv6 address, enclose it in a pair of brackets, for example,
tftp://[1::1]/database.dhcp.
• You can also specify the domain name for the server address field, for example,
ftp://1:1@company/database.dhcp.
Examples
# Specify the file database.dhcp to store DHCPv6 snooping entries.
<Sysname> system-view
[Sysname] ipv6 dhcp snooping binding database filename database.dhcp
# Save DHCPv6 snooping entries to 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 amount of time to wait to update the
database file after a DHCPv6 snooping entry changes.
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 waiting period is 300 seconds.










