53
Step Command
Remarks
2.
Configure the DHCP server to
back up the bindings to a file.
dhcp server database filename
{
filename
|
url
url
[
username
username
[
password
{
cipher
|
simple
}
key
] ] }
By default, the DHCP server
does not back up the DHCP
bindings.
With this command executed,
the DHCP server backs up its
bindings immediately and runs
auto backup.
3.
(Optional.) Manually save the
DHCP bindings to the backup
file.
dhcp server database update
now
N/A
4.
(Optional.) Set the waiting
time after a DHCP binding
change for the DHCP server
to update the backup file.
dhcp server database update
interval
seconds
The default waiting time is 300
seconds.
If no DHCP binding changes,
the backup file is not updated.
5.
(Optional.) Terminate the
download of DHCP bindings
from the backup file.
dhcp server database update
stop
N/A
Configuring address pool usage alarming
Perform this task to set the threshold for address pool usage alarming. When the threshold is
exceeded, the system sends log messages to the information center. According to the log
information, you can optimize the address pool configuration. For more information about the
information center, see
Network Management and Monitoring Configuration Guide
.
To configure address pool usage alarming:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a DHCP address pool
and enter its view.
dhcp server ip-pool
pool-name
By default, no DHCP address
pool exists.
3.
Set the threshold for address
pool usage alarming.
ip-in-use threshold
threshold-value
The default threshold is 100%.
Binding gateways to a common MAC address
This feature enables DHCP clients of different types to obtain different gateway IP addresses but the
same MAC address. In addition to assigning gateway IP addresses to the clients, the DHCP server
adds the gateway IP addresses and server's MAC address to the address management module. The
ARP module can use the entries to reply ARP requests from the clients.
As shown in
, the DHCP server is configured on the access device that provides access for
clients of different service types, such as broadband, IP TV, and IP telephone. The clients of different
types obtain IP addresses on different subnets. For the clients to access the network, the access
interface typically has no IP address configured. You must bind the gateways to a MAC address
when specifying gateways for the DHCP clients.