DHCP Clear and Show Commands
15-114 Configuring DHCP

show ip dhcp binding

ThiscommanddisplaysactiveaddressbindingsontheDHCPserver.Iftheaddressisnot
specified,alladdressbindingsareshown.Otherwise,onlythebindingforthespecifiedclientis
displayed.TheleaseexpirationtimecanbedisplayedbasedontheUniversalTimeClock(UTC)or
localclock.Ifthelocalclockisnotspecified,UTCisthedefault.
Syntax
show ip dhcp binding [ip-address][utc | local]
Mode
PrivilegedEXECorGlobalconfiguration:XSR# orXSR(config)#
Examples
ThefollowingexamplesdisplaytheleaseexpirationindefaultUTCtime:
XSR#show ip dhcp binding 168.16.22.11
IP address Hardware address Lease expiration Type Act.
168.16.1.11 00a0.9802.32df Feb 01 1998 12:00AM Automatic Y
XSR#show ip dhcp binding 168.16.22.254
IP address Hardware address Lease expiration Type ACT.
168.16.3.254 02c7.f800.0423 Infinite Manual N
Thefollowingexampledisplaystheleaseexpirationinlocaltime:
XSR#show ip dhcp binding local
IP address Hardware address Lease expiration Type Act.
11.1.0.253 0002.2ab4.4b01 JUL 19 2003 09:07PM Automatic Y
ThefollowingexampledisplaystheleaseexpirationinUTCtime:
XSR#show ip dhcp binding UTC
IP address Hardware address Lease expiration Type Act.
11.1.0.253 0002.2ab4.4b01 JUL 19 2003 05:07PM Automatic Y
ThefollowingexampledisplaystheleaseexpirationofDHCPclient11.1.0.253inUTCtime:
XSR#show ip dhcp binding UTC 11.1.0.253
IP address Hardware address Lease expiration Type Act.
Note: BOOTP bindings do not have leases: their Active designation is always N.
ip-address IP address of the DHCP client.
utc Bindings displayed according to the Universal Time Clock.
local Bindings displayed according to local time.