R0106-HP MSR Router Series Layer 3 - IP Services Command Reference(V7)
344
Usage guidelines
For security purposes, all passwords, including passwords configured in plaintext, are saved in
ciphertext.
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, follow these restrictions and guidelines to specify the URL, username,
and password:
• If the file is on an FTP server, enter URL in the format of ftp://server address:port/file path, where
the port number is optional.
• If the file is on an FTP 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
# 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 the database.dhcp file in the working directory of the FTP server at
1::1 with both the username and password as 1.
<Sysname> system-view
[Sysname] ipv6 dhcp snooping binding database filename url ftp://[1::1]/database.dhcp
username 1 password simple 1
# 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 url 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