beautypg.com

Show dhcp lease – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 1726

background image

Dynamic Host Configuration Protocol (DHCP) Commands

Software Reference for x310 Series Switches

64.28

AlliedWare Plus

TM

Operating System - Version 5.4.4C

C613-50046-01 REV A

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.

For information on output options, see

“Controlling “show” Command Output” on

page 1.37

.

Syntax

show dhcp lease [<interface>]

Mode

User Exec and Privileged Exec

Example

To show the current lease expiry times for all interfaces, use the command:

To show the current lease for vlan1, use the command:

Output

Figure 64-4: Example output from the show dhcp lease command

Related Commands

ip address dhcp

Parameter

Description

Interface name to display DHCP lease details for.

awplus#

show dhcp lease

awplus#

show dhcp lease vlan1

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