Feature Explorer AI AI

×

Subscribe now to get the Latest Updates

Watch a 2-minute overview video

Clear accounting option statistics from the Packet Forwarding Engine

More Information:

Clear accounting option statistics from the Packet Forwarding Engine

You can issue the clear interfaces statistics interface-name command to clear counters for accounting statistics received on the logical interface from the Packet Forwarding Engine. The existing statistics are stored as the new current baseline statistics and the counters are reset to zero. This applies to interfaces for which accounting statistics are collected as specified by the interface-profile statement at the [edit accounting-options] hierarchy level. Include the allow-clear statement in the interface profile to enable reporting of the cleared (new current baseline) statistics to the accounting flat file. Reporting is disabled by default. When you clear statistics for an interface that does not have this statement in its interface profile, the CLI displays the statistics as cleared, but this is not reported to the flat file.
Product / Application Software Introduced Release
MX5 Junos OS 17.3R1
MX10 Junos OS 17.3R1
MX40 Junos OS 17.3R1
MX80 Junos OS 17.3R1
MX104 Junos OS 17.3R1
MX240 Junos OS 17.3R1
MX480 Junos OS 17.3R1
MX960 Junos OS 17.3R1
MX2008 Junos OS 17.3R1
MX2010 Junos OS 17.3R1
MX2020 Junos OS 17.3R1