Configuring the handling mode for option 82, Configuration prerequisites, Enabling sending of trap messages – H3C Technologies H3C SecPath F1000-E User Manual

Page 53: Configuration procedure

Advertising
background image

13

To do…

Use the command…

Remarks

Configure a timeout waiting for
ping responses

dhcp server ping timeout
milliseconds

Optional
500 ms by default.
The value 0 indicates that no ping

operation is performed.

Configuring the Handling Mode for Option 82

When the DHCP server receives a message with Option 82, if the server is configured to handle Option
82, it will return a response message carrying Option 82 to assign an IP address to the requesting client.
If the server is configured to ignore Option 82, it will assign an IP address to the client without adding

Option 82 in the response message.

Configuration prerequisites

Before performing this configuration, complete the following configuration on the DHCP server:

Enable DHCP

Configure the DHCP address pool

Configuring the handling mode for Option 82

Follow these steps to enable the DHCP server to handle Option 82:

To do…

Use the command…

Remarks

Enter system view

system-view

Enable the server to handle Option
82

dhcp server relay information
enable

Optional
Enabled by default.

NOTE:

To support Option 82, it is required to perform configuration on both the DHCP server and relay agent.
For related configuration details, refer to

Configuring the DHCP Relay Agent to Support Option 82

.

Enabling Sending of 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 detailed information about the command, refer to SNMP Commands

in the System Volume.

Configuration Procedure

You can enable a DHCP server to send trap messages to the network management server when the ratio

of successfully allocated IP addresses to received DHCP requests, the average IP address utilization of the

address pool, or the maximum IP address utilization of the address pool reaches the threshold. Trap

messages help network administrators know the latest usage information of the DHCP server.
Follow these steps to enable the DHCP server to send trap messages:

Advertising
This manual is related to the following products: