Command Line Interface Guide

DHCP Management Interface Commands 361
console#debug dhcp packet transmit
The third example is for receive flow.
console#debug dhcp packet receive
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
interface-id
]
Parameter Description
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC, Config mode and all Config sub-modes
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.
This command output provides the following information.
Parameter Description
interface-id Any valid IP interface (VLAN only). See
Interface Naming
Conventions
for interface representation.
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.
2CSPC4.X8100-SWUM100.book Page 361 Wednesday, August 29, 2012 6:23 PM