Configuring JunosE Parent-Group References (SRC CLI)
For JunosE policies, you can apply filter conditions to the input (ingress) and output (egress) side of the router interface. Typically, you use filter conditions with hierarchical rate-limit actions.
Use the following configuration statements to configure match conditions for a JunosE filter:
To add JunosE filter conditions to a classify-traffic condition:
From configuration mode, create a classify-traffic condition. For example, to create a traffic-condition called tcpg within policy rule pr:
[edit]user@host# edit policies group junose list ipv4 rule pr traffic--condition tcpg traffic-match-condition(Optional) Configure the condition to match one match condition.
[edit policies group junose list ipv4 rule pr traffic-condition tcpg traffic-match-condition]user@host# set parent-group parent-group(Optional) Configure the condition to match one or more parent groups in a hierarchical rate-limit action.
[edit policies group junose list ipv4 rule pr traffic-condition tcpg traffic-match-condition]user@host# set parent-group parent-group(Optional) Configure the condition to match an external parent group. For example, to add a reference called epg1-ref:
[edit policies group junose list ipv4 rule pr traffic-condition tcpg traffic-match-condition]user@host# set external-parent-group-reference epg1-refSpecify the name of the external parent group you want to reference. For example, to reference the external parent group epg1:
[edit policies group junose list ipv4 rule pr traffic-condition tcpg traffic-match-condition external-parent-group-reference epg1-ref]user@host# set external-parent-group-name epg1Specify the name of the hierarchical policy parameter you want to reference. For example, to reference the hierarchical policy parameter hpp1:
[edit policies group junose list ipv4 rule pr traffic-condition tcpg traffic-match-condition external-parent-group-reference epg1-ref]user@host# set hierarchical-policy-parameter hpp1Specify the attributes of the hierarchical policy parameter you are referencing.
[edit policies group junose list ipv4 rule pr traffic-condition tcpg traffic-match-condition external-parent-group-reference epg1-ref hierarchical-policy-parameter hpp1]user@host# set numeric-aggregation-node numeric-aggregation-nodeuser@host# set level-aggregation-node level-aggregation-nodeuser@host# set level-aggregation-node-id level-aggregation-node-idFor information about configuring the attributes of the hierarchical policy parameter, see Configuring Hierarchical Policy Parameters for External Parent Groups (SRC CLI).
(Optional) Configure the condition to match packets based on the source route class.
[edit policies group junose list ipv4 rule pr traffic-condition tcpg traffic-match-condition]user@host# set source-class source-class(Optional) Configure the condition to match packets based on the destination route class.
[edit policies group junose list ipv4 rule pr traffic-condition tcpg traffic-match-condition]user@host# set destination-class destination-class(Optional) Configure the condition to match packets based on the traffic class.
[edit policies group junose list ipv4 rule pr traffic-condition tcpg traffic-match-condition]user@host# set traffic-class traffic-class(Optional) Configure the condition to match packets based on the packet color.
[edit policies group junose list ipv4 rule pr traffic-condition tcpg traffic-match-condition]user@host# set color color(Optional) Configure the condition to match packets based on the user packet class action number.
[edit policies group junose list ipv4 rule pr traffic-condition tcpg traffic-match-condition]user@host# set user-packet-class user-packet-class(Optional) Configure the condition to match packets based on packets destined for a local interface.
[edit policies group junose list ipv4 rule pr traffic-condition tcpg traffic-match-condition]user@host# set destination-local-interface destination-local-interface(Optional) Verify the secondary input policy configuration.
[edit policies group junose list ipv4 rule pr traffic-condition tcpg traffic-match-condition] user@host# show
Related Documentation
Configuring External Parent Groups for JunosE Devices (SRC CLI)
Dynamic Bandwidth Allocation Among Traffic Flows in SRC Policy Lists for JunosE Routing Platforms
Supporting External Parent Groups for Hierarchical Rate-Limiting on JunosE Routing Platforms
Configuring External Parent Groups for JunosE Devices (SRC CLI)