Figure 7-4. show ip dhcp lease
FTOS# show ip dhcp
Interface
Lease-IP
=========
========
Ma 0/0
0.0.0.0/0
Vl 1
10.1.1.254/24
Renew Time
==========
----NA----
08-26-2011 16:21:50
Debugging DHCP Client Operation
To enable debug messages for DHCP client operation, enter the following debug commands:
Task
Enable the display of log messages for all DHCP packets
sent and received on DHCP client interfaces.
Enable the display of log messages for the following
events on DHCP client interfaces:
•
IP address acquisition
•
IP address release
•
Renewal of IP address and lease time
•
Release of an IP address
Figure 7-5
and state transitions on a DHCP client interface.
88
|
Dynamic Host Configuration Protocol (DHCP)
Def-Router
ServerId
=========
========
0.0.0.0
0.0.0.0
0.0.0.0
10.1.1.1
Rebind Time
========
----NA----
08-27-2011 01:33:39
shows an example of the packet- and event-level debug messages displayed for the packet transmissions
State
Lease Obtnd At
=====
==============
INIT
-----NA-----
BOUND
08-26-2011 04:33:39
Command Syntax
[no] debug ip dhcp client packets
[interface type slot/port]
[no] debug ip dhcp client events
[interface type slot/port]
Lease Expires At
================
----NA----
08-27-2011 04:33:39
Command Mode
EXEC Privilege
EXEC Privilege