Enabling Dhcp Logging On The Dhcp Server; Display And Maintenance Commands For Dhcp Server - H3C SR8800-F Configuration Manual

Comware 7 user access
Hide thumbs Also See for SR8800-F:
Table of Contents

Advertisement

Step
2.
Enable SNMP notifications for
the DHCP server.
3.
(Optional.) Set the IP address
allocation success rate
threshold.
4.
Enter DHCP address pool
view.
5.
(Optional.) Set the DHCP
address pool usage threshold.

Enabling DHCP logging on the DHCP server

The DHCP logging feature enables the DHCP server to generate DHCP logs and send them to the
information center. For information about the log destination and output rule configuration in the
information center, see Network Management and Monitoring Configuration Guide.
As a best practice, disable this feature if the log generation affects the device performance or
reduces the address allocation efficiency. For example, this situation might occur when a large
number of clients frequently come online or go offline.
To enable DHCP logging on the DHCP server:
Step
1.
Enter system view.
2.
Enable DHCP logging.
Display and maintenance commands for DHCP
server
IMPORTANT:
A restart of the DHCP server or execution of the reset dhcp server ip-in-use command deletes all
lease information. The DHCP server denies any DHCP request for lease extension, and the client
must request an IP address again.
Execute display commands in any view and reset commands in user view.
Task
Display information about IP address
conflicts.
Display information about DHCP binding
auto backup.
Display information about lease-expired IP
addresses.
Command
snmp-agent trap enable dhcp
server [ address-exhaust |
allocated-ip | ip-in-use ]
dhcp server allocated-ip
threshold threshold-value
dhcp server ip-pool pool-name
ip-in-use threshold
threshold-value
Command
system-view
dhcp log enable
Command
display dhcp server conflict [ ip ip-address ]
[ vpn-instance vpn-instance-name ]
display dhcp server database
display dhcp server expired [ [ ip ip-address ]
[ vpn-instance vpn-instance-name ] | pool pool-name ]
119
Remarks
By default, SNMP notifications
are enabled for the DHCP
server.
By default, no SNMP
notification is sent for an IP
address allocation success rate
threshold violation.
By default, no DHCP address
pool exists.
The default threshold is 100%.
Remarks
N/A
By default, DHCP logging is
disabled.

Advertisement

Table of Contents
loading

Table of Contents