Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show dhcp client statistics

Syntax

Description

Displays the DHCP client statistics.

Options

routing-instance routing-instance-name

(Optional) Display the statistics for DHCP clients on the specified routing instance.

logical-system

(Optional) Displays the DHCP statistics information for DHCP clients on the specified logical system.

tenant

(Optional) Displays the DHCP statistics information for DHCP clients on the specified tenant system.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show dhcp client statistics command. Output fields are listed in the approximate order in which they appear.

Table 1: show dhcp client statistics

Field Name

Field Description

Packets dropped

Number of packets discarded by the DHCP local server because of errors. Only nonzero statistics appear in the Packets dropped output. When all of the Packets dropped statistics are 0 (zero), only the Total field appears.

Messages received

Number of DHCP messages received.

  • BOOTREPLY—Number of BOOTP protocol data units (PDUs) received

  • DHCPOFFER—Number of DHCP PDUs of type OFFER received

  • DHCPACK—Number of DHCP PDUs of type ACK received

  • DHCPNACK—Number of DHCP PDUs of type NACK received

  • DHCPFORCERENEW—Number of DHCP PDUs of type FORCERENEW received

Messages sent

Number of DHCP messages sent.

  • BOOTREQUEST—Number of BOOTP protocol data units (PDUs) transmitted

  • DHCPDECLINE—Number of DHCP PDUs of type DECLINE transmitted

  • DHCPDISCOVER—Number of DHCP PDUs of type DISCOVER transmitted

  • DHCPREQUEST—Number of DHCP PDUs of type REQUEST transmitted

  • DHCPINFORM—Number of DHCP PDUs of type INFORM transmitted

  • DHCPRELEASE—Number of DHCP PDUs of type RELEASE transmitted

  • DHCPRENEW—Number of DHCP PDUs of type RENEW transmitted

  • DHCPREBIND—Number of DHCP PDUs of type REBIND transmitted

Sample Output

show dhcp client statistics

show dhcp client statistics tenant TSYS1 routing-instance R1

Release Information

Statement introduced in Junos OS Release 12.1X44-D10.

The logical-system and tenant option is introduced in Junos OS Release 18.4R1.

Note:

This command is not supported in Junos OS Evolved because it is not needed. Stateless DHCPv4 and DHCPv6 relay are supported and enabled by default, so Junos OS Evolved does not maintain states or records of statistics or bindings for DHCP clients.