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 a Policy and Charging Control Rulebase

date_range 06-Dec-23

A policy and charging control (PCC) rulebase contains a set of PCC rules. Each rule specified in the PCC rulebase is assigned a precedence to designate the priority in which PCC rules are evaluated for selection in a policy and charging enforcement function (PCEF) profile.

Note:

Starting in Junos OS Release 19.3R1, application-aware policy control is also supported for Broadband Subscriber Management if you have enabled Next Gen Services on the MX240, MX480 or MX960 router with the MX-SPC3 card.

You can configure PCC rulebases 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 rulebases at the [edit unified-edge pcef] hierarchy level.

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

Note:

If you are using Junos OS Subscriber Aware, you must be in maintenance mode to make a change to a PCC rulebase. (See Changing PCEF Profiles, PCC Rules, PCC Rulebases, Diameter Profiles, Flow Descriptions, and PCC Action Profiles).

Note:

If you are using Junos OS Broadband Subscriber Management, you cannot change a PCC rulebase while it is being used by a subscriber. To modify the rulebase, you must log off the subscribers that are using the rule.

Before you configure a PCC rulebase, you must do the following:

  • Configure service data flow filters.

  • Configure PCC action profiles.

  • Configure PCC rules.

To configure a PCC rulebase:

  1. Specify a name for the rulebase.

    For Junos OS Subscriber Aware:

    content_copy zoom_out_map
    [edit unified-edge pcef ]
    user@host#  edit pcc-rulebases rulebase-name
    

    For Junos OS Broadband Subscriber Management:

    content_copy zoom_out_map
    [edit services pcef ]
    user@host#  edit pcc-rulebases rulebase-name
    
  2. Specify the PCC rules that the rulebase references and a precedence value (1 through 65,535) for each rule.
    Note:
    • The same rule can be configured in different rulebases and can have a different precedence.

    • The precedence assigned must be unique among the configured PCC rules.

    • A lower precedence value indicates a higher precedence. For example, if a PCC rulebase has two PCC rules with precedence 5 and 10 respectively, the PCC rule with precedence 5 is evaluated first.

    For Junos OS Subscriber Aware:

    content_copy zoom_out_map
    [edit unified-edge pcef pcc-rulebases rulebase-name]
    user@host#  set pcc-rule rule-name precedence number
    user@host#  set pcc-rule rule-name precedence number
    user@host#  set pcc-rule rule-name precedence number
    

    For Junos OS Broadband Subscriber Management:

    content_copy zoom_out_map
    [edit services pcef pcc-rulebases rulebase-name]
    user@host#  set pcc-rule rule-name precedence number
    user@host#  set pcc-rule rule-name precedence number
    user@host#  set pcc-rule rule-name precedence number
    
footer-navigation