Dynamic Host Configuration Protocol (DHCP) Commands
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
53.27
show ip dhcp binding
This command shows the lease bindings that the DHCP server has allocated clients.
Syntax
show ip dhcp binding [<
ip-addr
>|<
name
>]
Mode
Exec and Privileged Exec mode
Output
Figure 53-5: Example output from the
show ip dhcp binding
command
Examples
To display all leases for every client in all address pools, use the command:
awplus#
show ip dhcp binding
To display the details for the leased IP address 172.16.2.16, use the command:
awplus#
show ip dhcp binding 172.16.2.16
To display the leases from the address pool “MyPool”, use the command:
awplus#
show ip dhcp binding MyPool
Related Commands
ip dhcp pool
lease
range
service dhcp-server
show ip dhcp pool
Parameter
Description
<ip-addr>
IPv4 address of a leased IP address, in dotted decimal notation. This
displays the lease information for the specified IP address.
<name>
Name of an address pool. This displays the lease information for all
clients within the address pool.
Pool 30_2_network Network 172.16.2.0/24
DHCP Client Entries
IP Address ClientId Type Expiry
--------------------------------------------------------------------------------
172.16.2.100 0050.fc82.9ede Dynamic 21 Sep 2007 19:02:58
172.16.2.101 000e.a6ae.7c14 Static Infinite
172.16.2.102 000e.a6ae.7c4c Static Infinite
172.16.2.103 000e.a69a.ac91 Static Infinite
172.16.2.104 00e0.189d.5e41 Static Infinite
172.16.2.150 00e0.2b04.5800 Static Infinite
172.16.2.167 4444.4400.35c3 Dynamic 21 Sep 2007 14:58:41