Administrator Guide

Switch Management Commands 1984
show dhcp lease
Use the show dhcp lease command in Privileged Exec mode to display IPv4
addresses leased from a DHCP server.
Syntax
show dhcp lease [interface { out-of-band | vlan
vlan-id
} ]
out-of-band
—The out-of-band interface.
vlan
—The VLAN and VLAN ID.
Default Configuration
This command has no default configuration.
Command Mode
Privileged Exec, Configuration mode and all Configuration submodes
User Guidelines
This command lists all IPv4 addresses currently leased from a DHCP server
on a routing interface. This command only applies to routing interfaces. To
see the IPv4 address leased on the out-of-band interface, use the command
show ip interface
out-of-band.
This command output provides the following information.
Term Description
IP address, Subnet
mask
The IP address and network mask leased from the DHCP server.
DHCP Lease server The IPv4 address of the DHCP server that leased the address.
State State of the DHCPv4 Client on this interface.
DHCP transaction
id
The transaction ID of the DHCPv4 Client.
Lease The time (in seconds) that the IP address was leased by the
server.
Renewal The time (in seconds) when the next DHCP renew Request is
sent by DHCPv4 Client to renew the leased IP address.
2CSNXXX_SWUM204.book Page 1984 Monday, January 25, 2016 1:25 PM