Skip to content
  • How to start learning Linux
  • Labtech Implementation Stuff
  • Clogged
  • Active Directory DNS Troubleshooting
  • Some Roulette  Strat from Reddit
  • Mystery steel processing and testing
  • Croissants and Rose Lychee Cream
  • Mac and Cheese
  • DFS Replication: Requirements and Configuration
  • Services.msc not opening in Windows 11/10
  • Microsoft AD LDAP (2008): Importing Your Certificate .pfx File into the AD DS Personal Store
  • Powershell How to get all groups that a user is a member of?
  • Home Energy Saving Tips
  • Changing NTFS Security Permissions using PowerShell
  • VALORANT’S 128-TICK SERVERS

Merserver

Its a website

  • Uncategorized
  • IT
  • Unreal Engine
  • GameDev
  • Interesting Stuff
  • Food
  • Web Design
  • Kubernetes
  • Music
  • Linux
  • Toggle search form

Cisco IOS Showing DHCP Status

Posted on October 28, 2022 By samadmin

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 conflict

You can view the status of remote database backups with this command:

Router1#show ip dhcp database

And you can see the global DHCP server statistics like this:

Router1#show ip dhcp server statistics

Discussion

To display the status of the DHCP service, use the show ip dhcp EXEC command. If you add the keyword binding, this command displays the current DHCP bindings, which include the assigned IP addresses, the associated client MAC addresses, and the lease expiration time:

Router1#show ip dhcp binding
IP address       Hardware address        Lease expiration        Type
172.25.1.51      0100.0103.85e9.87       Apr 10 2006 08:55 PM    Automatic
172.25.1.52      0100.50da.2a5e.a2       Apr 10 2006 09:00 PM    Automatic
172.25.1.53      0100.0103.ea1b.ed       Apr 10 2006 08:58 PM    Automatic
Router1#

To view the IP addresses that are currently in conflict, use the conflict keyword. This command displays all of the IP addresses that the router has discovered conflicts for, and how the conflict was discovered:

Router1#show ip dhcp conflict 
IP address        Detection method   Detection time
172.25.1.51       Ping               Apr 09 2006 09:08 PM
172.25.1.54       Gratuitous ARP     Apr 09 2006 10:00 PM
Router1#
IT

Post navigation

Previous Post: How to start learning Linux
Next Post: Powershell Start-Process Reference and Documentation

Related Posts

Create an Admin User Account Using CMD Prompt (Windows) IT
Use PowerShell to download a file with HTTP, HTTPS, and FTP IT
How to start learning Linux IT
Microsoft AD LDAP (2008): Importing Your Certificate .pfx File into the AD DS Personal Store IT
How to install Kubernetes on Ubuntu 22.04 Jammy Jellyfish Linux IT
How to move Windows Recovery Partition IT

Copyright © 2025 Merserver.

Powered by PressBook Masonry Dark