Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


backup-on-failure (Accounting Options)



Hierarchy Level

[edit accounting-options file filename]

Release Information

Statement introduced in Junos OS Release 16.1.


Configure the router to save a copy of the accounting file locally, to the /var/log/pfedBackup directory of the relevant Routing Engine, in the event that file transfer to the remote archive sites cannot be completed.


master-and-slaveBack up accounting files from both the master Routing Engine and the backup Routing Engine.
master-onlyBack up accounting files from only the master Routing Engine.

Required Privilege Level

system—To view this statement in the configuration.

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