R211x-HP Flexfabric 11900 Layer 3 - IP Services Command Reference

89
# 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 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
mdc-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, this command does not take effect.
Examples
# Set the device to wait 600 seconds (10 minutes) to update the database file.
<Sysname> system-view
[Sysname] dhcp snooping binding database update interval 600
Related commands
dhcp snooping binding database filename