Cisco XR12000 Series Configuration Manual

Cisco XR12000 Series Configuration Manual

Ios xr multicast configuration guide
Hide thumbs Also See for XR12000 Series:
Table of Contents

Advertisement

Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000
Series Router, Release 5.1.x
First Published: September 03, 2013
Last Modified: September 03, 2013
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
Text Part Number: OL-30405-02

Advertisement

Table of Contents
loading

Summary of Contents for Cisco XR12000 Series

  • Page 1 Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x First Published: September 03, 2013 Last Modified: September 03, 2013 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 http://www.cisco.com Tel: 408 526-4000...
  • Page 2 © Cisco Systems, Inc. All rights reserved.
  • Page 3: Table Of Contents

    IGMP and MLD Versions IGMP Routing Example Protocol Independent Multicast PIM-Sparse Mode PIM-Source Specific Multicast PIM Shared Tree and Source Tree (Shortest Path Tree) Multicast-Intact Designated Routers Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 4 Configuration Process for MLDP MVPN (Intranet) Next-Generation Multicast VPN Multicast Source Discovery Protocol VRF-aware MSDP Multicast Nonstop Forwarding Multicast Configuration Submodes Multicast-Routing Configuration Submode PIM Configuration Submode Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 5 Prerequisites for MVPN Extranet Routing Restrictions for MVPN Extranet Routing Configuring VPN Route Targets Interconnecting PIM-SM Domains with MSDP Controlling Source Information on MSDP Peer Routers Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 6 BGP as the Protocol: Example Configuration Examples for MVPN Profiles Configuration Examples for Inband mLDP profiles Configuration Examples for P2MP-TE profiles Configuration examples for Partitioned mLDP profiles Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 7 Configuring Multicast Hub and Spoke Topology: Example Hub and Spoke Non-Turnaround Configuration: Example Hub and Spoke with Turnaround: Example Configuring LSM based MLDP: Examples Additional References Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 8 Contents Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x viii OL-30405-02...
  • Page 9: Obtaining Documentation And Submitting A Service Request

    Subscribe to What's New in Cisco Product Documentation, which lists all new and revised Cisco technical documentation, as an RSS feed and deliver content directly to your desktop using a reader application. The RSS feeds are a free service.
  • Page 10 Preface Obtaining Documentation and Submitting a Service Request Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 11: New And Changed Information Table

    C H A P T E R New and Changed Information This table summarizes the new and changed information for the Cisco IOS XR Multicast Configuration Guide for the Cisco XR 12000 Series Router. • New and Changed Information Table, page 1...
  • Page 12 New and Changed Information New and Changed Information Table Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 13 Cisco IOS XR Commands Master List for the Cisco XR 12000 Series Router. Feature History for Configuring Multicast Routing on the Cisco XR 12000 Series Routers...
  • Page 14: Prerequisites For Implementing Multicast Routing

    Prerequisites for Implementing Multicast Routing • You must install and activate the multicast pie. • For detailed information about optional PIE installation, see Cisco IOS XR Getting Started Guide for the Cisco XR 12000 Series Router • For MLDP, an MPLS PIE has to be installed.
  • Page 15: Information About Implementing Multicast Routing

    4 IPv6 support on Cisco XR 12000 Series Router only 5 PIM bootstrap router 6 Multicast Source Discovery Protocol 7 Multiprotocol Border Gateway Protocol 8 Nonstop forwarding 9 Out of resource Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 16: Multicast Routing Functional Overview

    • PIM Bidirectional is a variant of the Protocol Independent Multicast suit of routing protocols for IP multicast. PIM-BIDIR is designed to be used for many-to-many applications within individual PIM domains. Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 17: Pim-Sm, Pim-Ssm, And Pim-Bidir

    For more information about PIM-SM, see the PIM-Sparse Mode, on page Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 18: Pim-Ssm Operations

    IGMP. A router running Cisco IOS XR Software does not automatically detect Version 1 systems. You must use the version command in router IGMP configuration submode to configure the IGMP version.
  • Page 19: Igmp And Mld Versions

    (S, G) that it wants to join and a list of sources and groups (S, G) that it wants to leave. Router C can now use this information to prune traffic from Source 10.0.1.1 so that only Source 10.0.0.1 traffic is being delivered Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 20: Protocol Independent Multicast

    PIM. The Cisco IOS XR implementation of PIM is based on RFC 4601 Protocol Independent Multicast - Sparse Mode (PIM-SM): Protocol Specification. For more information, see RFC 4601 and the Protocol Independent Multicast (PIM): Motivation and Architecture Internet Engineering Task Force (IETF) Internet draft.
  • Page 21: Pim-Sparse Mode

    Implementing Multicast Routing on Cisco IOS XR Software Protocol Independent Multicast Cisco IOS XR Software supports PIM-SM, PIM-SSM, PIM Bidir, and PIM Version 2 only. PIM Version 1 Note hello messages that arrive from neighbors are rejected. PIM-Sparse Mode Typically, PIM in sparse mode (PIM-SM) operation is used in a multicast network when relatively few routers are involved in each multicast.
  • Page 22: Pim Shared Tree And Source Tree (Shortest Path Tree)

    This type of distribution tree is called a shortest path tree or source tree. By default, the Cisco IOS XR Software switches to a source tree when it receives the first data packet from a source. The following process describes the move from shared tree to source tree in more detail: 1 Receiver joins a group;...
  • Page 23: Multicast-Intact

    Label Switching Traffic Engineering (MPLS-TE) and IP multicast coexistence is supported in Cisco IOS XR Software by using the mpls traffic-eng multicast-intact IS-IS or OSPF router command. See Cisco IOS XR Routing Configuration Guide for the Cisco XR 12000 Series Router for information on configuring multicast intact using IS-IS and OSPF commands.
  • Page 24: Designated Routers

    Designated Routers Designated Routers Cisco routers use PIM-SM to forward multicast traffic and follow an election process to select a designated router (DR) when there is more than one router on a LAN segment. The designated router is responsible for sending PIM register and PIM join and prune messages toward the RP to inform it about host group membership.
  • Page 25: Rendezvous Points

    • Multicast forwarded by the RPF forwarding algorithm, described in the Reverse-Path Forwarding, on page 17, if the rendezvous point has itself joined the source tree. Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 26: Auto-Rp

    It allows the PE router that has the VRF interface to relay auto-RP discovery, and announce messages across the core and eventually to the remote CE. Auto-RP is supported in only the IPv4 address family. Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 27: Pim Bootstrap Router

    Multicast VPN (MVPN) provides the ability to dynamically provide multicast support over MPLS networks. MVPN introduces an additional set of protocols and procedures that help enable a provider to support multicast traffic in a VPN. Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 28: Multicast Vpn Routing And Forwarding

    The multicast distribution tree (MDT) can span multiple customer sites through provider networks, allowing traffic to flow from one source to multiple receivers. For MLDP, the MDT tunnel trees are called as Labeled MDT (LMDT). Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 29: Interas Support On Multicast Vpn

    To establish a Multicast VPN between two autonomous systems, a MDT-default tunnel must be setup between the two PE routers. The PE routers accomplish this by joining the configured MDT-default group. This Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 30: Bgp Requirements

    BGP connector attribute. See the Implementing BGP on Cisco IOS XR Software module of the Cisco IOS XR Routing Configuration Guide for the Cisco XR 12000 Series Router for information on BGP support for Multicast VPN.
  • Page 31: Multicast Vpn Extranet Routing

    Extranet MVPN, on page 22). Extranet networks can run either IPv4 or IPv6, but the core network always runs only IPv4 active multicast. Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 32: Information About The Extranet Mvpn Routing Topology

    • On the receiver PE router, configure the same unicast routing policy to import routes from the source MVRF to the receiver MVRF. Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 33 PE3, the receiver PE routers for VPN-B and VPN-A, respectively. After PE1 receives the packets from the source in the MVRF for VPN-A, it independently replicates and encapsulates the packets in the MVRF for Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 34: Rpf Policies In An Extranet

    • Spoke sites of a VPN customer requires all the connectivity between its spoke sites through a central site. This means that the hub site becomes a transit point for interspoke connectivity. Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 35: Realizing The Hub And Spoke Topology

    If required, interspoke multicast can flow by turning around the traffic at Hub sites. These enhancements are made to the Multicast Hub and Spoke topology in Cisco IOS XR Software Release 4.0: • Auto-RP and BSR are supported across VRFs that are connected through extranet. It is no longer restricted to using static RP only.
  • Page 36: Label Switched Multicast (Lsm) Multicast Label Distribution Protocol (Mldp) Based Multicast Vpn (Mvpn) Support

    For MLDP MVPN configuration to work, ensure that the global MPLS MLDP configuration is enabled. To configure MVPN extranet support, configure the source Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 37: Limitations For Mldp In Cisco Xr 12000 Series Routers

    A P2MP LSP consists of a single root node, zero or more transit nodes, and one or more leaf nodes, where typically root and leaf nodes are PEs and transit nodes are P routers. A P2MP LSP setup is receiver-driven Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 38: Packet Flow In Mldp-Based Multicast Vpn

    • P2MP/MP2MP LSPs for MVPN based on MS-PMSI or Multidirectional Selective Provider Multicast Service Instance (Partitioned E-LAN). The Cisco XR 12000 Series Router performs the following important functions for the implementation of MLDP: 1 Encapsulating VRF multicast IP packet with GRE/Label and replicating to core interfaces (imposition node).
  • Page 39 • Extranet, Hub and Spoke, CsC, Customer-RP-discovery (Embedded-RP, AutoRP and BSR) are supported. • Inter-AS Options A, B, and C are supported. . VRF-Route-Import EC is announced in VPN-IP routes. Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 40 • Customer traffic can be SM S,G or SSM. • Support for global table S,Gs on PEs. For more information on MLDP implementation and OAM concepts, see the Cisco IOS XR MPLS Configuration Guide for the Cisco XR 12000 Series Router...
  • Page 41 Profile 13 : Rosen-mLDP-MP2MP with BGP C-multicast Routing These are the characteristics of this profile: • Single MP2MP mLDP core-tree as the Default-MDT, with BGP C-multicast Routing. Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 42 • Full mesh of Static-P2MP-TE core-trees, as the Default-MDT, with BGP C-multicast Routing. • All UMH options supported. • Default MDT supported; Data MDT is not supported. • Customer traffic can be SM, SSM . Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 43 • Customer traffic can be SM, SSM . • RPL-Extranet, Hub & Spoke supported. • Customer-RP-discovery (Embedded-RP, AutoRP & BSR) is supported. • Inter-AS Option A, B and C supported. Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 44: Configuration Rules For Profiles

    • Inter-AS Option A and C- supported. Configuration rules for profiles Rules for Rosen-mGRE profiles (profiles- 0, 3,11) • All profiles require VPNv4 or v6 unicast reachability. Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 45: Summary Of Supported Mvpn Profiles

    Cisco prioprietary - MLDP MP2MP Source- PE:RD:0 Rosen GRE with BGP PIM or BGP -AD • Intra-AS MI- PMSI (knob controlled) • S- PMSI for Data-MDT Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 46: Configuration Process For Mldp Mvpn (Intranet)

    These steps provide a broad outline of the different configuration process of MLDP MVPN for intranet: Note For detailed summary of the various MVPN profiles, see the Summary of Supported MVPN Profiles, on page • Enabling MPLS MLDP ◦ configure Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 47 ◦ configure ◦ multicast-routing vrf vrf_name ◦ address-family ipv4 ◦ mdt data <1-255> • Configuring BGP MDT address family ◦ configure ◦ router bgp AS Number Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 48: Next-Generation Multicast Vpn

    Label Switched Paths (LSP) to be used to transport the multicast traffic between PEs, thus allowing the multicast traffic and the unicast traffic to benefit from the advantages of MPLS transport, Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 49: Multicast Source Discovery Protocol

    RP installs the S, G route, forwards the encapsulated data contained in the SA message, and sends PIM joins back towards the source. This process describes how a multicast path can be built between domains. Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 50: Vrf-Aware Msdp

    Although you should configure BGP or Multiprotocol BGP for optimal MSDP interdomain operation, Note this is not considered necessary in the Cisco IOS XR Software implementation. For information about how BGP or Multiprotocol BGP may be used with MSDP, see the MSDP RPF rules listed in the Multicast Source Discovery Protocol (MSDP), Internet Engineering Task Force (IETF) Internet draft.
  • Page 51: Multicast Configuration Submodes

    Cisco IOS XR Software moves control plane CLI configurations to protocol-specific submodes to provide mechanisms for enabling, disabling, and configuring multicast features on a large number of interfaces. Cisco IOS XR Software allows you to issue most commands available under submodes as one single command string from global configuration mode.
  • Page 52: Msdp Configuration Submode

    MSDP configuration submode. Understanding Interface Configuration Inheritance Cisco IOS XR Software allows you to configure commands for a large number of interfaces by applying command configuration within a multicast routing submode that could be inherited by all interfaces. To override the inheritance mechanism, you can enter interface configuration submode and explicitly enter a different command parameter.
  • Page 53: Understanding Enabling And Disabling Interfaces

    Understanding Enabling and Disabling Interfaces, on page 43 Understanding Enabling and Disabling Interfaces When the Cisco IOS XR Software multicast routing feature is configured on your router, by default, no interfaces are enabled. To enable multicast routing and protocols on a single interface or multiple interfaces, you must explicitly enable interfaces using the interface command in multicast routing configuration mode.
  • Page 54: Multicast Forwarding Information Base

    This section contains instructions for both building a basic multicast configuration, as well as optional tasks to help you to optimize, debug, and discover the routers in your multicast network. • Configuring Multicast VPN, on page 59 (optional) Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 55: Configuring Pim-Sm And Pim-Ssm

    Example: RP/0/0/CPU0:router(config-mcast-ipv4)# interface all enable Step 4 exit Exits multicast routing configuration mode, and returns the router to the source configuration mode. Example: RP/0/0/CPU0:router(config-mcast-ipv4)# exit Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 56 (Optional) Displays PIM topology table information for a specific [source-ip-address [group-ip-address] | group or all groups. entry-flag flag | interface-flag | summary] [route-count] Example: RP/0/0/CPU0:router# show pim topology Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 57: Configuring A Static Rp And Allowing Backward Compatibility

    Example: RP/0/0/CPU0:router(config-pim-default-ipv4)# rp-address 172.16.6.22 rp-access Step 4 old-register-checksum (Optional) Allows backward compatibility on the RP that uses old register checksum methodology. Example: RP/0/0/CPU0:router(config-pim-ipv4)# Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 58: Configuring Auto-Rp To Automate Group-To-Rp Mappings

    In a network running Auto-RP, at least one router must operate as an RP candidate and another router must operate as an RP mapping agent. For more information about Auto-RP, see the Auto-RP, on page Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 59 Auto-RP discovery message to the well-known RP/0/0/CPU0:router(config-pim-ipv4)# auto-rp mapping-agent group CISCO-RP-DISCOVERY (224.0.1.40). GigabitEthernet0/1/0/1 scope 20 • A PIM DR listens to this well-known group to determine which RP to use. Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 60: Configuring The Bootstrap Router

    BSRs in the backbone portion of the network. For more information about BSR, see the PIM Bootstrap Router, on page Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 61 Step 3 bsr candidate-bsr ip-address [hash-mask-len length] Configures the router to announce its candidacy as a BSR. [priority value] Example: RP/0/0/CPU0:router(config-pim-default-ipv4)# bsr candidate-bsr 10.0.0.1 hash-mask-len 30 Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 62 • [sequence-number] permit source-prefix entered from global configuration mode like this: ipv4 dest-prefix access-list rp-access permit 239.1.1.1 0.255.255.255 Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 63 RP/0/0/CPU0:router# show pim bsr rp-cache Step 16 show pim [vrf vrf-name][ipv4 | ipv6] group-map (Optional) Displays group-to-PIM mode mapping. [ip-address-name] [info-source] Example: RP/0/0/CPU0:router# show pim ipv4 group-map Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 64: Calculating Rates Per Route

    MLD version 1 is enabled by default. address-family ipv4 Step 3 rate-per-route Enables a per (S,G) rate calculation for a particular route. Example: RP/0/0/CPU0:router(config-mcast-default-ipv4)# rate-per-route Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 65 • When the statistics keyword is used, the command displays statistics location 0/1/cpU0 the rate per route for one line card in the Multicast Forwarding Information Base (MFIB) table. Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 66: Configuring Multicast Nonstop Forwarding

    For example, if you set the IGMP query interval to 120 seconds, set the IGMP NSF lifetime to 120 seconds (or greater). If the Cisco IOS XR Software control plane does not converge and reconnect after NSF is enabled on your router, multicast packet forwarding continues for up to 15 minutes, then packet forwarding stops.
  • Page 67 120 seconds if the PIM hello interval time is 30 seconds. Step 7 exit (Optional) Exits PIM configuration mode and returns the router to the source configuration mode. Example: RP/0/0/CPU0:router(config-pim-default-ipv4)# exit Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 68 RP/0/0/CPU0:router# show mrib nsf Step 14 show pim [ipv4 | ipv6] nsf (Optional) Displays the state of NSF operation for PIM. Example: RP/0/0/CPU0:router# show pim nsf Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 69: Configuring Multicast Vpn

    (required) • “Configuring BGP to Advertise VRF Routes for Multicast VPN from PE to PE” (required) See the module “Implementing BGP on Cisco IOS XR Software in Cisco IOS XR Routing Configuration Guide for the Cisco XR 12000 Series Router.
  • Page 70: Restrictions For Multicast Vpn For Multicast Routing

    MDT SAFI (secondary address family). See the “Configuring an MDT Address Family Session in BGP” section in Cisco IOS XR Routing Configuration Guide for the Cisco XR 12000 Series Router. • All PE routers in the multicast domain must be running a Cisco IOS XR Software image that supports MVPN.
  • Page 71 Specifies that nonstop forwarding (NSF) maintains the forwarding state in case of a disruption to a multicast process. Example: RP/0/0/CPU0:router(config-mcast-default-ipv4)# Step 5 mdt source type interface-path-id Specifies the MDT source address. Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 72 MDT group is 1 kbps. However, mdt data 239.23.3.0/24 threshold 1200 acl-A you may configure a higher threshold, if desired. Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 73: Specifying The Pim Vrf Instance

    SUMMARY STEPS 1. configure 2. router pim vrf vrf-name address-family {ipv4 | ipv6} 3. rp-address ip-address [group-access-list-name] override] 4. Use the commit or end command. Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 74: Specifying The Igmp Vrf Instance

    Specifying the IGMP VRF Instance SUMMARY STEPS 1. configure 2. router igmp 3. vrf vrf-name 4. Use the commit or end command. Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 75: Configuring The Mdt Source Per Vrf

    For VRFs on which the MDT source is not configured, the MDT source for the default VRF is applied. Also, when the MDT source on a VRF is unconfigured, the configuration of the MDT source default VRF takes effect. Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 76 RP/0/0/CPU0:router(config-mcast)# vrf 101 mdt source loopback 1 Step 5 Repeat the foregoing step as many times as needed to create — other VRFs. Example: RP/0/0/CPU0:router(config-mcast)# vrf 102 mdt Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 77: Configuring Label Switched Multicast

    MLDP MVPN for both the intranet or extranet. This configuration section covers the rosen based MLDP profile. For configuration examples of other MLDP profiles, see Configuring LSM based MLDP: Examples, on page 150. Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 78 Before configuring MLDP based MVPN, ensure that the MPLS is enabled on the core facing interface. Note For information in MPLS configuration, see Cisco IOS XR MPLS Configuration Guide. Also, ensure that BGP and any interior gateway protocol (OSPF or ISIS) is enabled on the core router. For more information on BGP and route-policy configuration, see Cisco IOS XR Routing Configuration Guide.
  • Page 79 • IP address of the route target in A.B.C.D. format. Step 7 vpn id vpn-id Sets or updates a VPN identifier on a VRF. Example: RP/0/0/CPU0:router(config-vrf)# vpn id 10:3 Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 80 • 32-bit IP address: your 16-bit number. For example, 192.168.122.15:1. Step 13 Configures the BGP MDT address family. address-family ipv4 mdt Example: RP/0/0/CPU0:router(config)# address-family ipv4 mdt Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 81 Step 21 Use the commit or end command. commit—Saves the configuration changes, and remains within the configuration session. end—Prompts user to take one of these actions: Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 82: Verification Of Lsm Mldp Based Mvpn Configuration

    : 1.16.16.1 : 1.17.17.1 : 1.18.18.1 : 1.19.19.1 : 1.20.20.1 : 1.21.21.1 : 1.22.22.1 : 1.23.23.1 : 1.24.24.1 : 1.25.25.1 : 1.26.26.1 : 1.27.27.1 : 1.28.28.1 Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 83 EI - Encapsulation Interface, MI - MDT Interface, LVIF - MPLS Encap, EX - Extranet, A2 - Secondary Accept (*,224.0.0.0/24) Flags: D Up: 15:57:19 (*,224.0.1.39) Flags: S Up: 15:57:19 Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 84: Configuring Multitopology Routing

    This set of procedures configures multitopology routing, which is used by PIM for reverse-path forwarding (RPF) path selection. • “Configuring a Global Topology and Associating It with an Interface” (required) Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 85: Restrictions For Configuring Multitopology Routing

    Implementing Multicast Routing on Cisco IOS XR Software Configuring Multitopology Routing For information, see Cisco IOS XR Routing Configuration Guide for the Cisco XR 12000 Series Router. • “Enabling an IS-IS Topology” (required) For information, see Cisco IOS XR Routing Configuration Guide for the Cisco XR 12000 Series Router.
  • Page 86: Configuring An Rpf Topology In Pim

    Implementing Multicast Routing on Cisco IOS XR Software Configuring Multitopology Routing • “Configuring a Routing Policy” (required) For information, see Cisco IOS XR Routing Configuration Guide for the Cisco XR 12000 Series Router. For an example of multitopology routing, see Configuring Multitopology Routing: Example, on page 129.
  • Page 87: Configuring Mvpn Extranet Routing

    • “Configuring a Routing Policy” (required only if performing the following task) For information, see Cisco IOS XR Routing Configuration Guide for the Cisco XR 12000 Series Router. Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x...
  • Page 88: Prerequisites For Mvpn Extranet Routing

    VRF must have some physical interface to signal the data packets being received from the first hop. • Cisco IOS XR Software currently supports only one encapsulation of VRF traffic on an extranet. This means that only one encapsulation interface (or MDT) is allowed in the outgoing forwarding interface list of the multicast route.
  • Page 89 • IP address of the route target in A.B.C.D. format. route-target 100:100 Step 5 export route-target [xx.yy:nn | as-number:nn | Exports the selected route target, optionally expressed as one of the following: ip-address:nn] Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 90: Interconnecting Pim-Sm Domains With Msdp

    Before You Begin You must configure MSDP default peering, if the addresses of all MSDP peers are not known in BGP or multiprotocol BGP. Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 91 10.0.1.3 255.255.255.0 command. Step 4 Exits interface configuration mode, and returns the router to exit global configuration Example: mode. RP/0/0/CPU0:router(config-if)# end Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 92 (Optional) Configures an MSDP peer to be a member of a mesh group. Example: RP/0/0/CPU0:router(config-msdp-peer)# mesh-group internal Step 11 remote-as as-number (Optional) Configures the remote autonomous system number of this peer. Example: RP/0/0/CPU0:router(config-msdp-peer)# remote-as 250 Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 93: Controlling Source Information On Msdp Peer Routers

    • Filter all source/group pairs • Specify an extended access list to pass only certain source/group pairs • Filter based on match criteria in a route map Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 94 (S, G) pairs in outgoing Example: Source-Active (SA) messages. RP/0/0/CPU0:router(config-msdp)# • You must configure the ipv4 access-list command in Step 7, on page sa-filter out router.cisco.com list Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 95 • Yes— Saves configuration changes and exits the configuration session. • No—Exits the configuration session without committing the configuration changes. Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 96: Configuring Msdp Md5 Password Authentication

    Step 3 peer peer-address Configures the MSDP peer. Example: RP/0/0/CPU0:router(config-msdp)# peer 10.0.5.4 Step 4 password {clear | encrypted} password Configures the password. Example: RP/0/0/CPU0:router(config-msdp-peer)# password Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 97: Configuring Vrf For Msdp

    Use the vrf keyword in the MSDP configuration mode to enable VRF for MSDP. SUMMARY STEPS 1. configure 2. router msdp 3. vrf vrf-name 4. peer peer-address 5. Use the commit or end command. Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 98: Multicast Only Fast Reroute (Mofrr)

    Data packets are received from the primary and secondary paths. The redundant packets are discarded at Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 99: Operating Modes Of Mofrr

    Enters the PIM configuration mode. Example: RP/0/0/CPU0:router(config)# router pim Step 3 mofrr rib acl-name Enter the ACL name. Example: RP/0/0/CPU0:router(pim)# mofrr rib acl1 Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 100: Configuring Route Policy For Static Rpf

    Purpose Step 1 Enters global configuration mode. configure Example: RP/0/0/CPU0:router# configure Step 2 router static Enables a static routing process. Example: RP/0/0/CPU0:router(config) # router static Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 101: Point-To-Multipoint Traffic Engineering Label-Switched Multicast

    IP multicast technique because of the various advantages of MPLS-TE, such • Fast re-routing and restoration in case of link/ node failure Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 102: Point To Multipoint Lsp(P2Mp)

    L3 lookup. For more details on RSVP-TE and P2MP LSP, refer the Cisco IOS XR MPLS Configuration Guide for the Cisco XR 12000 Series Router Multicast Routing Protocol support for P2MP All multicast routing protocols support P2MP TE LSP.
  • Page 103 • Yes— Saves configuration changes and exits the configuration session. • No—Exits the configuration session without committing the configuration changes. • Cancel—Remains in the configuration mode, without committing the configuration changes. Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 104: P2Mp Configurations At Egress Node And Bud Node

    Enter the source and prefix length. Example: RP/0/0/CPU0:router(config-mcast-default-ipv4)# static-rpf 10.1.1.1 32 Step 5 mpls address Enter the source PE address of the MPLS P2MP tunnel. Example: RP/0/0/CPU0:router(config-mcast-default-ipv4)# Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 105: Configuring Core Tree Protocol

    Command or Action Purpose Step 1 Enters global configuration mode. configure Example: RP/0/0/CPU0:router# configure Step 2 multicast-routing Enters multicast routing configuration mode. Example: RP/0/0/CPU0:router(config)# multicast-routing Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 106: Configuration Examples For Implementing Multicast Routing On Software

    As a source may register with one RP and receivers may join to a different RP, a method is needed for the RPs to exchange information about active sources. This information exchange is done with MSDP. Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 107: Calculating Rates Per Route: Example

    Calculating Rates per Route: Example The following example illustrates output from hardware counters based on rate per route for a specific source and group address location: configure RP/0/0/CPU0:router# Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 108: Preventing Auto-Rp Messages From Being Forwarded On Software: Example

    222 is used by the boundary command to contain traffic on POS interface 0/3/0/0. ipv4 access-list 111 10 permit 224.1.0.0 0.0.255.255 any 20 permit 224.2.0.0 0.0.255.255 any Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 109: Inheritance In Msdp On Software: Example

    30 permit any any router msdp connect-source loopback 0 sa-filter in rp-list 111 sa-filter out rp-list 111 peer 172.16.0.1 peer 172.16.0.2 sa-filter out list 112 peer 172.17.0.1 Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 110: Msdp-Vrf: Example

    Configuring Multicast VPN, on page 59 of this module and also related configuration information in Cisco IOS XR Routing Configuration Guide for the Cisco XR 12000 Series Router . Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x...
  • Page 111: Configuring Mvpn To Advertise Routes Between The Ce And The Pe Using Ospf Example

    9.9.9.9 remote-as 100 update-source Loopback0 address-family ipv4 unicast address-family vpnv4 unicast address-family ipv4 mdt vrf vpn1 rd 1:1 Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 112 122.1.1.1 255.255.255.0 negotiation auto interface TenGigE0/3/0/0 ipv4 address 12.1.1.2 255.255.255.0 mpls ldp router-id 9.9.9.9 interface TenGigE0/3/0/0 multicast-routing vrf vpn1 address-family ipv4 Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 113 100 router-id 9.9.9.9 area 0 interface Loopback0 interface TenGigE0/3/0/0 router pim vrf vpn1 address-family ipv4 rp-address 2.2.2.2 router pim vrf default address-family ipv4 rp-address 1.1.1.1 Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 114 Implementing Multicast Routing on Cisco IOS XR Software Configuring IPv4 Multicast VPN: Example CE4: For information about configuring the CE router, using Cisco IOS software, see the appropriate Cisco IOS software configuration documentation. interface Loopback0 ipv4 address 101.101.101.101 255.255.255.255 interface GigabitEthernet0/0/0/0 ipv4 address 101.1.1.2 255.255.255.0...
  • Page 115: Example

    233.1.0.0/16 threshold 3 mdt default ipv4 232.1.1.1 rate-per-route interface all enable accounting per-prefix address-family ipv4 mdt source Loopback0 interface all enable accounting per-prefix route-policy pass-all pass end-policy Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 116 1.1.1.1 PE2: vrf vpn1 address-family ipv4 unicast import route-target export route-target interface Loopback0 ipv4 address 9.9.9.9 255.255.255.255 interface Loopback1 vrf vpn1 ipv4 address 10.10.10.10 255.255.255.255 Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 117 122.1.1.2 remote-as 500 address-family ipv4 unicast route-policy pass-all in route-policy pass-all out router ospf 100 router-id 9.9.9.9 area 0 interface Loopback0 interface TenGigE0/3/0/0 Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 118 2.2.2.2 router pim vrf default address-family ipv4 rp-address 1.1.1.1 CE4: For information about configuring the CE router, using Cisco IOS software, see the appropriate Cisco IOS software configuration documentation. interface Loopback0 ipv4 address 101.101.101.101 255.255.255.255 interface GigabitEthernet0/0/0/0 ipv4 address 101.1.1.2 255.255.255.0...
  • Page 119: Example

    Configuring Multicast VPN, on page 59 of this publication, as well as related configuration information in Cisco IOS XR Routing Configuration Guide. For an example of MVPN configuration using only IPv4 addressing, see Configuring IPv4 Multicast VPN: Example, on page 100.
  • Page 120: Eigrp As The Protocol: Example

    Configuring an IPv6 Multicast VPN to Advertise Routes Between the PE to CE with EIGRP as the Protocol: Example CE1: For information about configuring the CE router, using Cisco IOS XR Software, see the appropriate Cisco IOS software documentation. interface Loopback0 ipv4 address 101.101.101.101 255.255.255.255...
  • Page 121 233.1.0.0/16 threshold 3 mdt default ipv4 232.1.1.1 interface all enable vrf vpn1 address-family ipv6 mdt default ipv4 232.1.1.1 interface all enable address-family ipv4 mdt source Loopback0 Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 122 233.1.0.0/16 threshold 3 mdt default ipv4 232.1.1.1 interface all enable vrf vpn1 address-family ipv6 mdt default ipv4 232.1.1.1 interface all enable Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 123 3 redistribute connected address-family ipv6 unicast maximum-paths ebgp 3 redistribute eigrp 2 router ospf 100 router-id 9.9.9.9 area 0 interface Loopback0 interface FastEthernet0/4/1/0 Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 124: Bgp As The Protocol: Example

    ::192:168:10:1 router pim vrf default address-family ipv4 rp-address 1.1.1.1 CE2: For information about configuring the CE router, using Cisco IOS software, see the appropriate Cisco IOS software documentation. interface Loopback0 ipv4 address 122.122.122.122 255.255.255.255 interface GigabitEthernet0/5/0/0...
  • Page 125 192.168.10.1 255.255.255.255 ipv6 address ::192:168:10:1/128 interface GigabitEthernet0/4/0/1 vrf vpn1 ipv6 address 2013::102:1:1:1/96 interface FastEthernet0/5/1/0 ipv4 address 12.1.1.1 255.255.255.0 route-policy pass-all pass end-policy router static Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 126 233.1.0.0/16 threshold 3 mdt default ipv4 232.1.1.1 interface all enable vrf vpn1 address-family ipv6 mdt default ipv4 232.1.1.1 Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 127 232.1.1.1 interface all enable address-family ipv4 multipath mdt source Loopback0 interface all enable address-family ipv6 interface all enable Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 128 FastEthernet0/4/1/0 router pim vrf vpn1 address-family ipv4 rp-address 192.168.10.1 router pim vrf vpn1 address-family ipv6 rp-address ::192:168:10:1 router pim vrf default address-family ipv4 rp-address 1.1.1.1 Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 129: Configuration Examples For Mvpn Profiles

    Implementing Multicast Routing on Cisco IOS XR Software Configuration Examples for MVPN Profiles CE2: For information about configuring the CE router, using Cisco IOS software, see the appropriate Cisco IOS software documentation. interface Loopback0 ipv4 address 122.122.122.122 255.255.255.255 interface GigabitEthernet0/5/0/0...
  • Page 130: Configuration Examples For P2Mp-Te Profiles

    Global-SSM-Group interface all enable address-family ipv6 mdt source Loopback0 ssm range Global-SSM-Group-V6 interface all enable router igmp interface tunnel-mte1 static-group 228.1.1.1 2.2.2.1 router mld Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 131 Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 132: Configuration Examples For Partitioned Mldp Profiles

    1600 mdt partitioned mldp ipv4 mp2mp mdt data 255 interface all enable bgp auto-discovery mldp router pim vrf v41 address-family ipv4 rpf topology route-policy mldp-partitioned-mp2mp Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 133 255 interface all enable bgp auto-discovery mldp router pim vrf v51 address-family ipv4 rpf topology route-policy mldp-partitioned-p2mp address-family ipv6 rpf topology route-policy mldp-partitioned-p2mp Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 134: Configuration Examples For Rosen-Mgre Profiles

    Loopback0 interface all enable vrf v1 address-family ipv4 mdt mtu 1600 mdt data 231.1.1.2/32 mdt default ipv4 231.1.1.1 interface all enable Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 135 < -----RR or Remote PE ip address address-family ipv4 mvpn address-family ipv6 mvpn vrf v111 rd 100:111 address-family ipv4 mvpn address-family ipv6 mvpn multicast-routing mdt source Loopback0 vrf v111 address-family ipv4 Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 136: Configuration Examples For Rosen Mldp Profiles

    Profile-9: Rosen mLDP MP2MP with BGP-AD and PIM signaling vrf v91 vpn id 100:91 Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 137 Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 138 Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 139: Configuring Multitopology Routing: Example

    (225.0.0.2, 225.0.0.12) then set rpf-topology ipv4 multicast topology t202 elseif destination in (225.0.0.3, 225.0.0.13) then pass endif end-policy Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 140: Configuring Mvpn Extranet Routing: Example

    1 regular BGP MVPN config vrf provider-vrf rd 1100:1 address-family ipv4 unicast redistribute connected multicast-routing vrf provider-vrf address-family ipv4 mdt data 226.1.4.0/24 threshold 3 log-traps Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 141 Loopback5 interface all enable router pim vrf provider-vrf address-family ipv4 rp-address 201.22.22.201 router pim vrf receiver_vrf address-family ipv4 Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 142: Configuring The Receiver Mvrf On The Source Pe Router: Example

    You must configure both the source PE router and the receiver PE router. Configure the Source PE Router Using Route Targets interface Loopback5 ipv4 address 202.5.5.202 255.255.255.255 interface GigabitEthernet0/3/0/2 vrf provider-vrf ipv4 address 20.20.20.1 255.255.0.0 Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 143 201.22.22.201 router pim vrf receiver_vrf address-family ipv4 rp-address 201.22.22.201 Configure the Receiver PE Router Using Route Targets interface Loopback5 ipv4 address 201.5.5.201 255.255.255.255 interface Loopback22 Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 144 (201.22.22.201) then set rpf-topology vrf provider_vrf_1 else if source in (202.22.22.201) then set rpf-topology vrf provider_vrf_2 else pass endif end-policy Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 145: Configuring Multicast Hub And Spoke Topology: Example

    CE1------------------ PE1 ------------------------------------------------ PE3 ------------------ CE3 CE1, PE1, and PE3 are all on Cisco IOS XR Software, CE3 has Cisco IOS Software in order to configure autorp on VRF interface. For information about configuring the CE router, using Cisco IOS software, see the appropriate Cisco IOS software documentation.
  • Page 146 A1-Hub-Tunnel router pim vrf A1-Hub-Tunnel address-family ipv4 multicast-routing vrf A1-Hub-1 address-family ipv4 log-traps multipath rate-per-route interface all enable accounting per-prefix multicast-routing vrf A1-Hub-Tunnel address-family ipv4 Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 147 20 match internal external metric 1000 router bgp 1 vrf A1-Hub-Tunnel rd 1002:1 address-family ipv4 unicast redistribute connected Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 148 (1000:10) then set rpf-topology vrf A1-Hub-Tunnel else pass endif end-policy PE3: vrf A1-Hub-4 address-family ipv4 unicast import route-target 1000:10 1001:10 export route-target 1000:10 Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 149 A1-Hub-Policy bsr relay vrf A1-Hub-Tunnel listen auto-rp relay vrf A1-Hub-Tunnel router pim vrf A1-Spoke-2 address-family ipv4 rpf topology route-policy A1-Spoke-Policy bsr relay vrf A1-Hub-Tunnel listen Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 150 A1-Hub-Tunnel address-family ipv4 mdt data 226.202.1.0/24 threshold 10 log-traps mdt default ipv4 226.202.0.0 rate-per-route accounting per-prefix multicast-routing vrf A1-Spoke-Tunnel Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 151 6 match internal external metric 1000 router bgp 1 vrf A1-Hub-Tunnel rd 1002:1 address-family ipv4 unicast redistribute connected router bgp 1 vrf A1-Spoke-Tunnel Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 152 (1000:10) then set rpf-topology vrf A1-Hub-Tunnel else pass endif end-policy CE1: vrf A1-Hub-1 address-family ipv4 unicast import route-target 1000:10 1001:10 export route-target 1000:10 multicast-routing Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 153 No router pim configuration required CE3: Where autorp is configured (this is an Cisco IOS Software example, because auto-rp on vrf interface is not supported in Cisco IOS XR Software) ip vrf A1-Hub-4 rd 1000:4...
  • Page 154: Hub And Spoke With Turnaround: Example

    A2-Hub-3in. This is the fundamental difference in leaking of routes which helps in achieving turnaround of multicast traffic. PE1: vrf A2-Spoke-1 address-family ipv4 unicast import route-target 4000:1 4000:2 4000:3 4000:4 export route-target 4001:1 Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 155 4000:2 4000:3 4000:4 export route-target 4001:2 PE2: vrf A2-Hub-2 address-family ipv4 unicast import route-target 4000:1 4000:2 4000:3 4000:4 4001:1 4001:2 4001:3 4001:4 export route-target 4000:2 Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 156 4000:3--------à selected spoke routes (in the prefix-set below) can be re-exported with hub route target so other spokes can reach them via A2-Hub-3in prefix-set A2-Spoke-family 112.31.1.0/24, 112.32.1.0/24, 152.31.1.0/24, 132.30.1.0/24, 102.9.9.102/32, 103.31.31.103/32, Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 157 RPF A2-Hub-3in. route-policy pass-all out router bgp 1 vrf A2-Hub-3out rd 4000:4 address-family ipv4 unicast route-target download redistribute connected Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 158 A2-Hub-3in address-family ipv4 log-traps rate-per-route interface all enable accounting per-prefix multicast-routing vrf A2-Hub-3out address-family ipv4 log-traps Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 159 A2-Hub-3in uses route policy A2-Spoke-family to re-import selected spoke routes into PE2 through BGP. router eigrp 20 vrf A2-Hub-3out address-family ipv4 default-metric 1000 1 255 1 1500 autonomous-system 20 redistribute bgp 1 interface GigabitEthernet0/1/0/1.13 hold-time 60 Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 160: Configuring Lsm Based Mldp: Examples

    Rosen MLDP without BGP-Advertisement vrf 1 vpn id 1:1 address-family ipv4 unicast import route-target export route-target interface Loopback0 ipv4 address 1.1.1.1 255.255.255.255 route-policy mldp-1 set core-tree mldp-default end-policy Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 161 1 address-family ipv4 interface all enable mdt default mldp ipv4 1.1.1.1 accounting per-prefix router pim vrf 1 address-family ipv4 rpf topology route-policy mldp-1 rp-address 10.1.1.1 Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 162 101 rd 101:101 address-family ipv4 unicast redistribute connected address-family ipv4 mvpn mpls traffic-eng Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 163 0 mpls traffic-eng interface Loopback0 interface Loopback1 interface GigabitEthernet0/0/2/0 interface GigabitEthernet0/3/2/1 interface GigabitEthernet0/3/2/2 mpls traffic-eng router-id Loopback0 router bgp 100 address-family ipv4 unicast Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 164 10.1.250.1 Partitioned-MDT MP2MP without BGP-AD vrf 251 address-family ipv4 unicast import route-target 251:251 export route-target 251:251 interface Loopback0 Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 165 GigabitEthernet0/0/2/0 mpls ldp router-id 1.1.1.1 graceful-restart mldp logging internal <all core-facing interfaces> multicast-routing address-family ipv4 mdt source Loopback0 interface all enable accounting per-prefix vrf 251 Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 166 5.5.5.5 remote-as 100 update-source Loopback0 address-family ipv4 unicast address-family vpnv4 unicast address-family vpnv6 unicast Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 167 401:401 export route-target 401:401 interface Loopback0 ipv4 address 1.1.1.1 255.255.255.255 interface Loopback401 vrf 401 ipv4 address 10.11.151.1 255.255.255.255 route-policy mldp-401 set core-tree mldp-partitioned-p2mp end-policy Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 168 Loopback0 interface all enable accounting per-prefix vrf 401 address-family ipv4 bgp auto-discovery mldp mdt partitioned mldp ipv4 p2mp interface all enable Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 169 5.5.5.5 remote-as 100 update-source Loopback0 address-family ipv4 unicast address-family vpnv4 unicast Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 170: Additional References

    Modular quality of service command reference Cisco IOS XR Aggregation Services Router Modular document Quality of Service Command Reference for the Cisco XR 12000 Series Router Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 171 Cisco XR 12000 Series Router Information about user groups and task IDs Cisco IOS XR System Security Configuration Guide for the Cisco XR 12000 Series Router Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 172 Implementing Multicast Routing on Cisco IOS XR Software Additional References Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02...
  • Page 173 Cisco IOS XR Software default, SA messages configuration inheritance definition configuring 7, 8, 48, 50, 56, 77 description 6, 8, 10, 11, 15, 16, 17, 39, 41 Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02 IN-1...
  • Page 174 IGMP configuration submode (config-igmp) default peering IGMP Routing Example description IGMP VRF instance, specifying logical RP IGMPv3 support MD5 password authentication, description Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x IN-2 OL-30405-02...
  • Page 175 RP description MD5 password authentication, description preventing messages (configuration example) PIM-SM domains, interconnecting RP-mapping agent, designating MSDP(Multicast Source Discovery Protocol) inheriting commands (configuration example) Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02 IN-3...
  • Page 176 IGMP VRF instance shortest path tree specifying PIM VRF instance show pim neighbor command multicast VRF forwarding, enabling Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x IN-4 OL-30405-02...
  • Page 177 45, 56 PIM-SM 7, 11 router MLD submode, description configuring router msdp command 42, 86 description router msdp submode router MSDP submode, description Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x OL-30405-02 IN-5...
  • Page 178 Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x IN-6 OL-30405-02...

Table of Contents