DGS-6604
m
show ip dhcp binding
CLI Reference Guide
623
show ip dhcp binding
To display the current status of address bindings on the DHCP Server.
show ip dhcp binding [pool
NAME
] [
ADDRESS
]
Default
None
Command Mode
User EXEC or any configuration mode
Usage Guideline
If the address is not specified, all address bindings are shown. Otherwise, only
the binding for the specified client is displayed. The IP address, hardware
address, Lease expiration and assigned type will be included in the displayed
format.
Examples
The following example shows the binding status of all bound IP addresses.
The following example shows the binding status of the entire address pool2,
Syntax Description
ADDRESS
(Optional) Specifies the IP address of the DHCP client for which the bindings will
be displayed. If no IP address is specified, all bound IP addresses are applied for
this command.
pool
NAME
(Optional) Specifies the pool name for the conflict IP address. If no pool name is
specified, all of the pools are applied for this command.
switch# show ip dhcp binding
Pool Name: pool1
IP address Hardware address Lease start Lease expiration
---------- ---------------- -------------------- --------------------
10.1.1.1 00b8.3493.32b5 18:38:56, 2010-09-30 18:38:56, 2010-10-1
Pool Name: pool2
IP address Hardware address Lease start Lease expiration
---------- ---------------- -------------------- --------------------
10.1.1.1 00b8.3493.32b5 18:38:56, 2010-09-30 18:38:56, 2010-10-1
10.1.9.1 00b8.3493.32b5 18:38:56, 2010-09-30 18:38:56, 2010-10-1
10.1.11.10 00b8.3493.32b5
.
18:38:56, 2010-09-30
18:38:56, 2010-10-1
Switch#
switch# show ip dhcp binding pool pool2
IP address Hardware address Lease start Lease expiration
---------- ---------------- -------------------- --------------------
10.1.1.1 00b8.3493.32b5 18:38:56, 2010-09-30 18:38:56, 2010-10-1
10.1.9.1 00b8.3493.32b5 18:38:56, 2010-09-30 18:38:56, 2010-10-1
10.1.11.10 00b8.3493.32b5 18:38:56, 2010-09-30
18:38:56, 2010-10-1