Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show system services dhcp statistics

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show system services dhcp statistics

Description

(J Series routers and EX Series switches only) Display Dynamic Host Configuration Protocol (DHCP) server statistics.

Options

This command has no options.

Required Privilege Level

view and system

Output Fields

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

Table 1: show system services dhcp statistics Output Fields

Field Name

Field Description

Default lease time

Lease time assigned to clients that do not request a specific lease time.

Minimum lease time

Minimum time a client can retain an IP address lease on the server.

Maximum lease time

Maximum time a client can retain an IP address lease on the server.

Packets dropped

Total number of packets dropped and number of packets dropped because of:

  • Invalid hardware address

  • Invalid opcode

  • Invalid server address

  • No available address

  • No interface match

  • No routing instance match

  • No valid local addresses

  • Packet too short

  • Read error

  • Send error

Messages received

Number of the following message types sent from DHCP clients and received by the DHCP server:

  • BOOTREQUEST

  • DHCPDECLINE

  • DHCPDISCOVER

  • DHCPINFORM

  • DHCPRELEASE

  • DHCPREQUEST

Messages sent

Number of the following message types sent from the DHCP server to DHCP clients:

  • BOOTREPLY

  • DHCPACK

  • DHCPOFFER

  • DHCPNAK

Sample Output

show system services dhcp statistics

content_copy zoom_out_map
user@host> show system services dhcp statistics             

DHCP lease times:
    Default lease time         1 hour
    Minimum lease time         2 hours
    Maximum lease time         infinite

Packets dropped:
    Total                      0
    Bad hardware address       0
    Bad opcode                 0
    Invalid server address     0
    No available addresses     0
    No interface match         0
    No routing instance match  0
    No valid local address     0
    Packet too short           0
    Read error                 0
    Send error                 0

Messages received:
    BOOTREQUEST                0
    DHCPDECLINE                0
    DHCPDISCOVER               0
    DHCPINFORM                 0
    DHCPRELEASE                0
    DHCPREQUEST                0

Messages sent:
    BOOTREPLY                  0
    DHCPACK                    0
    DHCPOFFER                  0
    DHCPNAK                    0

Release Information

Command introduced before Junos OS Release 7.4.

footer-navigation