Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

flat-file-profile (Accounting Options)

Syntax

Hierarchy Level

[edit accounting-options]

Description

Configure a flat-file accounting profile that defines the contents of a flat file that records accounting statistics collected from the Packet Forwarding Engine for an interface at regular intervals. To be used, the profile is associated with a subscriber interface. The accounting flat file is archived by the accounting-options archiving mechanism.

Options

profile-name

Name of the flat-file profile.

start-time time

(Optional) Specify the start time in yyyy-mm-dd.hh:mm local time format for the accounting profile. Sometimes, if the time at which the records are written to the accounting file is beyond the transfer interval window of the file, drifting of accounting records occurs. To prevent drifting and to have predictable timestamps of when accounting data is written to an accounting file, we can specify the start time option for the accounting profile.

use-fc-ingress-stats

Enables forwarding class counters.

The remaining statements are explained separately. Search for a statement in CLI Explorer or click a linked statement in the Syntax section for details.

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.1R4.

service-accounting option added in Junos OS Release 17.1.

Support for the service-accounting option removed in Junos OS Release 18.1R4.

use-fc-ingress-stats option added in Junos OS Release 21.2R1.