[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

show system services dhcp statistics

Syntax

show system services dhcp statistics

Release Information

Command introduced before JUNOS Release 7.4.

Description

(J Series routing platform only) Display Dynamic Host Configuration Protocol (DHCP) server statistics.

Options

This command has no options.

Required Privilege Level

view and system

Related Topics

clear system services dhcp statistics

List of Sample Output

show system services dhcp statistics

Output Fields

Table 134 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 134: 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

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

[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]