R0106-HP MSR Router Series Layer 3 - IP Services Command Reference(V7)

84
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 DHCP snooping entries.
<Sysname> system-view
[Sysname] dhcp snooping binding database filename database.dhcp
# Save DHCP snooping entries to file database.dhcp i n t h e w o r k i n g d i r e c t o r y o f t h e F T P s e r v e r a t 10 .1.1.1
with both the username and password as 1.
<Sysname> system-view
[Sysname] dhcp snooping binding database filename url ftp://10.1.1.1/database.dhcp
username 1 password simple 1
# Save DHCP snooping entries to file database.dhcp in the working directory of the TFTP server at
10 .1.1.1.
<Sysname> system-view
[Sysname] dhcp snooping binding database filename url tftp://10.1.1.1/database.dhcp
Related commands
dhcp snooping binding database update interval
dhcp snooping binding database update interval
Use dhcp snooping binding database update interval to set the amount of time to wait to update the
database file after a DHCP snooping entry changes.
Use undo dhcp snooping binding database update interval to restore the default.
Syntax
dhcp snooping binding database update interval seconds
undo dhcp snooping binding database update interval
Default
The waiting period is 300 seconds.
Views
System view
Predefined user roles
network-admin
Parameters
seconds: Sets the waiting period in seconds, in the range of 60 to 864000.
Usage guidelines
When a DHCP snooping entry is learned or removed, the device does not update the database file until
after the specified waiting period. All changed entries during that period will be updated.
If no file has been specified, the dhcp snooping binding database update interval command does not
take effect.