{"id":432,"date":"2022-10-28T13:49:55","date_gmt":"2022-10-28T13:49:55","guid":{"rendered":"https:\/\/merserver.com\/?p=432"},"modified":"2022-10-28T13:49:55","modified_gmt":"2022-10-28T13:49:55","slug":"cisco-ios-showing-dhcp-status","status":"publish","type":"post","link":"http:\/\/merserver.com\/index.php\/2022\/10\/28\/cisco-ios-showing-dhcp-status\/","title":{"rendered":"Cisco IOS Showing DHCP Status"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Problem<\/h2>\n\n\n\n<p>You want to display the status of the DHCP server functions on the router.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Solution<\/h2>\n\n\n\n<p>To display the IP address bindings and their associated leases, use the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Router1#<strong><code>show ip dhcp binding<\/code><\/strong><\/pre>\n\n\n\n<p>The following command displays any IP address conflicts that the router has detected in the DHCP address pool:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Router1#<strong><code>show ip dhcp conflict<\/code><\/strong><\/pre>\n\n\n\n<p>You can view the status of remote database backups with this command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Router1#<strong><code>show ip dhcp database<\/code><\/strong><\/pre>\n\n\n\n<p>And you can see the global DHCP server statistics like this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Router1#<strong><code>show ip dhcp server statistics<\/code><\/strong><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Discussion<\/h2>\n\n\n\n<p>To display the status of the DHCP service, use the&nbsp;<em>show ip dhcp<\/em>&nbsp;EXEC command. If you add the keyword&nbsp;<em>binding<\/em>, this command displays the current DHCP bindings, which include the assigned IP addresses, the associated client MAC addresses, and the lease expiration time:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Router1#<strong><code>show ip dhcp binding<\/code><\/strong>\nIP address       Hardware address        Lease expiration        Type\n172.25.1.51      0100.0103.85e9.87       Apr 10 2006 08:55 PM    Automatic\n172.25.1.52      0100.50da.2a5e.a2       Apr 10 2006 09:00 PM    Automatic\n172.25.1.53      0100.0103.ea1b.ed       Apr 10 2006 08:58 PM    Automatic\nRouter1#<\/pre>\n\n\n\n<p>To view the IP addresses that are currently in conflict, use the&nbsp;<em>conflict&nbsp;<\/em>keyword. This command displays all of the IP addresses that the router has discovered conflicts for, and how the conflict was discovered:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Router1#<strong><code>show ip dhcp conflict<\/code><\/strong> \nIP address        Detection method   Detection time\n172.25.1.51       Ping               Apr 09 2006 09:08 PM\n172.25.1.54       Gratuitous ARP     Apr 09 2006 10:00 PM\nRouter1#<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Problem You want to display the status of the DHCP server functions on the router. Solution To display the IP address bindings and their associated leases, use the following command: Router1#show ip dhcp binding The following command displays any IP address conflicts that the router has detected in the DHCP address pool: Router1#show ip dhcp&#8230;<\/p>\n<p class=\"more-link-wrap\"><a href=\"http:\/\/merserver.com\/index.php\/2022\/10\/28\/cisco-ios-showing-dhcp-status\/\" class=\"more-link\">Read More<span class=\"screen-reader-text\"> &ldquo;Cisco IOS Showing DHCP Status&rdquo;<\/span> &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-432","post","type-post","status-publish","format-standard","hentry","category-it"],"_links":{"self":[{"href":"http:\/\/merserver.com\/index.php\/wp-json\/wp\/v2\/posts\/432","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/merserver.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/merserver.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/merserver.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/merserver.com\/index.php\/wp-json\/wp\/v2\/comments?post=432"}],"version-history":[{"count":1,"href":"http:\/\/merserver.com\/index.php\/wp-json\/wp\/v2\/posts\/432\/revisions"}],"predecessor-version":[{"id":433,"href":"http:\/\/merserver.com\/index.php\/wp-json\/wp\/v2\/posts\/432\/revisions\/433"}],"wp:attachment":[{"href":"http:\/\/merserver.com\/index.php\/wp-json\/wp\/v2\/media?parent=432"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/merserver.com\/index.php\/wp-json\/wp\/v2\/categories?post=432"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/merserver.com\/index.php\/wp-json\/wp\/v2\/tags?post=432"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}