show system services dhcp statistics
Syntax
Release Information
Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 9.0 for EX Series switches.
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
List of Sample Output
show system services dhcp statisticsOutput 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:
|
Messages received | Number of the following message types sent from DHCP clients and received by the DHCP server:
|
Messages sent | Number of the following message types sent from the DHCP server to DHCP clients:
|
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