To configure multicast address scoping, include the following statements:
-
multicast {
-
-
scope scope-name {
-
interface [ interface-names ];
-
prefix destination-prefix;
- }
- scoping-policy policy-name;
- }
For a list of hierarchy levels at which you can configure these statements, see the statement summary sections for these statements.
Specify a name for the scope, its address range, and the router interfaces on which you are configuring scoping.
You can apply a multicast scoping policy to the routing table. To apply a scoping policy, include the scoping-policy statement at the [edit routing-options multicast] hierarchy level. For more information on configuring a scoping policy, see the JUNOS Policy Framework Configuration Guide.
Configure multicast scoping by creating four scopes: local, organization, engineering, and marketing.
Configure the local scope on a Fast Ethernet interface. Configure the organization scope on a Fast Ethernet and a SONET/SDH interface. Configure the engineering and marketing scopes on two SONET/SDH interfaces.
- [edit]
- routing-options {
-
- multicast {
-
- scope local {
- prefix 239.255.0.0/16;
- fe-0/1/0.0;
- }
-
- scope organization {
- prefix 239.192.0.0/14;
- interface [ fe-0/1/0.0 so-0/0/0.0 ];
- }
-
- scope engineering {
- prefix 239.255.255.0/24;
- interface [ so-0/0/1.0 so-0/0/2.0 ];
- }
-
- scope marketing {
- prefix 239.255.254.0/24;
- interface [ so-0/0/1.0 so-0/0/2.0 ];
- }
- }
- }