beautypg.com

Specifying the threshold for sending trap messages, Configuration prerequisites, Configuration procedure – H3C Technologies H3C S10500 Series Switches User Manual

Page 60: Displaying and maintaining the dhcp server

background image

49

To do…

Use the command…

Remarks

Enable the server to handle Option
82

dhcp server relay information
enable

Optional
Enabled by default.

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…

Use the command…

Remarks

Enter system view

system-view

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:

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.