Displays lease information for DHCP Server.
show ip dhcp-server leases [ip {A.B.C.D} | subnet {A.B.C.D/X}]
User EXEC
The show ip dhcp-server leases command displays the following information:
| Output field | Description | 
|---|---|
| IP-ADDRESS | Displays an IP address that has been leased to a host. | 
| MAC-ADDRESS | Displays the MAC address of a host. | 
| LAST-TRANSACTION | Displays the last DHCP-related communication between the host and the DHCP Server. | 
| EXPIRE-TIME | Displays the expiration time for the lease. | 
The following command displays output for the show ip dhcp-server leases command:
===================================================================================
                               DHCP Server Leases Info
===================================================================================
IP-ADDRESS    MAC-ADDRESS        LAST-TRANSACTION     EXPIRE-TIME
-----------------------------------------------------------------------------------
198.51.100.4  00-00-5E-00-00-01  2023-08-11T15:15:42  2023-08-11T15:16:42                
198.51.100.5  00-00-5E-00-00-02  2023-08-11T15:15:47  2023-08-11T15:16:42
-----------------------------------------------------------------------------------
 Total Number of DHCP Server Leases displayed: 2
-----------------------------------------------------------------------------------