Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

clear dhcpv6 relay active-leasequery statistics

 

Syntax

Release Information

Command introduced in Junos OS Release 19.2R1 on MX Series routers.

Description

Clear active leasequery statistics for the specified access interface or for the specified DHCPv6 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

List of Sample Output

show dhcp relay active-leasequery (Interface Statistics)

clear dhcp relay active-leasequery statistics (Interface)

show dhcpv6 relay active-leasequery (Interface Statistics)

show dhcpv6 relay active-leasequery (Peer Statistics)

clear dhcp relay active-leasequery statistics (Peer)

show dhcpv6 relay active-leasequery (Peer Statistics)

Output Fields

This command produces no output.

Sample Output

show dhcp relay active-leasequery (Interface Statistics)

user@host> show dhcpv6 relay active-leasequery statistics interface ge-0/0/0.1

clear dhcp relay active-leasequery statistics (Interface)

user@host> clear dhcp relay active-leasequery statistics interface ge-0/0/0.1

show dhcpv6 relay active-leasequery (Interface Statistics)

user@host> show dhcpv6 relay active-leasequery statistics interface ge-0/0/0.1

Sample Output

show dhcpv6 relay active-leasequery (Peer Statistics)

user@host> show dhcpv6 relay active-leasequery statistics peer 2001:db8::fa:2

clear dhcp relay active-leasequery statistics (Peer)

user@host> clear dhcp relay active-leasequery statistics

show dhcpv6 relay active-leasequery (Peer Statistics)

user@host> show dhcpv6 relay active-leasequery statistics peer 2001:db8::fa:2