flat-file-profile (Accounting Options)
Syntax
flat-file-profile profile-name{ fields { all-fields; egress-stats { all-fields; input-bytes; input-packets; output-bytes; output-packets; queue-id; red-drop-bytes; red-drop-packets; tail-drop-packets; total-drop-packets; } general-param { all-fields; accounting-type; descr; line-id; logical-interface; nas-port-id; physical-interface; routing-instance; timestamp; user-name; vlan-id; } ingress-stats { all-fields; drop-packets; input-bytes; input-packets; output-bytes; output-packets; queue-id; } l2-stats { all-fields; input-mcast-bytes; input-mcast-packets; } overall-packet { all-fields; input-bytes; input-discards; input-errors; input-packets; inputv6-bytes; inputv6-packets; output-bytes; output-errors; output-packets; outputv6-bytes; outputv6-packets; input-v4-bytes; input-v4-packets; output-v4-bytes; output-v4-packets; input-bytes-per-sec; input-packets-per-sec; } service-accounting; } file filename; format (csv | ipdr) interval minutes; start-time time; schema-version schema-name; use-fc-ingress-stats; }
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
|
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.