Technical Documentation

Example: Configuring RPF Policies

This example configures an RPF check policy named disable-RPF-on-PE, disabling the RPF check on multicast packets for the configured (S,G) source-group pair. This policy will not perform RPF checks on packets arriving for group or from source address

First, configure the policy disable-RPF-on-PE at the [edit policy-options] hierarchy level:

[edit]policy-options {policy-statement disable-RPF-on-PE {term first {from {route-filter orlonger;source-address-filter exact;}then {reject;}}}}

For more information about route and source address filters, see the JUNOS Policy Framework Configuration Guide.

Then apply the policy disable-RPF-on-PE at the [edit routing-options] hierarchy level:

[edit]routing-options {multicast {rpf-check-policy disable-RPF-on-PE;}}

You can also configure each condition as a separate policy and reference both policies in the rpf-check-policy statement:

[edit]policy-options {policy-statement disable-RPF-on-group {term first {from {route-filter orlonger;}then {reject;}}}}policy-statement disable-RPF-on-source {term first {from {source-address-filter exact;}then {reject;}}}[edit]routing-options {multicast {rpf-check-policy [ disable-RPF-on-group disable-RPF-on-source ];}}

This allows you to associate groups in one policy and sources in the other.

Published: 2010-04-16