Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


pcef (Dynamic Profiles)



Hierarchy Level

Release Information

Statement introduced in Junos OS Release 17.2 on MX Series.


Assign a policy and charging enforcement function (PCEF profile) to the dynamic profile. The PCEF profile specifies a set of PCC rules and rulebases to assign to a subscriber for application-aware policy control, and assigns a precedence value to each predefined rule. Also specify which of the PCC rules to activate for the dynamic profile.


activate rule-nameName of the PCC rule to activate or the predefined dynamic interface variable $junos-pcef-rule. To specify more than one rules, include this line multiple times.
activate-allActivates all of the PCC rules.
pcef-profile-nameName of the PCEF profile or the predefined dynamic interface variable $junos-pcef-profile.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.