Dynamic Host Configuration Protocol (DHCP) Commands
©2008 Allied Telesis Inc. All rights reserved.
53.26
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
Software Version 5.2.1
show dhcp lease
This command shows details about the leases that the DHCP client has acquired from a DHCP
server for interfaces on the device.
Syntax
show dhcp lease [<
interface
>]
Mode
Exec and Privileged Exec mode
Output
Figure 53-4: Example output from the
show dhcp lease [<
interface
>]
command
Examples
To show the current lease expiry times for all interfaces, use the command:
awplus#
show dhcp lease
To show the current lease for vlan1, use the command:
awplus#
show dhcp lease vlan1
Related Commands
ip address dhcp
Parameter
Description
<interface>
Interface name to display dhcp lease details for
Interface vlan1
----------------------------------------------------------------
IP Address: 192.168.22.4
Expires: 13 Mar 2007 20:10:19
Renew: 13 Mar 2007 18:37:06
Rebind: 13 Mar 2007 19:49:29
Server:
Options:
subnet-mask 255.255.255.0
routers 19.18.2.100,12.16.2.17
dhcp-lease-time 3600
dhcp-message-type 5
domain-name-servers 192.168.100.50,19.88.200.33
dhcp-server-identifier 192.168.22.1
domain-name alliedtelesis.com
Interface vlan2
----------------------------------------------------------------
IP Address: 100.8.16.4
Expires: 13 Mar 2007 20:15:39
Renew: 13 Mar 2007 18:42:25
Rebind: 13 Mar 2007 19:54:46
Server:
Options:
subnet-mask 255.255.0.0
routers 10.58.1.51
dhcp-lease-time 1000
dhcp-message-type 5
dhcp-server-identifier 100.8.16.1