Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Example: Separating Targeted Multicast Traffic for Demux Subscribers on Aggregated Ethernet Interfaces

This example shows how to separate targeted multicast traffic from targeted unicast traffic and send that multicast traffic to a different interface through the use of OIF maps.

Requirements

Before configuring this example, make sure to configure the distribution type for the interface. See Configuring the Distribution Type for Demux Subscribers on Aggregated Ethernet Interfaces for instructions.

Overview

In this example, targeted traffic distribution is already configured on the router. Dynamically created interfaces each carry their unicast traffic but all multicast traffic is sent to the ge-5/3/9.0 interface.

Topology

Figure 1 shows the sample network.

Figure 1: Multicast Traffic Separation Using OIF MappingMulticast Traffic Separation Using OIF Mapping

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.

Configure an OIF Map Policy

Step-by-Step Procedure

The following example requires you to navigate various levels in the configuration hierarchy.

To configure the OIF map:

  1. Access the router policy options:

  2. Edit a policy statement.

  3. Create a term for mapping incoming multicast traffic to a specific interface.

  4. Define the match condition for the term. In this case, the term matches any route prefix of 192.168.20.0/4 or longer (all multicast traffic).

  5. Define the action for the term. In this case, when a match occurs, the term accepts the traffic and maps it to interface ge-5/3/9.0.

Results

Confirm your configuration by issuing the show policy-options commands. If the output does not display the intended configuration, repeat the instructions in this example to correct the configuration.

Configure a DHCP VLAN Dynamic Profile

Step-by-Step Procedure

The following example requires you to navigate various levels in the configuration hierarchy.

To configure a DHCP VLAN dynamic profile for client access:

  1. Create a dynamic VLAN demux profile.

  2. Edit the dynamic profile interface.

  3. Edit the interface unit dynamic variable.

  4. Edit the interface family.

  5. Define the loopback address.

Results

Confirm your configuration by issuing the show dynamic-profiles command. If the output for the dhcp-vlan-prof dynamic profile does not display the intended configuration, repeat the instructions in this example to correct the configuration.

Configure a VLAN Demux Dynamic Profile

Step-by-Step Procedure

The following example requires you to navigate various levels in the configuration hierarchy.

To configure the OIF map:

  1. Create a dynamic VLAN demux profile.

  2. Edit the dynamic profile demux0 interface.

  3. Edit the interface unit dynamic variable.

  4. Specify the VLAN ID dynamic variable.

  5. Access the demux options.

  6. Define the demux underlying interface.

  7. Specify that dynamically created VLANs are using targeted distribution.

  8. Edit the interface family.

  9. Define the loopback address.

  10. Edit the dynamic profile IGMP protocol.

  11. Enable IGMP on dynamically created interfaces.

  12. Specify the IGMP version that you want dynamically created interfaces to use.

  13. Specify the OIF map that you want dynamically created IGMP interfaces to use.

  14. Specify that IGMP selectively sends and receives control traffic such as IGMP reports, queries, and leaves.

  15. Specify that the interface accepts IGMP reports from hosts on any subnetwork.

Results

Confirm your configuration by issuing the show dynamic-profiles commands. If the output for the dhcp-vlan-prof dynamic profile does not display the intended configuration, repeat the instructions in this example to correct the configuration.

Verification

Confirm that the configuration is working properly.

Locate the Multicast Group Member

Purpose

Locate the dynamic interface and ensure that it is associated with the appropriate IGMP group.

Action

Meaning

The first Interface field shows the dynamically created demux interface, demux0.1073741824, and the Group field immediately below the first Interface field shows the group, 192.0.2.1, to which the subscriber belongs.

Ensure the Targeting Aggregated Ethernet Interface for the Subscriber is Functional

Purpose

Use the dynamic subscriber interface value to ensure that the targeting aggregated interface is functional.

Action

Meaning

The Targeting summary field shows that the primary interface, ge-5/3/7, is up.

View the Packets for the Targeted Interface

Purpose

Verify that packet traffic sent to targeted interface ge-5/3/9 consists only of multicast packets.

Action

Meaning

The MAC statistics Unicast packet field shows that the interface is not transmitting any unicast packet traffic and the Multicast packet field shows that the total number of packets being transmitted from the interface are multicast packets.