enhanced-hierarchical-policer (Dynamic Profiles)
Syntax
enhanced-hierarchical-policer name {
logical-interface-policer;
high {
committed-burst-size variable_name;
committed-information-rate variable_name;
max-committed-information-rate variable_name;
then discard;
}
low {
committed-burst-size variable_name;
committed-information-rate variable_name;
max-committed-information-rate variable_name;
then discard;
}
medium-high {
committed-burst-size variable_name;
committed-information-rate variable_name;
max-committed-information-rate variable_name;
then discard;
}
medium-low {
committed-burst-size variable_name;
committed-information-rate variable_name;
max-committed-information-rate variable_name;
then discard;
}
}Hierarchy Level
[edit dynamic-profiles name firewall]
Description
You can configure enhanced hierarchical policer under dynamic profile to rate limit traffic for subscribers. Traffic policing is supported at four levels of hierarchies with respect to the traffic priority- High, Medium-High, Medium-Low, and Low.
When you configure enhanced hierarchical policer under a dynamic profile, use variables to assign values dynamically based on information received from the RADIUS server or apply the predefined default values.
Options
| name | Enhanced hierarchical policer name |
| high | The policer is assigned to rate-limit traffic from the high traffic priority. |
| medium-high | The policer is assigned to rate-limit traffic from the medium-high traffic priority. |
| medium-low | The policer is assigned to rate-limit traffic from the medium-low traffic priority. |
| low | The policer is assigned to rate-limit traffic from the low traffic priority. |
| committed-burst-size variable_name |
Burst size based on the value received from the RADIUS server or uses the predefined default value of the variable. |
| committed-information-rate variable_name |
Confirmed information rate based on the value received from the RADIUS server or uses the predefined default value of the variable. |
| max-committed-information-rate variable_name | Maximum confirmed information rate based on the value received from the RADIUS server or uses the predefined default value of the variable. |
| discard | Discard packets. |
The following example shows the enhanced hierarchical policer configuration for high traffic priority:
[edit dynamic-profiles pppoe-client-enh-hpol-profile-scaling] set firewall enhanced-hierarchical-policer "$mef_prof" high committed-burst-size "$junos-hpolicer-high-committed-burst" set firewall enhanced-hierarchical-policer "$mef_prof" high committed-information-rate "$junos-hpolicer-high-cir" set firewall enhanced-hierarchical-policer "$mef_prof" high max-committed-information-rate "$junos-hpolicer-high-max-cir" set firewall enhanced-hierarchical-policer "$mef_prof" high then discard
Required Privilege Level
firewall—To view this statement in the configuration.
firewall-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Evolved Release 25.4R1.