clear dhcp relay active-leasequery statistics
Syntax
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)
- clear dhcp relay active-leasequery statistics (Interface)
- show dhcp relay active-leasequery (Interface Statistics)
show dhcp relay active-leasequery (Interface Statistics)
user@host> show dhcp relay active-leasequery statistics interface ge-2/1/1.1020
Interface : ge-2/1/1.1020
Topology-Discover Configured : No
State : Connected
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)
user@host> clear dhcp relay active-leasequery statistics interface ge-2/1/1.1020
show dhcp relay active-leasequery (Interface Statistics)
user@host> show dhcp relay active-leasequery statistics interface ge-2/1/1.1020
Interface : ge-2/1/1.1020
Topology-Discover Configured : No
State : Connected
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)
- clear dhcp relay active-leasequery statistics (Peer)
- show dhcp relay active-leasequery (Peer Statistics)
show dhcp relay active-leasequery (Peer Statistics)
user@host> show dhcp relay active-leasequery statistics peer 192.0.2.2
peer : 192.0.2.2
Topology-Discover Configured : No
State : Connected
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)
user@host> clear dhcp relay active-leasequery statistics
show dhcp relay active-leasequery (Peer Statistics)
user@host> show dhcp relay active-leasequery statistics peer 192.0.2.2
peer : 192.0.2.2
Topology-Discover Configured : No
State : Connected
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.