Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


allow-clear (Accounting Options)


Hierarchy Level


Reports accounting statistics values cleared by the clear interfaces statistics command on a logical interface configured with accounting options to the accounting options flat file associated with the interface. By default, this statement is disabled and the cleared statistics are not reported to the flat file, although the counters do show as cleared in the CLI.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 17.3R1.