To do...
Enable the server to handle Option
82
NOTE:
To support Option 82 requires configuring both the DHCP server and relay agent (or the device enabled
with DHCP snooping). For more information, see the chapters "DHCP relay agent configuration" and
"DHCP snooping configuration.
Specifying the threshold for sending trap messages
Configuration prerequisites
Before performing 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 the 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 of the DHCP server.
Follow these steps to specify the threshold for sending trap messages:
To do...
Enter system view
Specify the threshold for sending
trap messages to the network
management server
Displaying and maintaining the DHCP server
NOTE:
Using the save command does not save DHCP server lease information. Therefore, when the system boots
up or the reset dhcp server ip-in-use command is executed, no lease information will be available in the
configuration file. The server will deny the request for lease extension from a client and the client needs to
request an IP address again.
Use the command...
dhcp server relay information
enable
Use the command...
system-view
dhcp server threshold { allocated-ip
threshold-value | average-ip-use
threshold-value | max-ip-use threshold-value }
49
Remarks
Optional
Enabled by default.
Remarks
—
Optional
Disabled by default.