Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


cleanup-interval (Accounting Options)


Hierarchy Level

[edit accounting-options]


Configure the interval to delete files from the local backup directory.



Number of days after which accounting-options files are to be deleted from the backup directory.

  • Range: 1 through 31 days

  • Default: 1 day

Required Privilege Level

system—To view this statement in the configuration.

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

Release Information

Statement introduced in Junos OS Release 16.1.