Related command: ip dhcp conflict logging,show ip dhcp conflict
11.5.1.3 clear ip dhcp server statistics
Command: clear ip dhcp server statistics
Function: Delete the statistics for DHCP server, clear the DHCP server count.
Command mode: Admin Mode
Usage Guide: DHCP count statistics can be viewed with "show ip dhcp server
statistics" command, all information is accumulated. You can use this
command to clear the count for easier statistics checking.
Example: clear the count for DHCP server.
Switch#clear ip dhcp server statistics
Related command: show ip dhcp server statistics
11.5.1.4 show ip dhcp binding
Command: show ip dhcp binding [ [<ip-addr>] + [type {all | manual | dynamic}]
[count] ]
Function: display IP-MAC binding information.
Parameter: <ip-addr> is a specified IP address in dotted decimal format; "all" stands for
all binding types (manual binding and dynamic assignment); "manual" for
manual binding; "dynamic" for dynamic assignment; "count" displays statistics
for DHCP address binding entries.
Command mode: Admin Mode
Example:
Switch# show ip dhcp binding
IP address
10.1.1.233
10.1.1.254
Displayed information
IP address
Hardware address
Lease expiration
Type
Hardware address
00-00-E2-3A-26-04
00-00-E2-3A-5C-D3
Lease expiration
Infinite
60
Explanation
IP address assigned to a DHCP client
MAC address of a DHCP client
Valid time for the DHCP client to hold the IP
address
Type of assignment: manual binding or dynamic
assignment.
291
Type
Manual
Automatic