Note: Starting in Junos OS Release 19.3R2, policy
and charging enforcement function (PCEF) profiles are also supported if you enable
Next Gen Services on a router with the MX-SPC3 card.
A PCEF
profile specifies a set of PCC rules and rulebases that can be assigned
to a subscriber, and assigns a precedence value to each predefined
rule. The PCEF profile is used in one of the following ways:
A static PCEF profile is specified in a dynamic profile.
The dynamic profile indicates whether to activate all the rules in
the PCEF profile or just a subset of the rules.
A dynamic PCEF profile identifies the PCC rules and rulebases
that a PCRF can directly activate.
Note: You cannot change a PCEF profile while it is being used
by a subscriber. To modify the PCEF profile, you must log off the
subscribers that are using the PCEF profile.
To configure a PCEF profile:
- Specify a name for the PCEF profile.
[edit services pcef]
user@host# edit profiles profile-name
- Specify one or more PCC rules and a precedence for each
rule. A lower precedence value indicates a higher precedence. The
precedence assigned must be unique among the configured PCC rules,
including the PCC rules that are assigned a precedence within a PCC
rulebase.
For a PCEF profile that is specified in a dynamic profile,
specify the rules under static-policy-control.
[edit services pcef profiles profile-name]
user@host# set static-policy-control pcc-rules rule-name precedence number
For a PCEF profile that identifies the PCC rules that
a PCRF can directly activate, specify the rules under dynamic-policy-control.
[edit services pcef profiles profile-name]
user@host# set dynamic-policy-control pcc-rules rule-name precedence number
- Specify one or more PCC rulebases.
For a PCEF profile that is specified in a dynamic profile,
specify the rulebases under static-policy-control.
[edit services pcef profiles profile-name]
user@host# set static-policy-control pcc-rulebases rulebase-name
For a PCEF profile that identifies the PCC rules that
a PCRF can directly activate, specify the rulebases under dynamic-policy-control.
[edit services pcef profiles profile-name]
user@host# set dynamic-policy-control pcc-rulebases rulebase-name