clear dhcp server statistics
Syntax
- clear dhcp server statistics
- <logical-system logical-system-name>
- <routing-instance routing-instance-name>
Release Information
Command introduced in JUNOS Release 9.0.
Description
Clear all extended Dynamic Host Configuration Protocol (DHCP) local server statistics.
Options
logical-system logical-system-name — (Optional) Clear the statistics for DHCP clients on the specified logical system. If you do not specify a logical system, statistics are cleared for the default logical system.
routing-instance routing-instance-name — (Optional) Clear the statistics for DHCP clients on the specified routing instance. If you do not specify a routing instance, statistics are cleared for the default routing instance.
Required Privilege Level
view
List of Sample Output
clear dhcp server statisticsOutput Fields
See show dhcp server statistics for an explanation of output fields.
Sample Output
The following sample output displays the extended DHCP local server statistics before and after the clear dhcp server statistics command is issued.
user@host> show dhcp server statisticsPackets dropped:
Total 0
Messages received:
BOOTREQUEST 89163
DHCPDECLINE 0
DHCPDISCOVER 8110
DHCPINFORM 0
DHCPRELEASE 0
DHCPREQUEST 81053
Messages sent:
BOOTREPLY 32420
DHCPOFFER 8110
DHCPACK 8110
DHCPNAK 8100
user@host> clear dhcp server statisticsuser@host> show dhcp server statisticsPackets dropped:
Total 0
Messages received:
BOOTREQUEST 0
DHCPDECLINE 0
DHCPDISCOVER 0
DHCPINFORM 0
DHCPRELEASE 0
DHCPREQUEST 0
Messages sent:
BOOTREPLY 0
DHCPOFFER 0
DHCPACK 0
DHCPNAK 0
