Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Broadband Subscriber Services User Guide
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Configuring the Activation of an LRF Rule by a PCC Rule

date_range 06-Dec-23
Note:

Starting in Junos OS Release 19.3R1, LRF rules are also supported for Broadband Subscriber Management if Next Gen Services are enabled on the MX-SPC3 services card.

Note:

If you are using Junos OS Subscriber Aware, you must be in maintenance mode to make a change to a PCC action profile. (See No link title).

Note:

If you are using Junos OS Broadband Subscriber Management, you cannot make a change to a PCC action profile that is being used by subscribers. To modify the PCC action profile, you must first log off the subscribers that are using the PCC action profile.

Before you configure activation of an LRF rule by a PCC rule, you must:

  • Configure the LRF rule in an LRF profile.

  • Configure policy-based logging in the LRF profile.

  • Configure the PCC rule.

You use a PCC rule’s matching conditions to activate an LRF rule, which controls how data sessions are logged and reported. You identify the LRF rule in the PCC rule’s action profile.

You can configure a PCC rule to activate an LRF rule for Junos OS Subscriber Aware or for Junos OS Broadband Subscriber Management, but you use a different CLI hierarchy level for each product.

  • If you are using Junos OS Subscriber Aware, configure PCC rules at the [edit unified-edge pcef] hierarchy level.

  • If you are using Junos OS Broadband Subscriber Management, configure PCC rules at the [edit services pcef] hierarchy level.

To configure a PCC rule to activate an LRF rule:

  1. Identify the PCC action profile that is used in the PCC rule.

    For Junos OS Subscriber Aware:

    content_copy zoom_out_map
    [edit unified-edge pcef]
    user@host# show pcc-rules rule-name
    

    For Junos OS Broadband Subscriber Management:

    content_copy zoom_out_map
    [edit services pcef]
    user@host# show pcc-rules rule-name
    

    For example:

    For Junos OS Subscriber Aware:

    content_copy zoom_out_map
    [edit unified-edge pcef]
    user@host# show pcc-rules all-traffic
    
    content_copy zoom_out_map
    from {
        flows {
            all;
        }
    }
    then {
        pcc-action-profile all-traffic-action;
    }
    

    For Junos OS Broadband Subscriber Management:

    Note:

    The from statement is not applicable for Next Gen Services MX-SPC3 services card.

    content_copy zoom_out_map
    [edit services pcef]
    user@host# show pcc-rules all-traffic
    
    content_copy zoom_out_map
    from {
        flows {
            all;
        }
    }
    then {
        pcc-action-profile all-traffic-action;
    }
    
  2. Assign the LRF rule to the PCC action profile.

    For Junos OS Subscriber Aware:

    content_copy zoom_out_map
    [edit unified-edge pcef pcc-action-profiles profile-name]
    user@host# set logging-rule lrf-rule-name
    

    For Junos OS Broadband Subscriber Management:

    content_copy zoom_out_map
    [edit services pcef pcc-action-profiles profile-name]
    user@host# set logging-rule lrf-rule-name
    

    For example:

    For Junos OS Subscriber Aware:

    content_copy zoom_out_map
    [edit unified-edge pcef pcc-action-profiles all-traffic-action]
    user@host# set logging-rule rule1
    

    For Junos OS Broadband Subscriber Management:

    content_copy zoom_out_map
    [edit services pcef pcc-action-profiles all-traffic-action]
    user@host# set logging-rule rule1
    
footer-navigation