Users Guide
For routers between the relay agent and the DHCP server, enter the trust-downstream option.
Releasing and Renewing DHCP-based IP Addresses
On an Aggregator congured as a DHCP client, you can release a dynamically-assigned IP address without removing the DHCP client
operation on the interface.
To manually acquire a new IP address from the DHCP server, use the following command.
• Release a dynamically-acquired IP address while retaining the DHCP client conguration on the interface.
EXEC Privilege mode
release dhcp interface type slot/port
• 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 specied 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 managementethernet 0/0
Interface Name Ma 0/0
Message Received
DHCPOFFER 0
DHCPACK 0
DHCPNAK 0
Message Sent
DHCPDISCOVER 1626
DHCPREQUEST 0
DHCPDECLINE 0
DHCPRELEASE 0
DHCPREBIND 0
DHCPRENEW 0
DHCPINFORM 0
Dell#
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----
Dynamic Host
Conguration Protocol (DHCP) 73