Reference Guide
• Acquire a new IP address with renewed lease time from a DHCP server.
EXEC Privilege mode
renew dhcp interface type slot/port
Viewing DHCP Statistics and Lease Information
To display DHCP client information, enter the following show commands:
• Display statistics about DHCP client interfaces.
EXEC Privilege
show ip dhcp client statistics interface type slot/port
• Clear DHCP client statistics on a specified or on all interfaces.
EXEC Privilege
clear ip dhcp client statistics {all | interface type slot/port}
• Display lease information about the dynamic IP address currently assigned to a DHCP client interface.
EXEC Privilege
show ip dhcp lease [interface type slot/port]
View the statistics about DHCP client interfaces with the show ip dhcp client statistics command and the
lease information about the dynamic IP address currently assigned to a DHCP client interface with the
show ip dhcp lease command.
Example of the show ip dhcp client statistics Command
Dell# show ip dhcp client statistics interface tengigabitethernet 0/0 Interface
Name Ma 0/0
Message Received
DHCPOFFER 0
DHCPACK 0
DHCPNAK 0
Message Sent
DHCPDISCOVER 13
DHCPREQUEST 0
DHCPDECLINE 0
DHCPRELEASE 0
DHCPREBIND 0
DHCPRENEW 0
DHCPINFORM 0
Example of the show ip dhcp lease Command
Dell# show ip dhcp
Interface Lease-IP Def-Router ServerId State Lease Obtnd At Lease
Expires At
========= ======== ========= ======== ===== ==============
================ Ma 0/0
0.0.0.0/0 0.0.0.0 0.0.0.0 INIT -----NA----- ----NA----
Vl 1 10.1.1.254/24 0.0.0.0 10.1.1.1 BOUND 08-26-2011 04:33:39
08-27-2011 04:33:39
Renew Time Rebind Time
========== ========
----NA---- ----NA----
Dynamic Host Configuration Protocol (DHCP)
71