Configuring Flat-File Accounting for Extensible Subscriber Services Management
Flat-file accounting is typically used to collect and archive various accounting statistics on logical interfaces for Extensible Subscriber Services Manager (ESSM) business subscribers. Other applications include accounting for wholesaler and retailer subscriber activity in a Layer 2 wholesale environment. Starting in Junos OS Release 16.1R4, you can create a flat-file profile to use as a template to define attributes for accounting flat files. The profile specifies the following:
The statistics fields that are collected.
The filename where the statistics are logged.
The format of the file, the interval at which the statistics are collected.
The name of the XML schema file that specifies the contents of the accounting file.
You can configure multiple accounting profiles with different combinations of fields for specific accounting requirements, and then assign the profiles as needed to provisioned interfaces to satisfy the accounting requirements for each interface depending on how it is used.
A given flat-file profile can be assigned to both use cases;
for example, by specifying all-fields
for a global or group
level. In this case, the fields you configure appear in the accounting
record only if they make sense in the context.
We recommend you use separate flat-file profiles for ESSM business subscriber logical interfaces and Layer 2 wholesale core-facing physical interfaces.
To configure flat-file accounting for ESSM business services: