Enabling option 82 handling, Specifying the threshold for sending trap messages, Configuration prerequisites – H3C Technologies H3C S12500 Series Switches User Manual

Page 63: Configuration procedure, Displaying and maintaining the dhcp server

Advertising
background image

49

Enabling Option 82 handling

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enable the server to handle

Option 82.

dhcp server relay information
enable

Optional.
Enabled by default.

To support Option 82 requires configuring both the DHCP server and relay agent (or the switch enabled
with DHCP snooping). For information about related configurations, see "

Configuring the DHCP server

"

and "

Configuring the DHCP relay agent

."

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 Network Management and
Monitoring Command Reference
.

Configuration procedure

A DHCP server sends trap messages to the network management server when one of the following
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:

Step 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

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.

Advertising