You can configure multicast scoping with a scoping statement or with a scoping policy statement. To configure multicast address scoping with either option, include the multicast statement:
-
multicast {
-
-
scope scope-name {
-
interface [ interface-names ];
-
prefix destination-prefix;
- }
-
scope-policy [ policy-names ];
- }
For a list of the hierarchy levels at which you can include this statement, see the statement summary section for this statement.
![]() |
Note: You cannot apply a scoping policy to a specific routing instance. That is, all scoping policies are applied to all routing instances. However, the scope statement does apply individually to a specific routing instance. |
For an overview of logical systems and a detailed example of logical system configuration, see the logical systems chapter of the JUNOS Feature Guide.
You cannot use the scope and scope-policy statements together (the configuration does not commit). The policy statement referenced by the scope-policy statement must be properly configured at the policy-options hierarchy level. For more information about configuring policy statements, see the JUNOS Policy Framework Configuration Guide.
If you configure multicast scoping with the scope statement, the names of the defined scopes, prefixes, and interfaces are displayed as part of the show multicast scope command output. If you configure multicast scoping with the scope-policy statement, only the name of the scope policy is displayed as part of the show multicast scope command output.
This section discusses the following topics, which provide information about the two ways to configuring multicast scoping: