Configuring an LRF Profile for Subscribers
Starting in Junos OS Release 19.3R1, LRF profiles are also supported for Broadband Subscriber Management if Next Gen Services are enabled on the MX-SPC3 services card.
Configure an LRF profile to specify a set of logging and reporting parameters, which includes data templates, collectors, and LRF rules.
To configure an LRF profile:
Configuring the LRF Profile Name
An LRF profile is identified by a name, which you later specify in the service set for the subscribers.
[edit services lrf] user@host# set profile profile-name
For example:
[edit services lrf] user@host# set profile lrf_profile1
Configuring Policy-Based Logging
Policy-based logging causes the LRF rules to be activated by PCC rules in a static PCEF profile.
[edit services lrf profile profile-name] user@host# set policy-based-logging
For example:
[edit services lrf profile lrf_profile1] user@host# set policy-based-logging
(Optional) Configuring HTTP Transaction Logging
Configure HTTP transaction logging if you want the HTTP
metadata generated and sent separately for each transaction of a data
session. This option is only relevant if the template specified in
an LRF rule includes http
in the template-type
.
[edit services lrf profile profile-name] user@host# set http-log-multiple-transactions
For example:
[edit services lrf profile lrf_profile1] user@host# set http-log-multiple-transactions
Configuring Collectors
Configure one or more collectors that you want to receive logging and reporting data when an LRF rule is activated. You can configure up to eight collectors for an LRF profile. For each collector:
Configuring Templates
Configure one or more templates, each of which specifies a set of data to be transmitted when an LRF rule is activated. You can configure up to 16 templates for an LRF profile. For each template:
Configuring Logging and Reporting Rules
Configure one or more LRF rules, which control how data sessions are logged and reported. You can configure up to 32 LRF rules for an LRF profile. For each LRF rule: