Configure Route Filters and Source Classes in a Routing Policy
Begin configuring SCU by creating prefix route filters in a policy statement. These prefixes indicate the IPv4 or IPv6 source addresses to monitor. Within the policy statement, you must define and name the source classes attached to the filters.
[edit policy-options]policy-statementpolicy-name{termterm-namefrom {route-filteraddress/prefix;}then source-classclass-name;}}An alternate configuration method, using the
forwarding-classpolicy action, is even more flexible. It allows your IPv4 or IPv6 route filters to apply to an SCU profile, a DCU profile, or both simultaneously. Additionally, if you have only one term, you can implement thefromandthenstatements at the [edit policy-options policy-statementpolicy-name] hierarchy level.[edit policy-options]policy-statementpolicy-name{from {route-filter 105.15.0.0/16 orlonger;}then forwarding-classclass-name;}A third option is the existing DCU parameter of
destination-class. For more information on DCU, see the JUNOS Internet Software Policy Framework Configuration Guide.