DHCP Management Interface Commands 355
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. 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.
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.
2CSPC4.X8100-SWUM102.book Page 355 Friday, March 15, 2013 8:56 AM