DHCP Management Interface Commands 349
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
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.
2CSPC4.XCT-SWUM2XX1.book Page 349 Monday, October 3, 2011 11:05 AM