[Contents] [Prev] [Next] [Index] [Report an Error]

# 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

`

policies group name list name rule name traffic-condition name traffic-match-condition {
  parent-group parent-group
  source-class source-class ;
  destination-class destination-class ;
  traffic-class traffic-class;
  color color;
  user-packet-class user-packet-class;
  destination-local-interface destination-local-interface ;
}

`

To add JUNOSe filter conditions to a classify-traffic condition:

1. 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
   `
2. (Optional) Configure the condition to match one match conditions.
   `
   [edit policies group junose list ipv4 rule pr traffic-condition tcpg traffic-match-condition]
   user@host# set parent-group parent-group
   `
3. (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
   `
4. (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
   `
5. (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
   `
6. (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
   `
7. (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
   `
8. (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
   `
9. (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
   `
10. (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 Topics

- Configuring Policy Lists (SRC CLI)
- Before You Configure Classify-Traffic Conditions
- Overview of Policy Rules
- Configuring Classify-Traffic Conditions
- Dynamic Bandwidth Allocation Among Traffic Flows in SRC Policy Lists for JUNOSe Routing Platforms

[Contents] [Prev] [Next] [Index] [Report an Error]