Configuring Hardware Multicast Packet Replication

You can configure IPv4 multicast to replicate packets to optimized hardware on a logical port instead of using the forwarding controller (FC) on the router.

The bandwidth between the line module and the I/O module or IOA on the E Series router is limited. A high-density Ethernet module provides eight physical ports that can consume the bandwidth between the line module and the I/O module or IOA before providing enough traffic to support egress line rate for all of these ports.

Figure 4 displays how multicast traffic is typically replicated on the line module. Each of these replicated packets is transmitted from the line module to the I/O module or IOA.

Figure 4: Packet Flow Without Hardware Multicast Packet Replication

Image g013294.gif

The hardware multicast packet replication feature enables you to configure multicast traffic for a VLAN or S-VLAN to be replicated on the I/O module or IOA so that only one copy of the packet is transmitted from the line module to the I/O module or IOA. Replication for each of the ports is performed on the I/O module or IOA.

Configuring hardware multicast packet replication for high-density Ethernet is useful when you want to provide the same multicast stream out of some or all of the ports, such as for IP television (IPTV). Configuring hardware multicast packet replication enables you to:

You can use the additional bandwidth to increase the bandwidth of multicast traffic out of each of the Gigabit Ethernet ports.

Figure 5 displays the flow of a multicast packet using the hardware multicast packet feature.

Figure 5: Packet Flow with Hardware Multicast Packet Replication

Image g013293.gif

 

Each high-density Ethernet module has eight physical ports, numbered 0–7. A logical port is available for the hardware multicast packet replication feature, numbered port 8.

JunosE tracks the OIFs in an mroute that have been redirected to use the hardware multicast packet replication hardware. The system accepts only egress multicast traffic to traverse the interface stack on the enabled port. The system drops unicast traffic that is routed to this port.

Each port on the I/O module or IOA displayed in Figure 5 has two queues. These queues are further down the egress path than the queues found on the line module and populated by the FC.

The low-priority queue is dedicated to packets that are received from the line module queues that are dedicated to the physical ports. This queue blocks when full and provides backpressure to the line module. This queue services unicast and multicast traffic that is not using the hardware multicast packet replication feature.

The high-priority queue is dedicated to packets that are received from the line module queue for port 8. This queue is serviced at a higher priority than the first queue, and drops packets when full.

For more information about high-density Ethernet, see Configuring Ethernet Interfaces in the JunosE Physical Layer Configuration Guide.

Supported Modules and Encapsulations

You can enable hardware multicast packet replication on port 8 of the following high-density Ethernet modules:

When enabled, the hardware multicast packet replication feature defines the encapsulation of the egress multicast packet. The following encapsulations are supported:

The hardware multicast packet replication feature also provides an interface over which you can configure the following:

Relationship with OIF Mapping

Multicast OIF mapping enables the router to decrease the inefficiencies associated with replicating streams of multicast traffic. Using OIF maps, IGMP joins that the router receives on a subscriber interface can be mapped to a dedicated multicast VLAN.

The hardware multicast packet replication feature enables you to redirect each of the IP interfaces on a line module over a dedicated multicast VLAN to a single IP interface over port 8. The FC is only required to send a single packet per dedicated multicast VLAN to the I/O module or IOA. The module then replicates this packet to the appropriate ports.

For more information about configuring OIF mapping, see Configuring Group Outgoing Interface Mapping in Configuring IGMP .

Hardware Multicast Packet Replication Considerations

When configuring hardware multicast packet replication, the following considerations apply.

Configuring Hardware Multicast Packet Replication

To configure hardware multicast packet replication:

  1. Configure port 8 on a high-density Ethernet module to accept redirected egress multicast traffic.
    1. Specify the Gigabit Ethernet interface on port 8.
    2. Create a VLAN major interface.
    3. Create a VLAN subinterface.
    4. Assign a VLAN ID.
    5. Configure an unnumbered IP interface.
    6. Enable IGMP on the interface with only multicast-data-forwarding capability.
      host1(config)#interface gigabitEthernet 2/8 host1(config-if)#encapsulation vlan host1(config-if)#interface gigabitEthernet 2/8.1 host1(config-if)#vlan id 1 host1(config-if)#ip unnumbered loopback 0 host1(config-if)#ip igmp version passive
  2. Configure an IP interface to redirect egress multicast traffic to port 8.
    1. Create a VLAN subinterface.
    2. Assign a VLAN ID.
    3. Assign an IP address.
    4. Configure the interface to redirect egress multicast traffic to port 8.
      host1(config)#interface gigabitEthernet 2/0.101 host1(config-if)#vlan id 1 host1(config-if)#ip address 10.1.1.1 255.255.255.0 host1(config-if)#ip multicast ioa-packet-replication gigabitEthernet 2/8.1

encapsulation vlan

  • Use to configure VLAN as the encapsulation method for the interface.
  • Example
    host1(config-if)#encapsulation vlan
  • Use the no version to disable VLAN on an interface.
  • See encapsulation vlan.

ip igmp version

  • Use to set the IGMP version (1, 2, or 3) for the interface or specify a passive interface with only multicast-data-forwarding capability (passive).
  • Example
    host1:boston(config-if)#ip igmp version passive
  • Use the no version to set the version to the default, IGMPv2.
  • See ip igmp version.

ip multicast ioa-packet-replication

  • Use to configure hardware multicast packet replication on port 8 of a high-density Ethernet module.
  • Example
    host1(config-if)#ip multicast ioa-packet-replication gigabitEthernet 3/8.1
  • Use the no version to disable hardware multicast packet replication.
  • See ip multicast ioa-packet-replication.

ip unnumbered

  • Use to configure an unnumbered IP interface.
  • This command enables IP processing on an interface without assigning an explicit IP address to the interface.
  • You must specify an interface location, which is the identifier of another interface on which the router has an assigned IP address. This interface cannot be another unnumbered interface.
  • Example
    host1(config-if)#ip unnumbered loopback 10
  • Use the no version to disable IP processing on the interface.
  • See ip unnumbered.

Configuring Hardware Multicast Packet Replication with OIF-Mapping

This section describes how to configure hardware multicast packet replication with OIF-mapping.

  1. Configure port 8 on a supported high-density Ethernet module to accept redirected egress multicast traffic. For the procedure see Configuring Hardware Multicast Packet Replication. For information about supported high-density Ethernet modules see Supported Modules and Encapsulations.
  2. Use OIF maps to map the subscriber IGMP interfaces (C-VLANs) to the dedicated multicast VLAN (M-VLAN). The dedicated M-VLAN should be located on the line module containing the IOA replication interface. The C-VLAN and M-VLAN can either be on the same or different line modules. For information about configuring OIF mapping see Configuring Group Outgoing Interface Mapping.
  3. Configure the dedicated M-VLAN to redirect egress multicast traffic to port 8. For the procedure see Configuring Hardware Multicast Packet Replication.

Monitoring Hardware Multicast Packet Replication

This section describes how to monitor hardware multicast packet replication.

Port Statistics

Use the show interfaces gigabitEthernet command to display port statistics for port 8. For port 8, queue statistics have no direct relationship to any of the 8 ports because each packet transmitting through the queue can be sent through 1 or more of the 8 physical ports. For more information, see Monitoring Ethernet Interfaces in the JunosE Physical Layer Configuration Guide.

IP and VLAN Statistics

Use the show vlan subinterface command to display statistics for a VLAN interface configured over port 8. For more information, see Monitoring Ethernet Interfaces in the JunosE Physical Layer Configuration Guide.

Use the show ip interface command to display statistics for an IP interface configured over port 8. For more information, see Monitoring IP in the JunosE IP, IPv6, and IGP Configuration Guide.

Multicast traffic redirected by the hardware multicast packet replication feature is displayed in the statistics for the IP or VLAN interface over port 8, not the original IP or VLAN interface over the physical port.

The statistics for the IP or VLAN interface over port 8 reflect the number of packets that passed through this interface destined for the hardware multicast packet replication hardware. These statistics have no direct correlation to the number of packets being transmitted from any of the physical ports.

IGMP Statistics

Use the show ip igmp interface command to display statistics, including hardware multicast packet replication configuration, for an IP interface stacked over port 8. For more information, see Monitoring IGMP in Configuring IGMP .