Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

clear ancp statistics

Syntax

Description

Clear current statistics accumulated by the ANCP agent for all ANCP neighbors or the specified neighbor.

Options

none

Clear all ANCP statistics.

ip-address ip-address

(Optional) Clear statistics for the ANCP neighbor specified by the IP address.

system-name mac-address

(Optional) Clear statistics for the ANCP neighbor specified by the MAC address.

Required Privilege Level

clear

Output Fields

When you enter this command, you are provided no feedback on the status of your request. You can enter the show ancp neighbor command before and after clearing the ANCP neighbor statistics to verify the clear operation.

Sample Output

clear ancp statistics

show ancp neighbor

The following sample output displays statistics for an ANCP neighbor before and after the clear ancp statistics command was issued.

Release Information

Command introduced in Junos OS Release 13.3.