To display the DHCP server binding, configuration, information, global DHCP option configuration for all DHCP server address pools and various DHCP server statistics-related, use the command show ip dhcp server in Privileged EXEC Mode.
Parameter | Type | Description |
---|---|---|
binding
|
Enter to display the DHCP server binding information. A DHCP binding is created when a DHCP server assigns an IP address to a DHCP client. The information contains the allocated IP address, host hardware type, host hardware address, binding state and expiry time of the allocated DHCP lease | |
information
|
Enter to display the DHCP server configuration information. The information contains status of DHCP server, ICMP echo mechanism, debug level, boot server IP address, boot file name and server offer reuse time. | |
pool
|
Enter to display the global DHCP option configuration for all DHCP server address pools and configuration information such as utilization threshold, of address pools for which subnet pool is created or host options are configured. | |
statistics
|
Enter to display the various DHCP server statistics-related information such as number of DHCPDECLINE messages received, DHCPOFFER messages sent and so on. |
Privileged EXEC Mode
iS5Comm# show ip dhcp server binding
Ip Hw Binding Expire
Address Type Address State Time
------- ---- ------- ------ ------
12.0.0.2 Ethernet 00:02:02:03:04:01 Assigned May 12 13:22:41 2009
iS5Comm# show ip dhcp server information
DHCP server status : Enable
Send Ping Packets : Enable
Debug level : All
Server Address Reuse Timeout : 10 secs
Next Server Address : 12.0.0.1
Boot file name : boot1.img
iS5Comm# show ip dhcp server pools
Global Options
--------------
Code : 19, Value : 0
Pool Id : 1
-------------------------------------------
Pool Name : pool1
Subnet : 20.0.0.0
Subnet Mask : 255.0.0.0
Lease time : 2147483647 secs
Utilization threshold : 76%
Start Ip : 20.0.0.1
End Ip : 20.0.0.50
Exclude Address Start IP : 20.0.0.1
Exclude Address End IP : 20.0.0.30
Exclude Address Start IP : 20.0.0.20
Exclude Address End IP : 20.0.0.30
Subnet Options
--------------
Code : 1, Value : 255.0.0.0
Code : 3, Value : 10.23.2.99
Code : 6, Value : 12.0.0.1
Code : 15, Value : 12
Code : 19, Value : 0
Code : 43, Value : ven
Code : 46, Value : 8
Host Options
------------
Client Identifier Hardware type Code Value
00:01:02:03:04:01 1 67 abcd
iS5Comm# show ip dhcp server statistics
Address pools : 1
Message Received
------- --------
DHCPDISCOVER 0
DHCPREQUEST 0
DHCPDECLINE 0
DHCPRELEASE 0
DHCPINFORM 0
Message Sent
------- ----
DHCPOFFER 0
DHCPACK 0
DHCPNAK 0