show ip dhcp client

To display the unique identifier for the DHCP client, DHCP fast access information, DHCP client options, and DHCP client statistics information, use the command show ip dhcp client in Privileged EXEC Mode.

show ip dhcp client

show ip dhcp client
{ {client-id } { | fast-access } { | option } { | stats} } { }

Parameters

Parameter Type Description
client-id   Enter to display the unique identifier for the DHCP client.
fast-access   Enter to display DHCP fast access information such as Fast Access Mode status, Dhcp Client Fast Access DiscoverTimeOut, Dhcp Client Fast Access NullStateTimeOut, Dhcp Client Fast Access Arp Check TimeOut values.
option   Enter to display DHCP client options set by a server which provides the details like interface, interface type, length, and value.
stats   Enter to display the DHCP client statistics information for interfaces that are configured to acquire IP address dynamically from the DHCP server. The statistics information contains interface name, IP address assigned by DHCP server, DHCP lease details, details regarding number of DHCPDISCOVER, DHCPREQUEST, DHCPDECLINE, DHCPRELEASE and DHCPINFORM packets received and number of DHCPOFFER packets sent from the DHCP client.

Mode

Privileged EXEC Mode

Examples

iS5Comm# show ip dhcp client client-id

iS5Comm# show ip dhcp client fast-access

DHCP Client Timer Settings
---- ------ ----- -------
Fast Access Mode                       : Enable
DHCP Client Fast Access DiscoverTimeOut : 5
DHCP Client Fast Access NullStateTimeOut : 1
DHCP Client Fast Access Arp Check TimeOut : 1

iS5Comm# show ip dhcp client option

DHCP Client Options

Interface   Type   Len   Value
---------   ----   ---   ------

vlan1      43                                                                                                                                                                                                                   vlan1      60      6    vendor                                                                                                                                                                                                  vlan1      66                                                                                                                                                                                                                   vlan1      67                                                                                                                                                                                                                   vlan1      120                                                                                                                                                                                                                  vlan1      240 

iS5Comm# show ip dhcp client stats

DHCP Client Statistics
--------------------------I
nterface                     : vlan1
Client IP Address             : 12.0.0.21
Client Lease Time             : 3600
Client Remain Lease Time      : 3569
Message Statistics
------------------
DHCP DISCOVER                 : 1
DHCP REQUEST                  : 1
DHCP DECLINE                  : 0
DHCP RELEASE                  : 0
DHCP INFORM                   : 0
DHCP OFFER                    : 1