show dhcp client statistics
Syntax
show dhcp client statistics <routing-instance routing-instance-name > logical-system tenant
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.
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.
|
Messages sent |
Number of DHCP messages sent.
|
Sample Output
show dhcp client statistics
user@host> show dhcp client statistics Packets dropped: Total 0 Messages received: BOOTREPLY 0 DHCPOFFER 0 DHCPACK 0 DHCPNAK 0 DHCPFORCERENEW 0 Messages sent: BOOTREQUEST 0 DHCPDECLINE 0 DHCPDISCOVER 0 DHCPREQUEST 0 DHCPINFORM 0 DHCPRELEASE 0 DHCPRENEW 0 DHCPREBIND 0
show dhcp client statistics tenant TSYS1 routing-instance R1
user@host> show dhcp client statistics tenant TSYS1 routing-instance R1 Packets dropped: Total 0 Messages received: BOOTREPLY 14 DHCPOFFER 4 DHCPACK 10 DHCPNAK 0 DHCPFORCERENEW 0 Messages sent: BOOTREQUEST 17 DHCPDECLINE 0 DHCPDISCOVER 4 DHCPREQUEST 10 DHCPINFORM 0 DHCPRELEASE 3 DHCPRENEW 6 DHCPREBIND 0
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.
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.