pcef
Syntax
pcef {
flow-descriptions flow-identifier {
direction (uplink | downlink | both);
local-port-range {
low low-value high high-value;
}
local-ports number;
no-send-to-ue;
protocol number;
remote-address (ipv4-address ipv4-address | ipv6-address ipv6-address);
remote-port-range {
low low-value high high-value;
}
remote-ports number;
}
pcc-action-profiles profile-name {
forwarding-class class-name;
gate-status (uplink | downlink | uplink-downlink | disable-both);
hcm-profile hcm-profile-name;
logging-rule lrf-rule-name;
maximum-bit-rate uplink mbr-uplink-value downlink mbr-downlink-value;
monitoring-key key_string;
redirect {
url url-name;
}
steering {
keep-existing-steering;
path {
ipv4-address ipv4-address;
ipv6-address ipv6-address;
}
routing-instance {
downlink downlink-vrf-name;
uplink uplink-vrf-name;
}
}
}
pcc-rulebases rulebase-name {
[pcc-rule rule-name precedence number];
}
pcc-rules rule-name {
from {
<application-groups [application-group-name]>;
<applications [application-name]>;
flows ([flow-identifier ] | any);
}
then {
pcc-action-profile profile-name;
}
}
pcc-time-of-day-profiles profile-name {
rule-activation-time {
<day-of-week | day-of-month month>;
<hour:min>;
}
rule-deactivation-time {
<day-of-week | day-of-month month>;
<hour:min>;
}
}
profiles profile-name {
aaa-policy-control {
aaa-profile aaa-profile-name;
pcc-rulebases [rulebase-name];
user-password password;
}
dynamic-policy-control {
pcc-rules {
[rule-name number];
}
pcc-rulebases {
[rulebase-name];
}
diameter-profile gx-profile-name;
}
static-policy-control {
pcc-rules {
[rule-name precedence number <time-of-day-profile profile-name>];
}
pcc-rulebases {
[rulebase-name <time-of-day-profile profile-name>];
}
}
}
}
Hierarchy Level
[edit unified-edge]
Description
Set up the overall policy and control enforcement function (PCEF) configuration.
The remaining statements are explained separately. See CLI Explorer.
Required Privilege Level
unified-edge—To view this statement in the configuration.
unified-edge-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 17.1.