Step
1.
Enter system view.
2.
Enable the server to handle
Option 82.
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 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.
To specify the threshold for sending trap messages:
Step
1.
Enter system view.
2.
Specify
sending trap messages to the
network management server.
Setting the DSCP value for DHCP packets
NOTE:
This feature is available in Release 1203 and later versions.
Step
1.
Enter system view.
2.
Set the DSCP value for DHCP packets
sent by the DHCP server.
Displaying and maintaining the DHCP server
Command
system-view
dhcp server relay information
enable
Command
system-view
the
threshold
for
dhcp server threshold { allocated-ip
threshold-value | average-ip-use
threshold-value | max-ip-use threshold-value }
Command
system-view
dhcp dscp dscp-value
50
Remarks
N/A
Optional.
Enabled by default.
Remarks
N/A
Optional.
Disabled by default.
Remarks
N/A
Optional.
By default, the DSCP value is 56.