Multicast Configuration Overview

Licensing Requirements

For a complete explanation of Cisco NX-OS licensing recommendations and how to obtain and apply licenses, see the Cisco NX-OS Licensing Guide.

About Multicast

IP multicast is a method of forwarding the same set of IP packets to a number of hosts within a network. You can use multicast in IPv4 networks to provide efficient delivery of data to multiple destinations.

Multicast involves both a method of delivery and discovery of senders and receivers of multicast data, which is transmitted on IP multicast addresses called groups. A multicast address that includes a group and source IP address is often referred to as a channel. The Internet Assigned Number Authority (IANA) has assigned 224.0.0.0 through 239.255.255.255 as IPv4 multicast addresses. For more information, see http://www.iana.org/assignments/multicast-addresses.


Note


For a complete list of RFCs related to multicast, see the IETF RFCs for IP Multicast chapter.


The routers in the network listen for receivers to advertise their interest in receiving multicast data from selected groups. The routers then replicate and forward the data from sources to the interested receivers. Multicast data for a group is transmitted only to those LAN segments with receivers that requested it.

This figure shows one source transmitting multicast data that is delivered to two receivers. In the figure, because the center host is on a LAN segment where no receiver requested multicast data, no data is delivered to that receiver.

Figure 1. Multicast Traffic from One Source to Two Receivers

Cisco NX-OS PIM

Cisco NX-OS supports multicasting with Protocol Independent Multicast (PIM) sparse mode. PIM is IP routing protocol independent and can leverage whichever unicast routing protocols are used to populate the unicast routing table. In PIM sparse mode, multicast traffic is sent only to locations of the network that specifically request it. PIM dense mode is not supported by Cisco NX-OS.


Note


In this publication, the term “PIM” is used for PIM sparse mode version 2.


To access multicast commands, you must enable the PIM feature. Multicast is enabled only after you enable PIM on an interface of each router in a domain. You can configure PIM for an IPv4 network. By default, IGMP is running on the system.

PIM, which is used between multicast-capable routers, advertises group membership across a routing domain by constructing multicast distribution trees. PIM builds shared distribution trees, on which packets from multiple sources are forwarded, as well as source distribution trees, on which packets from a single source are forwarded.

The distribution trees change automatically to reflect the topology changes due to link or router failures. PIM dynamically tracks both multicast-capable sources and receivers.

The router uses the unicast routing table and RPF routes for multicast to create multicast routing information.


Note


In this publication, “PIM for IPv4” refers to the Cisco NX-OS implementation of PIM sparse mode.


This figure shows two PIM domains in an IPv4 network.

Figure 2. PIM Domains in an IPv4 Network

Note


Cisco Nexus 3550-T Release 10.2(3t) does not support MSDP.


  • The lines with arrows show the path of the multicast data through the network. The multicast data originates from the sources at hosts A and D.

  • The dashed line connects routers B and F, which are Multicast Source Discovery Protocol (MSDP) peers. MSDP supports the discovery of multicast sources in other PIM domains.

  • Hosts B and C receive multicast data by using Internet Group Management Protocol (IGMP) to advertise requests to join a multicast group.

  • Routers A, C, and D are designated routers (DRs). When more than one router is connected to a LAN segment, such as C and E, the PIM software chooses one router to be the DR so that only one router is responsible for putting multicast data on the segment.

Router B is the rendezvous point (RP) for one PIM domain, and router F is the RP for the other PIM domain. The RP provides a common point for connecting sources and receivers within a PIM domain.

PIM only supports Any source multicast (ASM) mode for connecting sources and receivers.

ASM

Any Source Multicast (ASM) is a PIM tree building mode that uses shared trees to discover new sources and receivers as well as source trees to form shortest paths from receivers to sources. The shared tree uses a network node as the root, called the rendezvous point (RP). The source tree is rooted at first-hop routers, directly attached to each source that is an active sender. The ASM mode requires an RP for a group range. An RP can be configured statically or learned dynamically by the Auto-RP or BSR group-to-RP discovery protocols. If an RP is learned, the group operates in ASM mode.

The ASM mode is the default mode when you configure RPs.

IGMP

By default, the Internet Group Management Protocol (IGMP) for PIM is running on the system.

IGMP is used by hosts that want to receive multicast data to request membership in multicast groups. Once the group membership is established, multicast data for the group is directed to the LAN segment of the requesting host.

You can configure IGMPv2 on an interface. By default, the software enables IGMPv2.


Note


There are limitations to using IGMPv2 on Layer 2 ports. Please see Guidelines and Limitations for IGMP Snooping before using the feature.


Guidelines and Limitations for Multicast

  • Layer 3 Ethernet subinterfaces are not supported.

  • Layer3 multicast functionality is available only on L3 ports and access ports in Cisco Nexus 3550T.

  • Trunk ports on Cisco Nexus 3550T support partial Layer3 multicast capability. Hence, all Layer3 multicast{vrf,S,G} lookup result with trunk egress port can be sent only on a configured layer3-multicast receiver-vlan. If a receiver is learned on a non-configured VLAN, it does not receive the expected multicast traffic. If you have not configured any layer3-multicast receiver-vlan, multicast-receivers learned on the native-vlan of trunk can receive configured traffic.

  • Traffic storm control is not supported for unknown multicast traffic.

  • Device cannot operate as multicast non-DR for a VLAN segment.

  • Cisco Nexus 3550-T series switch does not support AutoRP or BSR configuration.

  • Bidirectional mode is not supported on Cisco Nexus® 3550-T platform switches.

High-Availability Requirements for Multicast

After a multicast routing protocol is restarted, its state is recovered from the MRIB process.

Troubleshooting Inconsistency Between SW and HW Multicast Routes

Symptom

This section provides symptoms, possible causes, and recommended actions for when *, G, entries that are seen in the MRIB with active flow, but are not programmed in MFIB.

Possible Cause

The issue can be seen when numerous active flows are received beyond the hardware capacity. This causes some of the entries not to be programmed in hardware while there is no free hardware index.

If the number of active flows are significantly reduced to free up the hardware resource, inconsistency may be seen between MRIB and MFIB for flows that were previously affected when the hardware table was full until the entry, times out, repopulates, and triggers programming.

There is currently no mechanism to walk the MRIB table and reprogram missing entries in HW after hardware resource is freed.

Corrective Action

To ensure reprogramming of the entries, use the clear ip mroute * command.