DHCP client

Last Updated : Aug 25, 2023 |
Table 1: DHCP client configuration CLI commands

Root level command

First level command

Description

clear ip dhcp-client statistics

Clear the DHCP client statistics counters.

interface fastethernet

Enter interface FastEthernet configuration mode.

clear ip dhcp-client statistics

Clear the DHCP client statistics counters.

ip address dhcp

Enable or disable IP address negotiation through DHCP (applies to WAN FastEthernet and VLAN interfaces).

ip dhcp client client-id

Set the client-identifier for the DHCP client.

ip dhcp client hostname

Set the client host name for the DHCP client.

ip dhcp client lease

Set the lease requested by the DHCP client.

ip dhcp client request

Specify which DHCP options the DHCP client requests from the DHCP server.

ip dhcp client route track

Apply object tracking to monitor the DHCP client’s default route.

show ip dhcp-client

Display the configuration of the DHCP client.

show ip dhcp-client statistics

Display the DHCP client statistics counters.

release dhcp

Release a DHCP lease for an interface.

renew dhcp

Renew a DHCP lease for an interface.

show ip dhcp-client

Display the configuration of the DHCP client.

show ip dhcp-client statistics

Display the DHCP client statistics counters.