EXEC Privilege mode
release dhcp interface type slot/port
4. Acquire a new IP address with renewed lease time from a DHCP server.
EXEC Privilege mode
renew dhcp interface type slot/port
Example of the show ip dhcp client statistics Command
Example of the show ip dhcp lease command
DHCP Client: Debug Messages Logged during DHCP Client Enabling/Disabling
DHCP Client: Debug Messages Logged during DHCP Client Release/Renew
To display DHCP client information, use the following show commands in EXEC Privilege mode.
• To display statistics about DHCP client interfaces, use the show ip dhcp client statistics
interface type slot/port command.
• To clear DHCP client statistics on a specified or on all interfaces, use the clear ip dhcp client
statistics {all | interface
type slot/port} command.
• To display dynamic IP address lease information currently assigned to a DHCP client interface, use the
show ip dhcp lease [interface type slot/port] command.
• To display log messages for all DHCP packets sent and received on DHCP client interfaces, use the
debug ip dhcp client packets [interface type slot/port] command.
• To display log message on DHCP client interfaces for IP address acquisition, IP address release, IP
address and lease time renewal, and release an IP address, use the [no] debug ip dhcp client
events [interface
type slot/port] command.
Dell# show ip dhcp client statistics interface tengigabitethernet 0/1
Message Received
DHCPOFFER 0
DHCPACK 0
DHCPNAK 0
Message Sent
DHCPDISCOVER 0
DHCPREQUEST 0
DHCPDECLINE 0
DHCPRELEASE 0
DHCPREBIND 0
DHCPRENEW 0
Dell# show ip dhcp lease interface tengigabitethernet 4/37
Interface Lease-IP Def-Router ServerId State Lease Obtnd At Lease
Expires At
====== ========= ========= ======== ====== ============== ===========
Te 4/37 189.17.9.2/30 0.0.0.0 189.17.9.1 BOUND 06-12-2012 07:35 01-18-2038
11:14
Renew Time Rebind Time
========== ========
09-05-2023 04:56 11-06-2034 13:46
The following example shows the packet- and event-level debug messages displayed for the packet
transmissions and state transitions on a DHCP client interface when you enable and disable a DHCP
client.
Dell (conf-if-te-0/1)# ip address dhcp
May 27 15:52:46: %STKUNIT0-M:CP %DHCLIENT-5-DHCLIENT-LOG: DHCLIENT_DBG_EVT:
324
Dynamic Host Configuration Protocol (DHCP)