free stats
Cisco Nexus 7000 Series Configuration Manual

Cisco Nexus 7000 Series Configuration Manual

Nx-os multicast routing
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide
First Published: 2016-12-23
Last Modified: 2019-02-19
Americas Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883

Advertisement

Table of Contents
loading

Summary of Contents for Cisco Nexus 7000 Series

  • Page 1 Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide First Published: 2016-12-23 Last Modified: 2019-02-19 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0883...
  • Page 2 Cisco has more than 200 offices worldwide. Addresses and phone numbers are listed on the Cisco website at www.cisco.com/go/offices. Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com...
  • Page 3: Table Of Contents

    Information about Multicast Multicast Distribution Trees Source Trees Shared Trees Bidirectional Shared Trees Multicast Forwarding Cisco NX-OS PIM and PIM6 Bidir RPF Routes for Multicast IGMP and MLD IGMP Snooping Interdomain Multicast Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 4 Restarting the IGMP Process Verifying the IGMP Configuration Configuration Examples for IGMP Feature History for IGMP C H A P T E R 4 Configuring MLD Information About MLD MLD Versions Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 5 Designated Forwarders ASM Switchover from Shared Tree to Source Tree ECMP Multicast Load Splitting Based on Source Group and Next-Hop Address Overview Administratively Scoped IP Multicast Bidirectional Forwarding Detection for PIM Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 6 Configuring RPF Routes for Multicast Disabling Multicast Multipath Enabling ECMP Multicast Load Splitting Based on Source Group and Next-Hop Address Example: Enabling ECMP Multicast Load Splitting Based on Source Group and Next-Hop Address Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 7 Related Documents Standards MIBs Feature History for PIM and PIM6 C H A P T E R 6 Configuring IGMP Snooping Information About IGMP Snooping IGMPv1 and IGMPv2 IGMPv3 IGMP Snooping Querier Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 8 Licensing Requirements for MSDP Prerequisites for MSDP Default Settings for MSDP Configuring MSDP Enabling the MSDP Feature Configuring MSDP Peers Configuring MSDP Peer Parameters Configuring MSDP Global Parameters Configuring MSDP Mesh Groups Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide viii...
  • Page 9 Enabling Multicast Performance Enhancement on VDCs Information About Multicast Performance Enhancement Licensing Requirements for Multicast Performance Enhancement Guidelines and Limitations for Enhanced Multicast Performance Enabling Multicast Performance Enhancement Related Documents for Multicast Performance Enhancement Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 10 A P P E N D I X A IETF RFCs for IP Multicast IETF RFCs for IP Multicast A P P E N D I X B Configuration Limits for Cisco NX-OS Multicast Configuration Limits Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 11: Preface

    This preface describes the audience, organization, and conventions of the Book Title. It also provides information on how to obtain related documentation. This chapter includes the following topics: Audience This publication is for experienced network administrators who configure and maintain Cisco NX-OS on Cisco Nexus 7000 Series Platform switches. Document Conventions Note •...
  • Page 12: Related Documentation

    Caution Means reader be careful. In this situation, you might do something that could result in equipment damage or loss of data. Related Documentation Documentation for Cisco Nexus 7000 Series Switches is available at: • Configuration Guides http://www.cisco.com/c/en/us/support/switches/nexus-7000-series-switches/ products-installation-and-configuration-guides-list.html • Command Reference Guides http://www.cisco.com/c/en/us/support/switches/nexus-7000-series-switches/...
  • Page 13: Documentation Feedback

    Preface Documentation Feedback • Licensing Guide http://www.cisco.com/c/en/us/support/switches/nexus-7000-series-switches/ products-licensing-information-listing.html Documentation for Cisco Nexus 7000 Series Switches and Cisco Nexus 2000 Series Fabric Extenders is available at the following URL: http://www.cisco.com/c/en/us/support/switches/nexus-2000-series-fabric-extenders/ products-installation-and-configuration-guides-list.html Documentation Feedback To provide technical feedback on this document, or to report an error or omission, please send your comments to nexus7k-docfeedback@cisco.com.
  • Page 14 Preface Communications, Services, and Additional Information Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 15: New And Changed Information

    Feature Description Changed in Release Where Documented Configuring MoFRR Introduced this feature. 8.2(1) Configuring MoFRR, on page 179 Configuring Multicast Introduced this feature. 8.2(1) Configuring Multicast Extranet Extranet, on page 173 Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 16 New and Changed Information New and Changed Information Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 17: Overview

    IPv4 and IPv6 networks to provide efficient delivery of data to multiple destinations. Note Beginning with Cisco NX-OS Release 5.2(1) for the Nexus 7000 Series devices, you can configure Protocol-Independent Multicast v4 (PIMv4) to run over generic routing encapsulation (GRE) tunnels including outgoing interfaces (OIF).
  • Page 18: Multicast Distribution Trees

    (SPT). This figure shows a source tree for group 224.1.1.1 that begins at host A and connects to hosts B and C. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 19: Shared Trees

    D. Source hosts A and D send their data to router D, the RP, which then forwards the traffic to receiver hosts B and C. The notation (*, G) represents the multicast traffic from any source on group G. The shared tree in this figure is written (*, 224.2.2.2). Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 20: Bidirectional Shared Trees

    A is first sent to the RP (router D) and then forwarded to router B for delivery to host B. The notation (*, G) represents the multicast traffic from any source on group G. The bidirectional tree in the figure below is written (*, 224.2.2.2). Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 21: Multicast Forwarding

    E0 fails the RPF check because the unicast route table lists the source of the network on interface E1. The packet that arrives on E1 passes the RPF check because the unicast route table lists the source of that network on interface E1. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 22: Cisco Nx-Os Pim And Pim6

    In Bidir mode, additional routing information is created. Note In this publication, “PIM for IPv4” and “PIM6 for IPv6” refer to the Cisco NX-OS implementation of PIM sparse mode. A PIM domain can include both an IPv4 and an IPv6 network.
  • Page 23 Multicast Listener Discovery (MLD) protocol to advertise requests to join a multicast group. MSDP, which allows for discovery of multicast sources in other PIM domains, is not supported for Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 24: Asm

    • Source-specific multicast (SSM) • Bidirectional shared trees (Bidir) Cisco NX-OS supports a combination of these modes for different ranges of multicast groups. You can also define RPF routes for multicast. 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.
  • Page 25: Bidir

    By examining (snooping) IGMP membership report messages from interested hosts, multicast traffic is sent only to VLAN ports that interested hosts reside on. By default, IGMP snooping is running on the system. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 26: Interdomain Multicast

    PIM and IGMP. The MRIB does not affect the route information itself. The MRIB maintains independent route information for each virtual routing and forwarding (VRF) instance in a virtual device context (VDC). For more information about VDCs, see the Cisco Nexus 7000 Series NX-OS Virtual Device Context Configuration Guide.
  • Page 27: Mrib/M6Rib Dynamic Shared Memory Support

    Figure 8: Cisco NX-OS Multicast Software Architecture MRIB/M6RIB Dynamic Shared Memory Support The Cisco NX-OS IPv4 Multicast Routing Information Base and IPv6 Multicast Routing Information Base (MRIB/M6RIB) dynamic shared memory support feature supports dynamic shared memory in a virtual device context (VDC).
  • Page 28: Virtual Port Channels And Multicast

    Beginning with Cisco NX-OS Release 5.1, you can add an F Series module, which is a Layer 2-only module, into the Cisco Nexus 7000 Series chassis. When you add this module to a chassis that already contains M Series modules, you can provision multicasting.
  • Page 29: Licensing Requirements For Multicast

    After a multicast routing protocol is restarted, its state is recovered from the MRIB process. When a supervisor switchover occurs, the MRIB recovers its state from the hardware, and the multicast protocols recover their state from periodic message activity. For more information about high availability, see the Cisco Nexus 7000 Series NX-OS High Availability and Redundancy Guide.
  • Page 30 Overview Technical Assistance Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 31: Configuring Igmp

    C H A P T E R Configuring IGMP This chapter describes how to configure the Internet Group Management Protocol (IGMP) on Cisco NX-OS devices for IPv4 networks. • Information About IGMP, on page 17 • Licensing Requirements for IGMP, on page 21 •...
  • Page 32: Igmp Basics

    Each host waits for a random time interval to avoid sending reports at the same time. You can configure the query maximum response time parameter to control the interval in which hosts randomize their responses. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 33 You can configure a robustness value to compensate for packet loss on a congested network. The robustness value is used by the IGMP software to determine the number of times to send messages. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 34: Virtualization Support

    Overview of IGMP vPC Incremental Sync The IGMP vPC Incremental Sync feature sends incremental updates to the peer link using Cisco Fabric Service (CFS), instead of sending all Join and Leave messages. The routes between peers are synced while the peer link is being set up.
  • Page 35: Licensing Requirements For Igmp

    Benefits of IGMP vPC Incremental Sync • Reduces CFS congestion. • Results in faster convergence. Prerequisites for IGMP vPC Incremental Sync vPC peers must have the same version of the Cisco software image. Verifying IGMP vPC Incremental Sync Command Purpose...
  • Page 36: Default Settings For Igmp

    You can configure the IGMP global and interface parameters to affect the operation of the IGMP process. Note If you are familiar with the Cisco IOS CLI, be aware that the Cisco NX-OS commands for this feature might differ from the Cisco IOS commands that you would use.
  • Page 37 Values range from 1 to 18,000 seconds. The default is 31 seconds. Startup query count Number of queries sent at startup that are separated by the startup query interval. Values range from 1 to 10. The default is 2. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 38 The software may wait until the next query interval before the group is added again. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 39 Use this command only when there is one receiver behind the interface for a given group. To configure route-map policies, see the Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide. For information about configuring multicast route maps, see Configuring Route Maps to Control RP Information Distribution.
  • Page 40 A source tree Note is built for the (S, G) state only if you enable IGMPv3. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 41 Note A source tree is built for the (S, G) state only if you enable IGMPv3. ip igmp startup-query-interval Sets the query interval used when the software seconds Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 42 Values can range Example from 1 to 25 seconds. The default is 10 seconds. switch(config-if)# ip igmp query-max-response-time 15 Sets the frequency at ip igmp query-interval interval which the software sends Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 43 Configures a route-map ip igmp access-group policy policy to control the switch(config-if)# ip igmp access-group multicast groups that my_access_policy hosts on the subnet serviced by an interface can join. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 44 [interface] [vrf (Optional) Displays IGMP information about vrf-name | all] [brief] the interface. Example: switch(config)# show ip igmp interface Step 5 copy running-config startup-config (Optional) Saves configuration changes. Example: Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 45: Configuring An Igmp Ssm Translation

    Table 5: Table 4 Example Result of Applying SSM Translations IGMPv2 membership Resulting MRIB Route Report 232.1.1.1 (10.4.4.4, 232.1.1.1) 232.2.2.2 (10.1.1.1, 232.2.2.2)(10.2.2.2, 232.2.2.2) Note This feature is similar to SSM mapping found in some Cisco IOS software. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 46 Example: VRF, a selected VRF, or all VRFs. Device(config)# show ip igmp groups Step 5 (Optional) Shows IP multicast routing table for show ip mroute default VRF. Example: Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 47: Configuring The Enforce Router Alert Option Check

    Step 5 (Optional) Saves configuration changes. copy running-config startup-config Example: switch(config)# copy running-config startup-config Restarting the IGMP Process You can restart the IGMP process and optionally flush all routes. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 48: Verifying The Igmp Configuration

    VRF, a selected VRF, or all VRFs. show ip igmp local- groups Displays the IGMP local group membership. show running-configuration igmp Displays the IGMP running-configuration information. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 49: Configuration Examples For Igmp

    Description show startup-configuration igmp Displays the IGMP startup-configuration information. For detailed information about the fields in the output from these commands, see the Cisco Nexus 7000 Series NX-OS Multicast Routing Command Reference. Configuration Examples for IGMP The following example shows how to configure the IGMP parameters: config t ip igmp ssm-translate 232.0.0.0/8 10.1.1.1...
  • Page 50 Minimizes the leave latency of IGMPv2 or MLDv1 group memberships on a given IGMP or MLD interface because the device does not send group-specific queries. For more information, see Configuring IGMP Interface Parameters. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 51: Configuring Mld

    C H A P T E R Configuring MLD This chapter describes how to configure the Multicast Listener Discovery (MLD) on Cisco NX-OS devices for IPv6 networks. • Information About MLD, on page 37 • Licensing Requirements for MLD, on page 40 •...
  • Page 52: Mld Basics

    You can configure the query maximum response time parameter to control the interval in which hosts randomize their responses. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 53 If no reports are received before the timer expires, the software removes the group state. The router continues to send multicast traffic for a group until its state is removed. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 54: Vitualization Support

    (VRF) instances. One MLD process can run per VDC. The MLD process supports all VRFs in that VDC. For information about configuring VDCs, see theCisco Nexus 7000 Series NX-OS Virtual Device Context Configuration Guide.
  • Page 55: Default Settings For Mld

    10 seconds Query interval 125 seconds Last member query response interval 1 second Last member query count Group membership timeout 260 seconds Report link local multicast groups Disabled Immediate leave Disabled Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 56: Configuring Mld Parameters

    Before you can access the MLD commands, you must enable the MLD feature. Note If you are familiar with the Cisco IOS CLI, be aware that the Cisco NX-OS commands for this feature might differ from the Cisco IOS commands that you would use.
  • Page 57 Values range from 1 to 25 seconds. The default is 1 second. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 58 Use this command only when there is one Note receiver behind the interface for a given group. To configure route-map policies, see the Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 59 A source tree Note is built for the (S, G) state only if you enable MLDv2. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 60 Values can range from Example 1 to 10. The default is 2. switch(config-if)# ipv6 mld startup-query-count 3 Sets the robustness ipv6 mld robustness-variable variable. You can use a value Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 61 Sets the query interval ipv6 mld waited after sending last-member-query-response-time membership reports seconds before the software Example deletes the group state. Values can range from 1 switch(config-if)# ipv6 mld last-member-query-response-time 3 Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 62 Configures a route-map ipv6 mld access-group policy policy to control the Example multicast groups that hosts on the subnet switch(config-if)# ipv6 mld access-group my_access_policy serviced by an interface can join. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 63 [interface] [vrf (Optional) Displays MLD information about vrf-name | all] [brief] the interface. Example: switch(config)# show ipv6 mld interface Step 5 copy running-config startup-config (Optional) Saves configuration changes. Example: Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 64: Configuring An Mld Ssm Translation

    Configures the translation of MLDv1 listener source-addr reports by the MLD process to create the (S,G) state as if the router had received an MLDv2 Example: listener report. switch(config)# ipv6 mld ssm-translate FF30::0/16 2001:0DB8:0:ABCD::1 Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 65: Verifying The Mld Configuration

    Displays the MLD local group show ipv6 mld local-groups- membership. For detailed information about the fields in the output from these commands, see the Cisco Nexus 7000 Series NX-OS Multicast Routing Command Reference. Configuration Examples for MLD The following example shows how to configure MLD:...
  • Page 66: Related Documents

    4.1(3) Minimizes the leave latency of IGMPv2 or MLDv1 group memberships on a given IGMP or MLD interface because the device does not send group-specific queries. • Configuring MLD Interface Parameters Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 67: Configuring Pim And Pim6

    For more information about multicast, see Information About Multicast. Cisco NX-OS supports PIM sparse mode for IPv4 networks (PIM) and for IPv6 networks (PIM6). In PIM sparse mode, multicast traffic is sent only to locations of the network that specifically request it. You can configure PIM and PIM6 to run simultaneously on a router.
  • Page 68: Hello Messages

    Cisco NX-OS does not support PIM dense mode. In Cisco NX-OS, multicast is enabled only after you enable the PIM or PIM6 feature on each router and then enable PIM or PIM6 sparse mode on each interface that you want to participate in multicast. You can configure PIM for an IPv4 network and PIM6 for an IPv6 network.
  • Page 69: Join-Prune Messages

    A rendezvous point (RP) is a router that you select in a multicast network domain that acts as a shared root for a multicast shared tree. You can configure as many RPs as you like, and you can configure them to cover different group ranges. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 70: Static Rp

    BSR includes information about all of the candidate RPs. Each router uses a common algorithm to select the same RP address for a given multicast group. Figure 14: BSR Mechanism Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 71: Auto-Rp

    For information about configuring BSRs and candidate RPs, see Configuring BSRs. Auto-RP Auto-RP is a Cisco protocol that was prior to the Internet standard bootstrap router mechanism. You configure Auto-RP by selecting candidate mapping agents and RPs. Candidate RPs send their supported group range in RP-Announce messages to the Cisco RP-Announce multicast group 224.0.1.39.
  • Page 72: Multiple Rps Configured In A Pim Domain

    • Configuration example 1—Different BSR-candidate priorities: In this example, the system elects the device labeled N7K-1 as the BSR candidate for the PIM domain because it has the highest priority. The device labeled N7K-2 has the default priority of 64. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 73 N7K-2 as the BSR for the PIM domain because it has the highest BSR-candidate IP address. Configuration for N7K-1: interface loopback0 ip address 192.168.1.1/32 ip pim sparse-mode ip pim bsr bsr-candidate loopback0 ip pim bsr forward listen Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 74 Configuration for N7K-2: interface loopback0 ip address 192.168.2.1/32 ip pim sparse-mode ip pim auto-rp mapping-agent loopback0 ip pim auto-rp forward listen Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 75: Pim Rp Versus Rp Election Process

    N7K-1 as the RP for all multicast addresses specified in the 224.1.1.0/24 group-list. The system elects the device labeled N7K-2 for the multicast addresses within the less specific 224.0.0.0/4 group list. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 76 N7K-1 as the RP for all multicast addresses specified in the 224.0.0.0/4 group list because it has the lowest RP-candidate priority. The device labeled N7K-2 has a default priority of 192. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 77 RP: 192.168.2.1, (0), uptime: 00:08:15, expires: 00:01:57, priority: 192, RP-source: 192.168.2.1 (B), group ranges: 224.0.0.0/4 show ip pim group 224.1.1.0 PIM Group-Range Configuration for VRF "default" Group-range Mode RP-address Shared-tree-only range 224.0.0.0/4 192.168.1.1 Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 78 Configuration for N7K-2: interface loopback0 ip address 192.168.2.1/32 ip pim sparse-mode ip pim bsr bsr-candidate loopback0 ip pim bsr rp-candidate loopback0 group-list 224.0.0.0/4 ip pim bsr forward listen Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 79 224.1.1.0/24 ip pim forward listen Configuration for N7K-2: interface loopback0 ip address 192.168.2.1/32 ip pim sparse-mode ip pim rp-address 192.168.2.1 group-list 224.0.0.0/4 ip pim bsr forward listen Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 80 192.168.2.1/32 ip pim sparse-mode ip pim bsr bsr-candidate loopback0 ip pim rp-address 192.168.1.1 group-list 224.0.0.0/4 ip pim bsr rp-candidate loopback0 group-list 224.0.0.0/4 ip pim bsr forward listen Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 81 224.0.0.0/4 priority 0 ip pim bsr forward listen Configuration for N7K-2: interface loopback0 ip address 192.168.2.1/32 ip pim sparse-mode ip pim rp-address 192.168.2.1 group-list 224.0.0.0/4 ip pim bsr forward listen Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 82 PIM Auto-RP-Candidate Versus Static RP Election Process The auto-RP-candidate versus static RP election uses the same rules as the election process for the BSR RP-candidate versus static RP See PIM BSR RP-Candidate vs. Static RP Election Process. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 83: Anycast-Rp

    3 Note In Cisco NX-OS, PIM register messages are rate limited to avoid overwhelming the RP. You can filter PIM register messages by defining a routing policy. For information about configuring the PIM register message policy, see the Configuring Shared Trees Only for ASM.
  • Page 84: Designated Routers

    Cisco NX-OS does not support PIM Bidir mode on F2 modules. Note Cisco NX-OS puts the RPF interface into the OIF-list of the MRIB, but not in the OIF-list of the MFIB. ASM Switchover from Shared Tree to Source Tree Note Cisco NX-OS puts the RPF interface into the OIF-list of the MRIB, but not in the OIF-list of the MFIB.
  • Page 85: Ecmp Multicast Load Splitting Based On Source Group And Next-Hop Address Overview

    The states that were already using one of those paths would not change. If the fourth path came back up, the states that initially used it would immediately reconverge back to that path without affecting the other states. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 86: Administratively Scoped Ip Multicast

    Bidirectional Forwarding Detection for PIM Beginning with Cisco NX-OS Release 5.0(2a), Bidirectional Forwarding Detection (BFD) allows the system to rapidly detect failures in a network. See the Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 6.x, for more information about BFD.
  • Page 87: Prerequisites For Graceful Restart Pim

    (PIM) forwarding is started or restarted on an interface. In order to process the GenID value in PIM hello messages, PIM neighbors must be running Cisco software with an implementation of PIM that is compliant with RFC 4601.
  • Page 88 The default PIM hello hold-time interval is 3.5 times the PIM hello period. Multicast High Availability (HA) operations may not function as per design if you configure PIM hello interval with a value lower than the default value of 30 seconds. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 89: Additional References For Graceful Restart Pim

    Access to most tools on the Cisco Support website requires a Cisco.com user ID and password. High Availability For information about high availability, see the Cisco Nexus 7000 Series NX-OS High Availability and Redundancy Guide. Licensing Requirements for PIM and PIM6...
  • Page 90: Guidelines And Limitations For Pim And Pim6

    F2E or F2E with F3 modules on the same VDC. • Use the ip igmp static-oif command on a Layer 3 interface of Cisco Nexus device to force the interface getting populated as an Outgoing Interface List (OIL). Do not use the ip igmp join-group command for this purpose.
  • Page 91: Default Settings

    No message filtering Auto-RP mapping agent policy No message filtering Auto-RP RP candidate policy No message filtering Join-prune policy No message filtering Neighbor adjacency policy Become adjacent with all PIM neighbors Disabled Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 92: Configuring Pim And Pim6

    IPv4 or IPv6. Note Cisco NX-OS supports only PIM sparse mode version 2. In this publication, “PIM” refers to PIM sparse mode version 2. You can configure separate ranges of addresses in the PIM or PIM6 domain using the multicast distribution modes described in the table below.
  • Page 93: Enabling The Pim And Pim6 Features

    Enabling the PIM and PIM6 Features Note If you are familiar with the Cisco IOS CLI, be aware that the Cisco NX-OS commands for this feature might differ from the Cisco IOS commands that you would use. Enabling the PIM and PIM6 Features Before you can access the PIM or PIM6 commands, you must enable the PIM or PIM6 feature.
  • Page 94: Configuring Pim Or Pim6 Sparse Mode Parameters

    The range is from 90 to 210. Specify 0 to disable the holddown period. The default is 210. Per device interface Enables PIM or PIM6 on an interface. PIM sparse mode Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 95 Enables the interface to be on the border of a PIM domain so that no bootstrap, candidate-RP, or Auto-RP messages are sent or received on the interface. The default is disabled. PIM6 does not support the Auto-RP Note method. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 96: Configuring Pim Sparse Mode Parameters

    Note We recommend that you should configure this feature only if you are an experienced network administrator. To configure route-map policies, see the Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide. Configuring PIM Sparse Mode Parameters Procedure Command or Action...
  • Page 97 The key can be up to 16 characters. The default is disabled. Step 13 ip pim hello-interval interval (Optional) Configures the interval at which hello messages are sent in milliseconds. The Example: Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 98 The policy name can be up to 63 characters. The default is to become adjacent with all PIM neighbors. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 99: Configuring Pim6 Sparse Mode Parameters

    Example: the Bidir RP limit and register rate limit. switch(config)# show running-configuration pim6 Step 8 interface interface Enters interface mode on the specified interface. Example: switch(config)# interface ethernet 2/1 switch(config-if)# Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 100 [interface | brief ] (Optional) Displays PIM6 interface information. [vrfvrf-name |all] Example: switch(config-if)# show ipv6 pim interface Step 15 copy running-config startup-config (Optional) Saves configuration changes. Example: Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 101: Igmp Querier

    Enter this command to go to privileged EXEC mode. Example: switch(config-if)# exit Step 5 show ip igmp interface (Optional) Displays multicast-related information (including information on the Example: IGMP querier) for an interface. switch# show ip igmp interface Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 102: Example: Enabling Igmp Querier

    To configure ASM or Bidir mode, you configure sparse mode and the RP selection method, where you indicate the distribution mode and assign the range of multicast groups. Note Bidir mode is not supported for vPCs. For more information about vPCs, see the Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide. Configuring Static RPs You can configure an RP statically by configuring the RP address on every router that participates in the PIM domain.
  • Page 103 10 permit 231.1.0.0/16 ip prefix-list plist seq 20 deny 231.1.1.0/24 This behavior differs from Cisco IOS. See the Cisco Nexus 7000 Series NX-OS Multicast Routing Command Reference, behavior for more samples for the ip pim rp-address command.
  • Page 104: Configuring Bsrs

    You can configure a candidate BSR with the arguments described on the Table below. Table 14: Candidate BSR Arguments Argument Description interface Interface type and number used to derive the BSR source IP address used in bootstrap messages. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 105 Unless you specify bidir, this RP will be in ASM bidir mode. If you specify bidir, the RP will be in Bidir mode. route-map policy-name Route-map policy name that defines the group prefixes where this feature is applied. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 106 Bidir RPs supported per VRF for PIM and PIM6 combined cannot exceed 8. Example: Values range from 0 to 8. The default is 2. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 107 Configures a candidate RP for BSR. The ipv6-prefix [ route-map policy-name] priority priority ranges from 0, the highest priority, to priority interval interval bidir ] 65,535 and has a default of 192. The interval Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 108: Configuring Auto-Rp

    This value can range from 1 to 255 and has a default of 32. Note See the border domain feature in the Configuring PIM or PIM6 Sparse Mode. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 109 For more information, see the Configuring PIM or PIM6 Sparse Mode. 2. Select the routers to act as mapping agents and candidate RPs. 3. Configure each mapping agent and candidate RP as described in this section. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 110 (Optional) Displays PIM modes and group vrf-name | all ] ranges. Example: switch(config)# show ip pim group-range Step 5 copy running-config startup-config rate (Optional) Saves configuration changes. Example: switch(config)# copy running-config startup-config Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 111: Configuring A Pim Anycast-Rp Set

    RPs are used for communication with RPs in 192.0.2.3 192.0.2.31 the set. Step 7 Repeat Step 5 using the same Anycast-RP-address for each RP in the RP set (including the local router). Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 112 Configures a PIM6 Anycast-RP peer address anycast-rp-peer-address for the specified Anycast-RP address. Each command with the same Anycast-RP address Example: forms an Anycast-RP set. The IP addresses of switch(config)# ipv6 pim anycast-rp 2001:0db8:0:abcd::3 2001:0db8:0:abcd::31 Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 113: Configuring Shared Trees Only For Asm

    Note The Cisco NX-OS software does not support the shared-tree feature on vPCs. For more information about vPCs, see the Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 6.x The default is disabled, which means that the software can switch over to source trees.
  • Page 114 (*, G) state. Step 3 show ipv6 pim group-range [ip-prefix] vrf (Optional) Displays PIM6 modes and group vrf-name | all ranges. Example: switch(config)# show ipv6 pim group-range Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 115: Configuring Ssm

    Example: The no option removes the specified prefix from switch(config)# no ip pim ssm range none the SSM range, or removes the route-map Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 116: Configuring Ssm (Pim6)

    You can define RPF routes for multicast when you want multicast data to diverge from the unicast traffic path. You can define RPF routes for multicast on border routers to enable reverse path forwarding (RPF) to an external network. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 117: Disabling Multicast Multipath

    Disabling the automatic selection allows you to specify a single RPF interface for multicast. Procedure Command or Action Purpose Step 1 Enters global configuration mode. config t Example: switch# config t switch(config)# Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 118: Enabling Ecmp Multicast Load Splitting Based On Source Group And Next-Hop Address

    • Because this command changes the way an RPF neighbor is selected, it must be switch(config)# ip multicast multipath s-g-hash next-hop-based configured consistently on all routers in a redundant topology to avoid looping. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 119: Address

    The following example shows how to enable ECMP multicast load splitting on a router based on source, group, and next-hop address using the next-hop-based S-G-hash algorithm: switch(config)# ip multicast multipath s-g-hash next-hop-based Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 120: Configuring Route Maps To Control Rp Information Distribution

    This command allows both multicast group 224.0.0.0/4 rp 0.0.0.0/0 rp-type ASM permit or deny. Some match mask commands do not allow permit or Example: deny. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 121: Configuring Route Maps To Control Rp Information Distribution (Pim6)

    224.0.0.0/4 rp 0.0.0.0/0 rp-type ASM permit or deny. Some match mask commands do not allow permit or Example: deny. switch(config-route-map)# match ip multicast group 224.0.0.0/4 rp 0.0.0.0/0 rp-type Bdir Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 122: Configuring Message Filtering

    BSR source addresses with the match ip[v6] multicast command. This command can be used on client routers that listen to BSR messages. The default is no filtering of BSR messages. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 123 The default is no filtering of join-prune messages. For information about configuring route-map policies, see the Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide. Route maps as a filtering policy can be used (either permit or deny for each statement) for the following commands: •...
  • Page 124: Configuring Message Filtering (Pim)

    This command can be used on client routers that listen to BSR messages. The default is no filtering of BSR messages. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 125: Configuring Message Filtering (Pim6)

    (Optional) Saves configuration changes. Example: switch(config-if)# copy running-config startup-config Configuring Message Filtering (PIM6) Before you begin Ensure that you have installed the Enterprise Services license and enabled for PIM6. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 126 RP addresses with thematch ipv6 multicast my_jp_policy command. The default is no filtering of join-prune messages. Beginning with Cisco NX-OS Release 4.2(3), this command filters messages in both incoming and outgoing directions. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 127: Restarting The Pim And Pim6 Processes

    Example: switch# config t switch(config)# Step 3 ip pim flush-routes Removes routes when the PIM process is restarted. By default, routes are not flushed. Example: switch(config)# ip pim flush-routes Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 128: Restarting The Pim6 Process

    (Optional) Displays the PIM6 show running-configuration pim6 running-configuration information, including Example: the flush-routes command. switch(config)# show running-configuration pim6 Step 5 copy running-config startup-config (Optional) Saves configuration changes. policy-name Example: switch(config)# copy running-config startup-config Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 129: Configuring Bfd For Pim In Vrf Mode

    Ensure that you have installed the Enterprise Services license, enabled PIM or PIM6, and enabled BFD. Procedure Command or Action Purpose Step 1 Enters global configuration mode. config t Example: switch(config)# interface ethernet 7/40 switch(config-if)# Step 2 interface interface-type Enters interface configuration mode. Example: Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 130: Verifying The Pim And Pim6 Configuration

    [v6] pim neighbor [vrf vrf-name | all] Displays neighbors by the interface. show ip [v6] pim oif-list group [source] [vrf vrf-name Displays all the interfaces in the OIF-list. | all] Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 131: Displaying Statistics

    Displays the startup-configuration information. show ip [v6] pim vrf [vrf-name | all] [detail] Displays per-VRF information. For detailed information about the fields in the output from these commands, see the Cisco Nexus 7000 Series NX-OS Multicast Routing Command Reference. Displaying Statistics You can display and clear PIM and PIM6 statistics by using the commands in this section.
  • Page 132: Displaying Replication Engine Statistics

    Replication In Ucast Replication Out Ucast Replication In Mcast Replication Out Mcast Rates: Description In PPS In Bps Out PPS Out Bps ----------------------------------------------------------------------------------- Interface In Hi (port 1) Interface In Lo (port 1) Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 133 Interface In (port 1) yyyy/mm/dd hh:ss Interface In (port 2) yyyy/mm/dd hh:ss Interface Out (port 1) yyyy/mm/dd hh:ss Interface Out (port 2) yyyy/mm/dd hh:ss Fabric In yyyy/mm/dd hh:ss Fabric Out yyyy/mm/dd hh:ss switch# Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 134: Configuration Examples For Pim

    239.128.1.0/24 ip pim log-neighbor-changes BSR Configuration Example To configure PIM in ASM mode using the BSR mechanism, follow these steps for each router in the PIM domain: Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 135: Auto-Rp Configuration Example

    2/1 switch(config-if)# ip pim sparse-mode 2. Configure whether that router should listen and forward Auto-RP messages. switch# config t switch(config)# ip pim auto-rp forward listen Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 136: Pim Anycast Rp Configuration Example

    4. Configure the Anycast-RP parameters and repeat with the IP address of each Anycast-RP for each router that you want to be in the Anycast-RP set. This example shows two Anycast-RPs. switch# config t switch(config)# ip pim anycast-rp 192.0.2.3 193.0.2.31 switch(config)# ip pim anycast-rp 192.0.2.3 193.0.2.32 Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 137: Prefix-Based And Route-Map-Based Configurations

    231.0.0.0/8 route-map rmap33 deny 10 match ip multicast group 231.129.128.0/17 route-map rmap33 permit 20 match ip multicast group 231.129.0.0/16 route-map rmap33 deny 30 match ip multicast group 231.128.0.0/9 Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 138: Output

    (*, 232.0.0.0/8), uptime: 1d20h, pim ip Incoming interface: Null, RPF nbr: 0.0.0.0 Outgoing interface list: (count: 0) dc3rtg-d2(config-if)# show ip pim group-range PIM Group-Range Configuration for VRF "default" Group-range Mode RP-address Shared-tree-only range 232.0.0.0/8 231.0.0.0/8 21.21.0.11 Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 139: Related Documents

    MIBs MIBs MIBs Link • IPMCAST-MIB To locate and download MIBs, go to the following URL: • PIM MIB--Beginning in Cisco Release 5.2(1) http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml for the Cisco Nexus 7000 Series devices Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 140: Feature History For Pim And Pim6

    BFD supported for PIM with IPv4. 4.1(3) Cisco NX-OS software for the Nexus 7000 Series devices does not support PIM SSM or BIDR on a vPC. Display vPC statistics with the show ip pim statistics command. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 141: Configuring Igmp Snooping

    C H A P T E R Configuring IGMP Snooping This chapter describes how to configure Internet Group Management Protocol (IGMP) snooping on a Cisco NX-OS device. • Information About IGMP Snooping, on page 127 • Licensing Requirements for IGMP Snooping, on page 131 •...
  • Page 142: Igmpv1 And Igmpv2

    • Source filtering that allows forwarding of multicast packets based on destination and source IP. • Multicast forwarding based on IP addresses rather than MAC addresses. • Beginning with Cisco Release 5.2(1) for the Nexus 7000 Series devices, multicast forwarding alternately based on the MAC address •...
  • Page 143: Igmpv3

    • When the configured switch querier is in the same subnet as with other Layer 3 SVI queriers. Static Multicast MAC Address Beginning with the Cisco Release 5.2(1) for the Nexus 7000 Series devices, you configure an outgoing interface statically for a multicast MAC address. Also, you can configure the IGMP snooping to use a MAC-based lookup mode.
  • Page 144: Igmp Snooping With Vdcs And Vrfs

    Configuration Guide. IGMP Snooping across VPLS Domains Beginning with Cisco Release 6.2(2) for the Nexus 7000 Series devices, IGMP snooping can be configured across Virtual Private LAN Service (VPLS) domains. The IGMP Snooping across VPLS Domains feature enables snooping of the IGMP packets on the pseudowire and on the Layer 2 side of the network for optimal delivery of the multicast packets.
  • Page 145: Licensing Requirements For Igmp Snooping

    • If IGMP snooping is enabled on one device but not on the other, the device on which snooping is disabled floods all multicast traffic. • A difference in multicast router or static group configuration can cause traffic loss. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 146: Default Settings For Igmp Snooping

    Disabled Last member query interval 1 second Snooping querier Disabled Report suppression Enabled Link-local groups suppression Enabled IGMPv3 report suppression for the entire device Disabled IGMPv3 report suppression per VLAN Enabled Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 147: Configuring Igmp Snooping Parameters

    Configuring IGMP Snooping Parameters Configuring IGMP Snooping Parameters Note If you are familiar with the Cisco IOS CLI, be aware that the Cisco NX-OS commands for this feature might differ from the Cisco IOS commands that you would use. Note You must enable IGMP snooping globally before any other commands take effect.
  • Page 148 500 switchports in a VLAN, it would take 2,500 seconds (40 minutes) to cycle through all the interfaces in the system. This is also true when the Cisco Nexus 7000 switch itself is the querier.
  • Page 149 VLAN or not. If disable IGMP snooping, Layer 2 multicast frames flood to modules. IGMP Note snooping can be configured across Virtual Private Service (VPLS) domains. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 150 When you disable report suppression, all IGMP reports are sent as is to multicast-capable routers. The default is enabled. Configures ip igmp snooping IGMPv3 report report-suppression Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 151: Configuring Igmp Snooping Parameters Per Vlan

    IGMP query message. This parameter is used for IGMPv2 hosts when no more than one host is present on each VLAN port. The default is disabled. Group timeout Configures the group membership timeout for the specified VLANs. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 152 Configures link-local groups suppression on a per-VLAN basis. The default is enabled. IGMPv3 report suppression Configures IGMPv3 report suppression and proxy reporting on a per-VLAN basis. The default is enabled per VLAN. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 153 You configure the IP IGMP snooping parameters that you want by using this configuration mode; however, the configurations apply only after you specifically create the specified VLAN. See the Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide for information on creating VLANs.
  • Page 154 - V L A N basis. d e f a u l t e n a b l e d V L A N s . Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 155 V L A N port. d e f a u l t d i s a b l e d V L A N s . Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 156 1 s e c o n d . O p t i m i z e s ip igmp snooping O M F optimise-multicast-flood Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 157 . a d d r e s s used s o u r c e Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 158 Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 159 5 n u m b e r q u e r i e s sent Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 160 5 s p e c i f i e d Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 161 2/1 m u l t i c a s t router . i n t e r f a c e router Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 162 . s p e c i f y i n t e r f a c e type n u m b e r , such Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 163 2 n u m b e r s p e c i f i e d V L A N s . Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 164: Changing The Lookup Mode

    Changing the Lookup Mode Beginning with Cisco Release 5.2(1) for the Nexus 7000 Series chassis, you can configure the lookup mode to be based on the MAC address either globally or per VLAN. Procedure Command or Action...
  • Page 165 Exits configuration and/or VLAN configuration mode. Example: switch(config)# exit switch# Step 5 show ip igmp snooping lookup-mode vlan (Optional) Displays the IGMP snooping lookup mode. [vlan-id] Example: switch# show ip igmp snooping lookup-mode Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 166: Configuring A Static Multicast Mac Address

    Example: switch# copy running-config startup-config Configuring a Static Multicast MAC Address Beginning with Cisco Release 5.2(1) for the Nexus 7000 Series chassis, you can configure an outgoing interface statically for a multicast MAC address. Procedure Command or Action Purpose...
  • Page 167: Verifying Igmp Snooping Configuration

    (vPC) statistics in this output. Use the clear ip igmp snooping statistics vlan command to clear IGMP snooping statistics. For detailed information about using these commands, see the Cisco Nexus 7000 Series NX-OS Multicast Routing Command Reference.
  • Page 168: Related Documents

    These configurations do not apply until you specifically create the VLAN. See the Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide for information on creating VLANs. Related Documents...
  • Page 169: Standards

    MAC-based, as well as assign a static MAC address. vlan configuration vlan-id 5.1(1) Command added to allow you to configure a VLAN before you actually create the VLAN. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 170 Display vPC statistics with the show ip igmp snooping statistics vlan command. The following sections provide information about this feature: • Guidelines and Limitations for IGMP Snooping • Displaying IGMP Snooping Statistics Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 171: Configuring Msdp

    MSDP can be used to create an Anycast-RP configuration to provide RP redundancy and load sharing. For information about PIM, see Configuring PIM and PIM6. For information about BGP, see the Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide.
  • Page 172: Sa Messages And Caching

    • Source address of the data source • Group address that the data source uses • IP address of the RP or the configured originator ID Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 173: Msdp Peer-Rpf Forwarding

    You can use the show commands with a VRF argument to provide a context for the information displayed. The default VRF is used if no VRF argument is supplied. For information about configuring VDCs, see the Cisco Nexus 7000 Series NX-OS Virtual Device Context Configuration Guide.
  • Page 174: Licensing Requirements For Msdp

    All registered sources are sent in SA messages SA limit No limit is defined Originator interface name RP address of the local system Group limit No group limit is defined SA interval 60 seconds Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 175: Configuring Msdp

    Use the ip msdp peer or ip msdp originator-id command to enable MSDP. Note If you are familiar with the Cisco IOS CLI, be aware that the Cisco NX-OS commands for this feature might differ from the Cisco IOS commands that you would use.
  • Page 176: Configuring Msdp Peers

    AS number as appropriate. Step 4 show ip msdp summary [vrf vrf-name | (Optional) Displays a summary of MDSP peers. known-vrf-name | all] Example: switch# show ip msdp summary Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 177: Configuring Msdp Peer Parameters

    Number of (S, G) entries accepted from the peer and stored in the SA cache. By default, there is no limit. To configure route-map policies, see the Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide. To configure route-map policies, see the Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide.
  • Page 178 192.168.1.10 my_md5_password Enables a route-map ip msdp policy for incoming sa-policy SA messages. By peer-ip-address default, all SA policy-name messages are Example: received. switch(config)# ip msdp sa-policy 192.168.1.10 my_incoming_sa_policy Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 179: Configuring Msdp Global Parameters

    1.1.1.1 Step 4 copy running-config startup-config (Optional) Saves configuration changes. Example: switch(config)# copy running-config startup-config Configuring MSDP Global Parameters You can configure the optional MSDP global parameters described in this table. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 180 RP field of an SA ip msdp message entry. The originator-id loopback0 interface can take the form of type slot/port. By default, the software uses the RP address of the local system. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 181: Configuring Msdp Mesh Groups

    You can configure multiple mesh groups on the same router and multiple peers per mesh group. Ensure that you have installed the Enterprise Services license and enabled PIM and MSDP. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 182: Restarting The Msdp Process

    Enters global configuration mode. Example: switch# config t switch(config)# Step 3 ip msdp flush-routes Removes routes when the MSDP process is restarted. By default, routes are not flushed. Example: Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 183: Verifying The Msdp Configuration

    [vrf vrf-name | Displays a summary of the MSDP peer configuration. known-vrf-name | all] For detailed information about the fields in the output from these commands, see Cisco Nexus 7000 Series NX-OS Multicast Routing Command Reference. Monitoring MSDP You can display and clear MSDP statistics by using the features in this section.
  • Page 184: Displaying Statistics

    1. Configure the MSDP peering relationship with other routers. switch# config t switch(config)# switch(config)# ip msdp peer 192.168.1.10 connect-source ethernet 1/0 remote-as 8 2. Configure the optional peer parameters. switch# config t switch(config)# ip msdp password 192.168.1.10 my_peer_password_AB Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 185: Related Documents

    80 Related Documents Related Topic Document Title VDCs Cisco Nexus 7000 Series NX-OS Virtual Device Context Command Reference CLI Commands Cisco Nexus 7000 Series NX-OS Multicast Routing Command Reference Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 186: Standards

    Standards Related Topic Document Title Configuring Policy Based Routing and MBGP Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide Standards Standards Title RFC 4624 Multicast Source Discovery Protocol (MSDP) MIB Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 187: Configuring Multicast Extranet

    C H A P T E R Configuring Multicast Extranet This chapter describes how to configure the Multicast Extranet feature on Cisco Nexus 7000 Series Switches. • Information About Configuring Multicast Extranet, on page 173 Information About Configuring Multicast Extranet An extranet can be viewed as part of a company’s intranet that is extended to users outside the company.
  • Page 188: Components Of Multicast Extranet

    • Receiver MVRF --An MVRF to which receivers are connected through one or more CE devices. • Source PE --A PE router that has a multicast source behind a directly connected CE router. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 189: Guidelines And Limitations For Configuring Multicast Extranet

    • RPF lookup will be performed on the VRF specified by the ip multicast rpf select vrf command. Fallback mode is not supported. • The Multicast Extranet feature is supported only on Cisco Nexus 7000 Series Switches' M3 line cards. • The number of multicast routes and VRFs that are required determine memory consumption by multicast.
  • Page 190 Outgoing interface list: (count: 0) Extranet receiver in vrf blue: (40.1.1.2/32, 225.1.1.207/32) OIF count: 1 switch(config)# For detailed information about the fields in the output, see the Cisco Nexus 7000 Series Command Reference. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 191: Additional References For Configuring Multicast Extranet

    Unless noted otherwise, subsequent releases of that software release train also support that feature. Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
  • Page 192 Configuring Multicast Extranet Feature Information for Configuring Multicast Extranet Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 193: Configuring Mofrr

    • The multicast stream received over the primary path (in the reverse direction of the full-line arrows) is accepted and forwarded to the downstream links. • The copy of the stream received on the alternate path (in the reverse direction of the broken-line arrows) is discarded. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 194 -200 milliseconds. Beginning with Release 8.2(1), Cisco Nexus 7000 Series Switches targets to achieve sub-sec convergence delay for 16K (S, G) running on F3/M3 cards, using MoFRR feature. MoFRR feature allows faster programming and improved convergence.
  • Page 195: Prerequisites For Mofrr

    Prerequisites for MoFRR Prerequisites for MoFRR • Ensure IP Multicast is enabled. For more information on configuring IP Multicast, refer Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide. • Ensure that you have disjoint ECMP paths towards the source.
  • Page 196: Verifying Configuring Mofrr

    225.1.1.1/32 source 20.20.20.4/32 slot ======= (20.20.20.4/32, 225.1.1.1/32), RPF Interface: Ethernet2/9, flags: Received Packets: 3628 Bytes: 232192 MoFRR ID: 0x9734694 Number of Outgoing Interfaces: 1 Outgoing Interface List Index: 1 Ethernet2/12 Outgoing Packets:38007993 Bytes:2483189012 Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 197: Troubleshooting

    Troubleshooting Troubleshooting The command-line interface (CLI) allows you to configure and monitor Cisco NX-OS using a local console or remotely using a Telnet or SSH session. Using the CLI, you can enable debugging modes and view a real-time updated activity log. You can use show commands to list historical and real-time information.
  • Page 198 Configuring MoFRR Feature Information for Configuring MoFRR Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 199: C H A P T E

    The enhancement is supported on both Cisco Nexus 7000 M1 and M3 Series Ethernet modules with an XL option (M1-XL / M3-XL) that are allocated as resources in virtual device contexts (VDCs).
  • Page 200: Guidelinesandlimitationsforenhancedmulticastperformance

    (VDC). Enabling Multicast Performance Enhancement Note If you are familiar with the Cisco IOS CLI, be aware that the Cisco NX-OS commands for this feature might differ from the Cisco IOS commands that you would use. Before you begin •...
  • Page 201: Related Documents For Multicast Performance Enhancement

    6.2(2) Enables enhanced multicast enhancement performance on Cisco Nexus 7000 Series Ethernet modules with an XL Option allocated to virtual device contexts (VDCs). The following command was introduced: hardware forwarding shim. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 202 Enabling Multicast Performance Enhancement on VDCs Feature History for Multicast Performance Enhancement Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 203: Configuring Multicast Interoperation With N7K-F132-15 Modules

    Beginning with Cisco NX-OS Release 5.1, you can add an N7K-F132-15 module, which is a Layer 2-only module, into the Cisco Nexus 7000 Series chassis. You can add this module to a chassis that already contains M-Series modules to provide multicasting in a chassis that contains both N7K-F132-15 and M-Series modules.
  • Page 204: Virtualization Support

    Layer 3 multicast packets that enter an interface on the N7K-F132-15 module in the same VDC. See the Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide for additional information about the routing interoperation with the N7K-F132-15 module.
  • Page 205: Prerequisites For Multicast Interoperation

    Cisco NX-OS Licensing Guide. Prerequisites for Multicast Interoperation For multicast interoperation, you must have at least one module of the following series in the Cisco Nexus 7000 Series chassis, as well as a valid license installed: • M Series •...
  • Page 206 Exits configuration mode. Example: switch(config)# exit switch# Step 6 show hardware proxy layer-3 detail (Optional) Displays the information on the proxy Layer-3 functionality. Example: switch# show hardware proxy layer-3 detail Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 207: Verifying The Multicast Configuration

    Feature Name Releases Feature Information Multicast interoperation between 5.1(1) This feature, along with the F-Series and M-Series modules in N7K-F132-15 modules, was the Cisco Nexus 7000 Series introduced in this release. chassis Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 208 Configuring Multicast Interoperation with N7K-F132-15 Modules Feature History for Multicast Interoperation Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 209: Ietf Rfcs For Ip Multicast

    Considerations for Internet Group Management Protocol (IGMP) and Multicast Listener Discovery (MLD) Snooping Switches RFC 4601 Protocol Independent Multicast - Sparse Mode (PIM-SM): Protocol Specification (Revised) RFC 4610 Anycast-RP Using Protocol Independent Multicast (PIM) Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 210 IETF RFCs for IP Multicast IETF RFCs for IP Multicast RFCs Title RFC 5059 Bootstrap Router (BSR) Mechanism for Protocol Independent Multicast (PIM) RFC 5132 IP Multicast MIB Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 211: Appendix B Configuration Limits For Cisco Nx-Os Multicast

    The features supported by Cisco NX-OS have maximum configuration limits. Some of the features have configurations that support limits less than the maximum limits. The configuration limits are documented in the Cisco Nexus 7000 Series NX-OS Verified Scalability Guide. Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 212 Configuration Limits for Cisco NX-OS Multicast Configuration Limits for Cisco NX-OS Multicast Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide...
  • Page 213 7, 70 Bidir mode (Note) description 54, 70, 101 Benefits priority and PIM hello message SSM mode 12, 157 Dynamic Shared Memory autonomous systems Stateful Switchover MBGP MSDP Bidir mode description Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide IN-1...
  • Page 214 Topology show running-configuration igmp version, default (IGMPv2) show startup-configuration igmp Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide IN-2...
  • Page 215 MLDv2 changes from MLDv1 MRIB and M6RIB description join and state creation MSDP 12, 157, 158, 159, 160, 161, 170 Anycast-RP (Note) interdomain multicast protocol Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide IN-3...
  • Page 216 Auto-RP message action (PIM only) 80, 82, 85 17, 38, 127 protocols 80, 82, 85 Bidir RP limit IGMP BSR candidate RP policy IGMP snooping 80, 82, 85 BSR message action Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide IN-4...
  • Page 217 113, 168 ip pim bsr bsr-policy MSDP 80, 82, 85 ip pim bsr listen PIM and PIM6 ip pim bsr rp-candidate-policy Restrictions for MoFRR Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide IN-5...
  • Page 218 4, 55, 70 SPTs VLAN interface description 12, 99, 131, 153 vPCs SSM mode and multicast switchover to source tree displaying statistics SSM mode 11, 12, 101 IGMP snooping configuration guidelines description Cisco Nexus 7000 Series NX-OS Multicast Routing Configuration Guide IN-6...

Table of Contents