Supported Platforms
Related Documentation
- EX, M, MX, PTX, T Series
- Example: Using a Scope Policy for Multicast Scoping
- M, MX, PTX, T Series
- Understanding Multicast Administrative Scoping
Example: Creating a Named Scope for Multicast Scoping
This example shows how to configure multicast scoping with four scopes: local, organization, engineering, and marketing.
Requirements
Before you begin:
- Configure a tunnel interface. See the Junos OS Network Interfaces Library for Routing Devices.
- Configure an interior gateway protocol or static routing. See the Junos OS Routing Protocols Library for Routing Devices.
Overview
The local scope is configured on a GRE tunnel interface. The organization scope is configured on a GRE tunnel interface and a SONET/SDH interface. The engineering scope is configured on an IP-IP tunnel interface and two SONET/SDH interfaces. The marketing scope is configured on a GRE tunnel interface and two SONET/SDH interfaces. The Junos OS can scope any user-configurable IPv6 or IPv4 group.
To configure multicast scoping by defining a named scope, you must specify a name for the scope, the set of routing device interfaces on which you are configuring scoping, and the scope's address range.
![]() | Note: The prefix specified with the prefix statement must be unique for each scope statement. If multiple scopes contain the same prefix, only the last scope applies to the interfaces. If you need to scope the same prefix on multiple interfaces, list all of them in the interface statement for a single scope statement. |
When you configure multicast scoping with a named scope, all scope boundaries must include the local scope. If this scope is not configured, it is added automatically at all scoped interfaces. The local scope limits the use of the multicast group 239.255.0.0/16 to an attached LAN.
Configuration
CLI Quick Configuration
To quickly configure this example, copy the following commands, paste them into a text file, remove any line breaks, change any details necessary to match your network configuration, and then copy and paste the commands into the CLI at the [edit] hierarchy level.
Step-by-Step Procedure
The following example requires you to navigate various levels in the configuration hierarchy. For information about navigating the CLI, see Using the CLI Editor in Configuration Mode in the CLI User Guide.
Configure the local scope.
Configure the organization scope.
[edit routing-options multicast]user@host# set scope organization interface [ gr-2/1/0 so-0/0/0 ]user@host# set scope organization prefix 239.192.0.0/14Configure the engineering scope.
[edit routing-options multicast]user@host# set scope engineering interface [ ip-2/1/0 so-0/0/1 so-0/0/2 ]user@host# set scope engineering prefix 239.255.255.0/24Configure the marketing scope.
[edit routing-options multicast]user@host# set scope marketing interface [ gr-2/1/0 so-0/0/2 so-1/0/0 ]user@host# set scope marketing prefix 239.255.254.0/24If you are done configuring the device, commit the configuration.
user@host# commit
Results
Confirm your configuration by entering the show routing-options command.
Verification
To verify that group scoping is in effect, issue the show multicast scope command:
user@host> show multicast scope
Resolve Scope name Group prefix Interface Rejects local fe00::239.255.0.0/128 gr-2/1/00 organization 239.192.0.0/14 gr-2/1/0 so-0/0/00 engineering 239.255.255.0/24 ip-2/1/0 so-0/0/1 so-0/0/20 marketing 239.255.254.0/24 gr-2/1/0 so-0/0/2 so-1/0/00
When you configure scoping with a named scope, the show multicast scope operational mode command displays the names of the defined scopes, prefixes, and interfaces.
Related Documentation
- EX, M, MX, PTX, T Series
- Example: Using a Scope Policy for Multicast Scoping
- M, MX, PTX, T Series
- Understanding Multicast Administrative Scoping
Published: 2013-07-31
Supported Platforms
Related Documentation
- EX, M, MX, PTX, T Series
- Example: Using a Scope Policy for Multicast Scoping
- M, MX, PTX, T Series
- Understanding Multicast Administrative Scoping