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

clear dhcp relay active-leasequery statistics

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
clear dhcp relay active-leasequery statistics
(interface interface-name | peer ip-address)

Description

Clear active leasequery statistics for the specified access interface or for the specified DHCPv4 active leasequery peer relay agent. The statistics for bindings sent, received, installed and failed are cleared.

Options

interface interface-name

(Optional) Clear all active leasequery statistics for a specific access interface.

peer ip-address

(Optional) Clear all active leasequery statistics for a specific peer relay agent.

Required Privilege Level

clear

Output Fields

This command produces no output.

Sample Output

show dhcp relay active-leasequery (Interface Statistics)

content_copy zoom_out_map
user@host> show dhcp relay active-leasequery statistics interface ge-2/1/1.1020
                
     Interface : ge-2/1/1.1020
     Topology-Discover Configured           : Yes
     State                                  : Done
     Bindings Sent                          : 400
     Bindings Received                      : 320
     Bindings Installed Successfully        : 310
     Bindings Failed to install             : 10
     Last Synchronization Time              : 2019-02-15 16:20:05 IST
     ALQ Transmit Buffer count              : ffff
     Max Leasequery Transmit Rate           : 60
     Local Interface count                  : 1
     Remote Interface count                 : 1

clear dhcp relay active-leasequery statistics (Interface)

content_copy zoom_out_map
user@host> clear dhcp relay active-leasequery statistics interface ge-2/1/1.1020

show dhcp relay active-leasequery (Interface Statistics)

content_copy zoom_out_map
user@host> show dhcp relay active-leasequery statistics interface ge-2/1/1.1020
                
     Interface : ge-2/1/1.1020
     Topology-Discover Configured           : Yes
     State                                  : Done
     Bindings Sent                          : 0
     Bindings Received                      : 0
     Bindings Installed Successfully        : 0
     Bindings Failed to install             : 0
     Last Synchronization Time              : 2019-02-15 16:21:58 IST
     ALQ Transmit Buffer count              : ffff
     Max Leasequery Transmit Rate           : 60
     Local Interface count                  : 1
     Remote Interface count                 : 1

Sample Output

show dhcp relay active-leasequery (Peer Statistics)

content_copy zoom_out_map
user@host> show dhcp relay active-leasequery statistics peer 192.0.2.2

     peer : 192.0.2.2
     Topology-Discover Configured           : Yes
     State                                  : Done
     Bindings Sent                          : 225
     Bindings Received                      : 210
     Bindings Installed Successfully        : 210
     Bindings Failed to install             : 0
     Last Synchronization Time              : 2019-02-15 16:28:36 IST
     ALQ Transmit Buffer count              : ffff
     Max Leasequery Transmit Rate           : 60
     Local Interface count                  : 4
     Remote Interface count                 : 4

clear dhcp relay active-leasequery statistics (Peer)

content_copy zoom_out_map
user@host> clear dhcp relay active-leasequery statistics

show dhcp relay active-leasequery (Peer Statistics)

content_copy zoom_out_map
user@host> show dhcp relay active-leasequery statistics peer 192.0.2.2

     peer : 192.0.2.2
     Topology-Discover Configured           : Yes
     State                                  : Done
     Bindings Sent                          : 0
     Bindings Received                      : 0
     Bindings Installed Successfully        : 0
     Bindings Failed to install             : 0
     Last Synchronization Time              : 2019-02-15 16:30:01 IST
     ALQ Transmit Buffer count              : ffff
     Max Leasequery Transmit Rate           : 60
     Local Interface count                  : 4
     Remote Interface count                 : 4

Release Information

Command introduced in Junos OS Release 19.2R1.

footer-navigation