R3303-HP HSR6800 Routers Layer 3 - IP Services Configuration Guide

47
To support Option 82 requires configuring both the DHCP server and relay agent (or the device enabled
with DHCP snooping). For more information, see "Configuring the DHCP relay agent" and
"Configuring
DHCP snooping."
Specifying the threshold for sending trap messages
Configuration prerequisites
Before you perform the configuration, use the snmp-agent target-host command to specify the
destination address of the trap messages. For more information about the command, see Network
Management and Monitoring Command Reference.
Configuration procedure
A DHCP server sends trap messages to the network management server when one of the following items
reaches the specified threshold:
The ratio of successfully allocated IP addresses to received DHCP requests.
The average IP address utilization of the address pool.
The maximum IP address utilization of the address pool.
Trap messages help network administrators know the latest usage information about the DHCP server.
To specify the threshold for sending trap messages:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Specify the threshold for
sending trap messages to the
network management server.
dhcp server threshold { allocated-ip
threshold-value | average-ip-use
threshold-value | max-ip-use threshold-value }
Optional.
Disabled by default.
Displaying and maintaining the DHCP server
NOTE:
A
restart of the DHCP server or execution of the reset dhcp server ip-in-use command deletes all lease
information. The DHCP server denies any DHCP request for lease extension, and the client must request an
IP address again.
Task Command Remarks
Display information about IP address
conflicts.
display dhcp server conflict { all | ip
ip-address } [ | { begin | exclude | include }
regular-expression ]
Available in any view.
Display information about lease
expiration.
display dhcp server expired { all | ip
ip-address | pool [ pool-name ] } [ | { begin |
exclude | include } regular-expression ]
Available in any view.