[Contents]
[Prev]
[Next]
[Index]
[Report an Error]
show dhcp server statistics
Syntax
-
show dhcp server statistics
-
<logical-system logical-system-name>
-
<routing-instance routing-instance-name>
Release Information
Command introduced in JUNOS Release 9.0.
Description
Display extended Dynamic Host Configuration Protocol
(DHCP) local server statistics.
Options
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
Related Topics
clear dhcp server statistics
List of Sample Output
show dhcp server statistics
Output Fields
Table 113 lists the output
fields for the show dhcp server statistics command. Output
fields are listed in the approximate order in which they appear.
Table 113: show dhcp server statistics
Output Fields
|
Field Name
|
Field Description
|
|
Packets dropped
|
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.
-
Total—Total number of packets discarded
by the extended DHCP local server
-
Bad hardware address—Number of packets
discarded because an invalid hardware address was specified
-
Bad opcode—Number of packets discarded
because an invalid operation code was specified
-
Bad options—Number of packets discarded
because invalid options were specified
-
Invalid server address—Number of packets
discarded because an invalid server address was specified
-
No available addresses—Number of packets
discarded because there were no addresses available for assignment
-
No interface match—Number of packets discarded
because they did not belong to a configured interface
-
No routing instance match—Number of packets
discarded because they did not belong to a configured routing instance
-
No valid local address—Number of packets
discarded because there was no valid local address
-
Packet too short—Number of packets discarded
because they were too short
-
Read error—Number of packets discarded
because of a system read error
-
Send error—Number of packets that the extended
DHCP local server could not send
|
|
Messages received
|
Number of DHCP messages received.
-
BOOTREQUEST—Number of BOOTP protocol data
units (PDUs) received
-
DHCPDECLINE—Number of DHCP PDUs of type
DECLINE received
-
DHCPDISCOVER—Number of DHCP PDUs of type
DISCOVER received
-
DHCPINFORM—Number of DHCP PDUs of type
INFORM received
-
DHCPRELEASE—Number of DHCP PDUs of type
RELEASE received
-
DHCPREQUEST—Number of DHCP PDUs of type
REQUEST received
|
|
Messages sent
|
Number of DHCP messages sent.
-
BOOTREPLY—Number of BOOTP PDUs transmitted
-
DHCPOFFER—Number of DHCP OFFER PDUs transmitted
-
DHCPACK—Number of DHCP ACK PDUs transmitted
-
DHCPNACK—Number of DHCP NACK PDUs transmitted
|
Sample Output
show dhcp server statistics
user@host> show dhcp server statistics
Packets dropped:
Total 30
Bad hardware address 1
Bad opcode 1
Bad options 3
Invalid server address 5
No available addresses 1
No interface match 2
No routing instance match 9
No valid local address 4
Packet too short 2
Read error 1
Send error 1
Messages received:
BOOTREQUEST 89163
DHCPDECLINE 0
DHCPDISCOVER 8110
DHCPINFORM 0
DHCPRELEASE 0
DHCPREQUEST 81053
Messages sent:
BOOTREPLY 32420
DHCPOFFER 8110
DHCPACK 8110
DHCPNAK 8100
[Contents]
[Prev]
[Next]
[Index]
[Report an Error]