R3721-F3210-F3171-HP High-End Firewalls Network Management Configuration Guide-6PW101

Table Of Contents
177
NOTE:
Supporting Option 82 requires configuring both the DHCP server and relay agent (or the device enabled
w
ith DHCP snooping). For more information, see the chapter “Configuring 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 System Management and
Maintenance 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:
Ste
p
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
Display information about lease
expiration.
display dhcp server expired { all | ip
ip-address | pool [ pool-name ] } [ | { begin |
exclude | include } regular-expression ]
Available in any view
Display information about assignable
IP addresses.
display dhcp server free-ip [ | { begin |
exclude | include } regular-expression ]
Available in any view
Display IP addresses excluded from
automatic allocation in the DHCP
address pool.
display dhcp server forbidden-ip [ | { begin |
exclude | include } regular-expression ]
Available in any view
Display information about bindings.
display dhcp server ip-in-use { all | ip
ip-address | pool [ pool-name ] } [ | { begin |
exclude | include } regular-expression ]
Available in any view