[an error occurred while processing this directive][an error occurred while processing this directive]

Example: Using a Scope Policy for Multicast Scoping

This example configures a scope-policy statement named allow-auto-rp-on-backbone, allowing packets for auto-RP groups exact and exact on backbone-facing interfaces, and rejecting all other addresses in the or longer and or longer address ranges.

First, configure the policy allow-auto-rp-on-backbone at the [edit policy-options] hierarchy level:

[edit]policy-options {policy-statement allow-auto-rp-on-backbone {term allow-auto-rp {from {/* backbone-facing interfaces */interface [ so-0/0/0.0 so-0/0/1.0 ];route-filter exact;route-filter exact;}then {accept;}}term reject-these {from {route-filter orlonger;route-filter orlonger;}then reject;}}}

Then apply the scope policy allow-auto-rp-on-backbone at the [edit routing-options] hierarchy level:

[edit]routing-options {multicast {scope-policy allow-auto-rp-on-backbone;}}

To verify that the scope policy is in effect, issue the show multicast scope configuration mode command:

user@host> show multicast scope
Scope policy: [ allow-auto-rp-on-backbone ]

For more information about the show multicast scope command, see the JUNOS Routing Protocols and Policies Command Reference.

Published: 2010-04-16

[an error occurred while processing this directive]