118
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.
Advertise subnets assigned to
DHCP clients.
network
network-address
[
mask-length
|
mask
mask
]
export-route
[
secondary
]
By default, the subnets
assigned to DHCP clients are
not advertised.
Enabling client offline detection on the DHCP
server
The client offline detection feature reclaims an assigned IP address and deletes the binding entry
when the ARP entry for the IP address ages out. The feature does not function if an ARP entry is
manually deleted.
To enable client offline detection on the DHCP server:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface interface-type
interface-number
N/A
3.
Enable client offline detection.
dhcp client-detect
By default, client offline
detection is disabled on the
DHCP server.
Configuring SNMP notifications for the DHCP
server
Perform this task to configure the DHCP module to send SNMP notifications to report the following
DHCP server events:
•
Exhaustion or recovery of a DHCP address pool.
•
Usage threshold violation in a DHCP address pool.
•
IP address allocation success rate threshold violation.
The SNMP notifications are sent to the SNMP module. For the SNMP notifications to be sent
correctly, you must also configure SNMP. For more information about SNMP configuration, see
Network Management and Monitoring Configuration Guide
.
For a DHCP address pool usage threshold violation, the DHCP module also sends a log message to
the information center. For log messages to be sent correctly, you must also configure the
information center. For information about the information center configuration, see
Network
Management and Monitoring Configuration Guide
.
To configure SNMP notifications for the DHCP server:
Step Command
Remarks
1.
Enter system view.
system-view
N/A