show dhcp server statistics
Syntax
show dhcp server statistics<bulk-leasequery-connections><logical-system logical-system-name><routing-instance routing-instance-name>
Description
Display extended Dynamic Host Configuration Protocol (DHCP) local server statistics.
Options
| bulk-leasequery-connections | (Optional) Display information about DHCP local server bulk leasequery statistics. |
| logical-system logical-system-name | (Optional) Display information about extended DHCP local server statistics on the specified logical system. If you do not specify a logical system, statistics are displayed for the default logical system. |
| routing-instance routing-instance-name | (Optional) Display information about extended DHCP local server statistics on the specified routing instance. If you do not specify a routing instance, statistics are displayed for the default routing instance. |
Required Privilege Level
view
Output Fields
Table 1 lists the output fields for the show dhcp server statistics command. Output fields are listed in the approximate order in which
they appear.
Field Name |
Field Description |
|---|---|
|
Number of packets discarded by the extended 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.
|
|
Number of DHCPv4 offer messages delayed.
|
|
Number of DHCP messages received.
|
|
Number of DHCP messages sent.
|
|
Total number of bulk leasequery connections accepted by the server. |
|
Total number of bulk leasequery connections not accepted by the server. |
|
Number of bulk leasequery connections that the server closed due to an internal error. |
|
Number of bulk leasequery connections that the server closed because the maximum number of empty replies was reached. |
|
Number of bulk leasequery connections on the server. |
Sample Output
show dhcp server statistics
user@host> show dhcp server statistics
Packets dropped:
Total 1
Lease Time Violation 1
Offer Delay:
DELAYED 3
INPROGRESS 9
TOTAL 12
Messages received:
BOOTREQUEST 25
DHCPDECLINE 0
DHCPDISCOVER 10
DHCPINFORM 0
DHCPRELEASE 4
DHCPREQUEST 10
DHCPRENEW 4
DHCPREBIND 2
Messages sent:
BOOTREPLY 20
DHCPOFFER 10
DHCPACK 10
DHCPNAK 0
DHCPFORCERENEW 0
show dhcp server statistics
user@host> show dhcp server statistics verbose
Packets dropped:
Total 0
Messages received:
BOOTREQUEST 238
DHCPDECLINE 0
DHCPDISCOVER 1
DHCPINFORM 0
DHCPRELEASE 0
DHCPREQUEST 237
DHCPRENEW 236
DHCPREBIND 0
Messages sent:
BOOTREPLY 20
DHCPOFFER 10
DHCPACK 10
DHCPNAK 0
DHCPFORCERENEW 0
Release Information
Command introduced in Junos OS Release 9.0.
bulk-leasequery-connections option introduced in
Junos OS Release 16.1.