Cisco ASR 9000 Series Software Manual
Cisco ASR 9000 Series Software Manual

Cisco ASR 9000 Series Software Manual

Layer 3 multicast routing
Hide thumbs Also See for ASR 9000 Series:

Quick Links

Implementing Layer-3 Multicast Routing on Cisco
IOS XR Software
This module describes how to implement Layer 3 multicast routing on Cisco ASR 9000 Series Routers
running Cisco IOS XR Software.
Multicast routing is a bandwidth-conserving technology that reduces traffic by simultaneously delivering
a single stream of information to potentially thousands of corporate recipients and homes. Applications that
take advantage of multicast routing include video conferencing, corporate communications, distance learning,
and distribution of software, stock quotes, and news.
This document assumes that you are familiar with IPv4 and IPv6 multicast routing configuration tasks and
concepts for Cisco IOS XR Software .
Multicast routing allows a host to send packets to a subset of all hosts as a group transmission rather than to
a single host, as in unicast transmission, or to all hosts, as in broadcast transmission. The subset of hosts is
known as group members and are identified by a single multicast group address that falls under the IP Class
D address range from 224.0.0.0 through 239.255.255.255.
For detailed conceptual information about multicast routing and complete descriptions of the multicast routing
commands listed in this module, you can refer to the
Feature History for Configuring Multicast Routing on the Cisco ASR 9000 Series Routers
Release
Release 3.7.2
Release 3.9.0
Release 3.9.1
Modification
This feature was introduced.
Support was added for these features:
Support was added for the Multicast VPN feature. (For IPv4
address family)
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x
Related Documents, on page
• Flow-based multicast only fast reroute (MoFRR).
• IGMP VRF override.
165.
1
loading

Summary of Contents for Cisco ASR 9000 Series

  • Page 1 Implementing Layer-3 Multicast Routing on Cisco IOS XR Software This module describes how to implement Layer 3 multicast routing on Cisco ASR 9000 Series Routers running Cisco IOS XR Software. Multicast routing is a bandwidth-conserving technology that reduces traffic by simultaneously delivering a single stream of information to potentially thousands of corporate recipients and homes.
  • Page 2 Information About Implementing Multicast Routing, page 3 • How to Implement Multicast Routing, page 50 • Multicast only fast reroute (MoFRR), page 92 • Enabling multicast on PW-HE interfaces, page 99 Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 3 Prerequisites for Implementing Multicast Routing • You must install and activate the multicast pie. • For detailed information about optional PIE installation, see Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide • For MLDP, an MPLS PIE has to be installed.
  • Page 4 (IPv6) to learn whether members of a group are present on their directly attached subnets. Hosts join multicast groups by sending IGMP or MLD report messages. Many multimedia applications involve multiple participants. Multicast is naturally suitable for this communication paradigm. Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 5 PIM-BIDIR is designed to be used for many-to-many applications within individual PIM domains. This image shows IGMP and PIM-SM operating in a multicast environment. Figure 1: Multicast Routing Protocols Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 6 Multicast Open Shortest Path First (MOSPF) or Distance Vector Multicast Routing Protocol (DVMRP). Cisco IOS XR Software supports Protocol Independent Multicast in sparse mode (PIM-SM), Protocol Independent Multicast in Source-Specific Multicast (PIM-SSM), and Protocol Independent Multicast in Bi-directional mode (BIDIR) permitting these modes to operate on your router at the same time.
  • Page 7: Igmp Versions

    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 8 (RPF) information. As the name PIM implies, it functions independently of the unicast protocols being used. PIM relies on the Routing Information Base (RIB) for RPF information. Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 9 SAFI RIB. Both multicast unicast and unicast databases are outside of the scope of 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 10 To run SSM with IGMPv3, SSM must be supported on the multicast router, the host where the application is running, and the application itself. Cisco IOS XR Software allows SSM configuration for an arbitrary subset of the IP multicast address range 224.0.0.0 through 239.255.255.255. When an SSM range is defined, existing IP multicast receiver applications do not receive any traffic when they try to use addresses in the SSM range, unless the application is modified to use explicit (S,G) channel subscription.
  • Page 11 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 12 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 ASR 9000 Series Aggregation Services Router Routing Configuration Guide for information on configuring multicast intact using IS-IS and OSPF commands.
  • Page 13 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 14 DR • Multicast forwarded by the RPF forwarding algorithm, described in the Reverse-Path Forwarding, on page 16, if the rendezvous point has itself joined the source tree. Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 15 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 ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 16 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 ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 17 BGP/MPLS VPN. In addition to all the ethernet based line cards, Multicast VPN is also supported on the Cisco ASR 9000 Series SPA Interface Processor-700 card from the Cisco IOS XR Software Release 4.0 onwards. Cisco ASR 9000 Series SPA Interface Processor-700 enables the Cisco ASR 9000 Series Routers to support multiple legacy services (such as TDM and ATM) on a router that is primarily designed for Ethernet networks.
  • Page 18 VPN sites that span across multiple autonomous systems. This feature was added to MLDP profile that enables Multicast Distribution Trees (MDTs), used for Multicast VPNs (MVPNs), to span multiple autonomous systems. There are two types of MVPN inter-AS deployment scenarios: Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 19 IPv6 Connectivity over MVPN On the Cisco ASR 9000 Series Routers, in Cisco IOS XR Software starting Release 4.2.1, IPv6 connectivity is supported between customer sites over an IPv4-only core network with a default VRF. VPN PE routers interoperate between the two address families, with control and forwarding actions between IPv4-encapsulated Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 20 MDTs and IPv6 customer routes. IPv6 users can configure IPv6-over-IPv4 multicast VPN support through BGP. In Cisco IOS XR Software, MVPNv6 can have a separate data mdt group configured, which can be different from MVPNv4. But both MVPNv6 and MVPNv4 must have the same default mdt group configured.
  • Page 21 MVRF—Multicast VPN routing and forwarding (VRF) instance. An MVRF is a multicast-enabled VRF. A VRF consists of an IP routing table, a derived forwarding table, a set of interfaces that use the forwarding Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 22 VPN-A, and there are interested receivers behind PE2, the receiver PE router for VPN-B, and also behind PE3, the receiver PE router for VPN-A. After PE1 receives the packets from the source in the MVRF for Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 23 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 ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 24 • 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 ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 25 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 26 For MLDP MVPN configuration to work, ensure that the global MPLS MLDP configuration is enabled. To configure MVPN extranet support, configure the source Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 27 • Downstream path is setup just like a normal P2MP LSP • Upstream path is setup like a P2P LSP towards the upstream router, but inherits the downstream labels from the downstream P2MP LSP. Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 28 • P2MP/MP2MP LSPs for MVPN based on MS-PMSI or Multidirectional Selective Provider Multicast Service Instance (Partitioned E-LAN). The Cisco ASR 9000 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 29 • Inter-AS Options A, B, and C are supported. . VRF-Route-Import EC is announced in VPN-IP routes. Profile 6: VRF In-band Signaling (No BGP-AD) These are the characteristics of this profile: • P2MP mLDP trees are used in the core. Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 30 • 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 ASR 9000 Series Router...
  • Page 31 • Inter-AS Option A, B and C supported. For Options B and C, Root has to be on a PE or the roor-address reachability has to be leaked across all autonomous systems. Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 32 • All UMH options supported. • Support for Data MDT, Default MDT. • Customer traffic can be SM, SSM . • RPL-Tail-end-Extranet supported. • Customer-RP-discovery (Embedded-RP, AutoRP & BSR) is supported. Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 33 • Dynamic P2MP-TE tunnels setup on demand, with PIM C-multicast Routing • All UMH options supported. • Default and Data MDT supported. • Customer traffic can be SM, SSM . Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 34 • Default and Data MDT supported. • Customer traffic can be SM, SSM. • RIB-Tail-end-Extranet, RPL-Tail-end-Extranet supported. • Customer-RP-discovery (Embedded-RP, AutoRP & BSR) is supported. • Inter-AS Option A and C- supported. Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 35 In-band signaling is only supported for shared-tree-only forwarding (also known as sparse-mode threshold infinity). PIM Sparse-mode behavior is not supported (switching from (*,G) to (S,G). Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 36 Implementing Layer-3 Multicast Routing on Cisco IOS XR Software Label Switched Multicast (LSM) Multicast Label Distribution Protocol (mLDP) based Multicast VPN (mVPN) Support The details of the MLDP profiles are discussed in the Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide...
  • Page 37 ◦ vrf vrf_name ◦ vpn id vpn_id The configuring VPN ID procedure is needed for profiles 1 and 9 (Rosen MLDP). • Configuring MVPN Routing and Forwarding instance Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 38 • Configuring BGP IPv4 VRF address family ◦ configure ◦ router bgp AS Number ◦ vrf vrf_name ◦ address-family ipv4 unicast • Configuring PIM SM/SSM Mode for the VRFs ◦ configure Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 39 • RIB-based Extranet with BGP AD • Accepting (*,G) S-PMSI announcements • Egress-PE functionality for Ingress Replication (IR) core-trees • Enhancements for PIM C-multicast Routing • Migration of C-multicast Routing protocol Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 40 GRE tunnel interface and the VRF id of the VRF in which the GRE tunnel is configured. Thus VRF specific processing can be done on the packet. Restrictions • MVPN over GRE is supported only on ASR 9000 Enhanced Ethernet LCs. Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 41 (S,G). As seen, the packet is unicast GRE encapsulated when it traverses the tunnel. Figure 10: Unicast GRE tunnel between two routers Starting with IOS XR 5.3.2 release, IPv6 traffic is supported. Note Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 42 RPF should be the GRE tunnel. RPF may be selected dynamically via RIB updates for the upstream router’s unicast reach-ability, although this is not preferred. Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 43 (BVI). It can be enabled with multicast-routing. THE BVI is a virtual interface within the router that acts like a normal routed interface. For details about BVI, refer Cisco ASR 9000 Series Aggregation Services Router Interface and Hardware Component Configuration Guide BV interfaces are added to the existing VRF routes and integrated with the replication slot mask.
  • Page 44 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 45 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 the global or XR config mode.
  • Page 46 Understanding Interface Configuration Inheritance Multicast-Routing Configuration Submode In Cisco IOS XR software release 3.7.2 and later, basic multicast services start automatically when the multicast PIE (asr9k-mcast-p.pie) is installed, without any explicit configuration required. The following multicast services are started automatically: •...
  • Page 47 Understanding Interface Configuration Inheritance Disablement As stated elsewhere, Cisco IOS XR Software allows you to configure multiple interfaces by applying configurations within a multicast routing submode that can be inherited by all interfaces. To override the inheritance feature on specific interfaces or on all interfaces, you can enter the address-family IPv4 or IPv6 submode of multicast routing configuration mode, and enter the interface-inheritance disable command together with the interface type interface-path-id or interface all command.
  • Page 48: Multicast Routing Information Base

    Understanding Enabling and Disabling Interfaces, on page 48 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 49 • Enabling and disabling of VRF override functionality at run time. • Routing policy configuration at the global (default) VRF level, because routing policy configuration cannot be done at the granularity of an individual interface. Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 50 Enters multicast routing configuration mode. • The following multicast processes are started: MRIB, Example: MFWD, PIM, and IGMP. RP/0/RSP0/CPU0:router(config)# • For IPv4, IGMP version 3 is enabled by default. multicast-routing Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 51 [vrf vrf-name] [ipv4 | ipv6] topology (Optional) Displays PIM topology table information for a [source-ip-address [group-ip-address] | entry-flag flag specific group or all groups. | interface-flag | summary] [route-count] Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 52 To support legacy hosts and switches in a PIM-SSM deployment,Cisco ASR 9000 Series Routers offer a configurable mapping feature. Legacy group membership reports for groups in the SSM group range are mapped to a set of sources providing service for that set of (S,G) channels.
  • Page 53 6. show igmp [vrf vrf-name] ssm map [group-address][detail] DETAILED STEPS Command or Action Purpose Step 1 configure Step 2 router igmp [vrf vrf-name] Enters router IGMP configuration mode. Example: RP/0/RSP0/CPU0:router(config)# router igmp vrf vrf20 Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 54 2. router pim [address-family {ipv4 | ipv6}] 3. rp-address ip-address [group-access-list] [bidir] [override] 4. old-register-checksum 5. exit 6. {ipv4 | ipv6} access-list name 7. [sequence-number] permit source [source-wildcard] 8. commit Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 55 Step 6, on page 55 Step 7, on page 55 can be combined in one command string RP/0/RSP0/CPU0:router(config-ipv4-acl)# permit like this: ipv4 access-list rp-access permit 239.1.1.0 239.1.1.0 0.0.255.255 0.0.255.255. Step 8 commit Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 56 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. The VRF interface on Cisco ASR 9000 Series Routers cannot be an auto-rp candidate- rp.
  • Page 57 This task configures one or more candidate bootstrap routers (BSRs) and a BSR mapping agent. This task also connects and locates the candidate BSRs in the backbone portion of the network. For more information about BSR, see the PIM Bootstrap Router, on page Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 58 Step 4 bsr candidate-rp ip-address [group-list access-list Configures the router to advertise itself as a PIM Version interval seconds] [priority value] bidir 2 candidate RP to the BSR. Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 59 • [sequence-number] permit source-prefix dest-prefix on page 59 can be combined in one command string and entered from global configuration mode like this: ipv4 access-list rp-access permit Example: 239.1.1.1 0.255.255.255 RP/0/RSP0/CPU0:router(config-ipv4-acl)# permit Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 60 (Optional) Displays group-to-PIM mode mapping. [ip-address-name] [info-source] Example: RP/0/RSP0/CPU0:router# show pim ipv4 group-map Calculating Rates per Route This procedure enables multicast hardware forward-rate counters on a per-VRF-family basis. Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 61 • Enables per-prefix counters present in hardware, assigning every existing and new (S, G) route forward, • accounting per-prefix punt, and drop counters on the ingress route and forward Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 62 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 63 120 seconds if the PIM hello interval time is 30 seconds. Step 4 exit (Optional) Exits PIM configuration mode and returns the router to the source configuration mode. Example: RP/0/RSP0/CPU0:router(config-pim-default-ipv4)# exit Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 64 (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 ASR 9000 Series Aggregation Services Router Routing Configuration Guide. Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 65 Restrictions for Multicast VPN for Multicast Routing, on page section in Cisco IOS XR Routing Configuration Guide.) • All PE routers in the multicast domain must be running a Cisco IOS XR Software image that supports MVPN. • Multicast forwarding must be configured for the global IPv4 address family.
  • Page 66 Command or Action Purpose Step 1 configure Step 2 multicast-routing Enters multicast routing configuration mode. Example: RP/0/RSP0/CPU0:router(config)# multicast-routing Step 3 address-family ipv4 Enters ipv4 address-family submode. Example: RP/0/RSP0/CPU0:router(config-mcast)# Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 67 However, you may configure a higher threshold, if desired. You may also, optionally, configure an access list to limit the number of groups to be tunneled through a data MDT Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 68 {ipv4 | ipv6} Enters PIM address-family configuration submode and configures the PIM VRF for either an IPv4 or IPv6 address family. Example: RP/0/RSP0/CPU0:router(config)# router pim vrf vrf_A address-family ipv4 Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 69 Step 2 router igmp Enters IGMP configuration mode. Example: RP/0/RSP0/CPU0:router(config)# router igmp Step 3 vrf vrf-name Configures a VRF instance. Example: RP/0/RSP0/CPU0:router(config-igmp)# vrf vrf_B Step 4 commit Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 70 Enables IP multicast routing and forwarding. Example: RP/0/RSP0/CPU0:router(config)# multicast-routing RP/0/RSP0/CPU0:router(config-mcast)# Step 3 address-family [ ipv4 | ipv6 ] Enters ipv4 (or ipv6) address-family submode. Example: RP/0/RSP0/CPU0:router(config-mcast)# address-family ipv4 Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 71 To verify the MDT source per VRF configuration, use the show pim vrf all mdt interface command. Example: RP/0/RSP0/CPU0:router# show pim vrf all mdt interface GroupAddress Interface Source 239.0.0.239 mdtVRF_NAME Loopback1 VRF_NAME Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 72 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 73 26. set core-tree tree_type 27. commit DETAILED STEPS Command or Action Purpose Step 1 configure Step 2 mpls ldp mldp Enables MPLS MLDP support. Example: RP/0/RSP0/CPU0:router(config)# mpls ldp mldp Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 74 RP/0/RSP0/CPU0:router(config-vrf-af)# export • AS number of the route target in nn format. Range is route-target export 1:1 0-65535. • IP address of the route target in A.B.C.D. format. Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 75 Configures the threshold value for data MDT. Example: RP/0/RSP0/CPU0:router(config-mcast-vrf1-ipv4)# mdt data 239.0.0.0/24 threshold 1000 Step 14 root Takes the user to the global configuration mode. Example: RP/0/RSP0/CPU0:router(config-mcast-vrf1-ipv4)# root Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 76 RP/0/RSP0/CPU0:router(config-bgp-af)# root Step 20 router pim Enters the PIM configuration mode. Example: RP/0/RSP0/CPU0:router(config)# router pim Step 21 vrf vrf_name Specifies the VRF instance. . Example: RP/0/RSP0/CPU0:router(config-pim)# vrf vrf1 Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 77 MLDP peer ID : 1.0.0.1:0, uptime 15:36:30 Up, Capabilities : GR, Typed Wildcard FEC, P2MP, MP2MP, MBB Target Adj : No Upstream count Branch count LDP GR : Enabled Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 78 • To check the PIM neighbors, use the show pim vrf vrf-name neighbor command: Router# show pim vrf A1_MIPMSI neighbor PIM neighbors in VRF A1_MIPMSI Neighbor Address Interface Uptime Expires DR pri 101.2.2.101* Loopback2 15:54:43 00:00:02 1 (DR) BP Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 79 LmdtA1/MIPMSI Flags: A LMI, Up: 04:08:30 Outgoing Interface List Serial0/2/2/0/1:1.16 Flags: F NS, Up: 04:08:30 (*,225.0.32.3) RPF nbr: 102.0.0.102 Flags: C Up: 04:08:30 Incoming Interface List LmdtA1/MIPMSI Flags: A LMI, Up: 04:08:30 Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 80 (RPF) path selection. • “Configuring a Global Topology and Associating It with an Interface” (required) For information, see Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide. • “Enabling an IS-IS Topology” (required) For information, see Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide.
  • Page 81 Configuring multitopology networks requires the following tasks: • “Configuring a Global Topology and Associating It with an Interface” (required) For information, see Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide. • “Enabling an IS-IS Topology” (required) For information, see Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide.
  • Page 82 Shows PIM RPF entries for one or more tables. safi-all} topology {table-name | all}] rpf [ip-address | hash | summary | route-policy] Example: RP/0/RSP0/CPU0:router# show pim vrf mtt rpf ipv4 multicast topology all rpf Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 83 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 84 • 4-byte AS number of the route target in xx.yy:nn format. Example: Range is 0-65535.0-65535:0-65535 RP/0/RSP0/CPU0:router(config-vrf-af)# import • AS number of the route target in nn format. Range is route-target 234:222 0-65535. RP/0/RSP0/CPU0:router(config-vrf-af)# import Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 85 Finally, you can change the Originator ID when you configure a logical RP on multiple routers in an MSDP mesh group. 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 ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 86 IP address for the TCP connection. See optional RP/0/RSP0/CPU0:router(config-if)# ipv4 for information about configuring the connect-source address 10.0.1.3 255.255.255.0 command. Step 4 Exits interface configuration mode. exit Example: RP/0/RSP0/CPU0:router(config-if)# end Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 87 (Optional) Configures an MSDP peer to be a member of a mesh group. Example: RP/0/RSP0/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/RSP0/CPU0:router(config-msdp-peer)# remote-as 250 Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 88 For example, you could limit internal traffic to a TTL of eight hops. If you want other groups to go to external locations, you send those packets with a TTL greater than eight hops. Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 89 SA message to the peer named router.cisco.com. Step 4 cache-sa-state [list access-list-name] [rp-list Creates and caches source/group pairs from received Source-Active (SA) access-list-name] messages and controls pairs through access lists. Example: RP/0/RSP0/CPU0:router(config-msdp)# cache-sa-state 100 Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 90 3. peer peer-address 4. password {clear | encrypted} password 5. commit 6. show mfib [vrf vrf-name] [ipv4 | ipv6] hardware route {* | source-address | group-address[/prefix-length]} location node-id Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 91 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. commit Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 92 Operating Modes of MoFRR • Flow-based MoFRR— exposes the primary and secondary RPF interfaces to the forwarding plane, with switchover occurring entirely at the hardware level. Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 93 These limitations apply to MoFRR deployments when the Cisco ASR 9000 Series SPA Interface Processor-700 linecard is used in the Cisco ASR 9000 Series Router chassis. 1 Cisco ASR 9000 Series SPA Interface Processor-700 cannot be used on ingress interface as either the primary or backup (ECMP paths) path back to the multicast source.
  • Page 94 Enters the PIM configuration mode. router pim Example: RP/0/RSP0/CPU0:router(config)# router pim Step 3 mofrr rib acl-name Enter the ACL name. Example: RP/0/RSP0/CPU0:router(pim)# mofrr rib acl1 Step 4 commit Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 95 Saves the MoFRR acl configuration and exists the IPv4 acl configuration mode. You need to exit twice here. Example: RP/0/RSP0/CPU0:router(config-ipv4-acl)# exit Step 5 Enters the PIM configuration mode. router pim Example: RP/0/RSP0/CPU0:router(config)# router pim Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 96 DETAILED STEPS Command or Action Purpose Step 1 configure Step 2 router pim [address-family ipv4] Enters PIM configuration mode, or PIM address-family configuration submode. Example: RP/0/RSP0/CPU0:router(config)# router pim Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 97 2. router pim [address-family ipv4] 3. mofrr 4. mofrr acl-name 5. clone join S to S1 S2masklenlength 6. rpf-vector sourcemasklenlength 7. commit 8. show mfib hardware router mofrr routelocationinterface-path-id Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 98 This command verifies the mapping between the source routelocationinterface-path-id S and S1 and S2. S, S1, S2 entries are updated in the displayed MoFRR details. Example: RP/0/RSP0/CPU0:router# show mfib hardware router mofrr 232.0.0.1 location 0/1/1/1 Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 99 Example: RP/0/RSP0/CPU0:router(config-mcast-ipv4)# interface pw-ether1 Step 4 enable Enables multicast routing on pseudowire interfaces. Example: RP/0/RSP0/CPU0:router(config-mcast-ipv4)# enable Step 5 exit Exits the current configuration mode. Example: RP/0/RSP0/CPU0:router(config-mcast-ipv4)# exit Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 100 MLD or IGMP modes respectively. The examples section (later in this chapter) includes the examples for both the cases. SUMMARY STEPS 1. configure 2. router mld 3. interface type interface-path-id 4. static-group ip-group-address source-address 5. exit 6. commit Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 101 Example: RP/0/RSP0/CPU0:router(config-mld-default-if)# static-group ff35::e100 2000:10::1 Step 5 exit Exits the current configuration mode. This step can be used, more than Note once. Example: RP/0/RSP0/CPU0:router(config-mcast-ipv4)# exit Step 6 commit Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 102 Step 6 set rpf-topology policy-nameaddress-family[ipv4 |ipv6]multicast Configures the PIM rpf-topology attributes for | unicasttopologyname the selected multicast address-family. Example: RP/0/RSP0/CPU0:router(config-rpl) # set rpf-topology p1 ipv4 multicast topology t1 Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 103 P and PE routers in order to forward the multicast packet to the physical interfaces according to multicast routing. In this case, the incoming P2MP LSP as the incoming interface for the received multicast packet must Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 104 Multicast Routing Protocol support for P2MP also be available to the multicast forwarding plane during the L3 lookup. For more details on RSVP-TE and P2MP LSP, refer the Cisco ASR 9000 Series Aggregation Services Router MPLS Configuration Guide Multicast Routing Protocol support for P2MP All multicast routing protocols support P2MP TE LSP.
  • Page 105 Step 2 multicast-routing Enters multicast routing configuration mode. Example: RP/0/RSP0/CPU0:router(config)# multicast-routing Step 3 address-family {ipv4 | ipv6} Enters ipv4 (or ipv6) address-family submode. Example: RP/0/RSP0/CPU0:router(config-mcast)# address-family ipv4 Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 106 Step 1 configure Step 2 multicast-routing Enters multicast routing configuration mode. Example: RP/0/RSP0/CPU0:router(config)# multicast-routing Step 3 address-family {ipv4 | ipv6} Enters ipv4 (or ipv6)address-family submode. Example: RP/0/RSP0/CPU0:router(config-mcast)# address-family ipv4 Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 107 Enters the VRF configuration sub mode. Example: RP/0/RSP0/CPU0:router(config)# vrf name1 Step 3 address-family ipv4 unicast AFI configuration for IPv4. This is supported on unicast topologies only. Example: RP/0/RSP0/CPU0:router(config-vrf)# address-family ipv4 unicast Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 108 RP/0/RSP0/CPU0:router(config)# multicast-routing vrf green Step 3 interface {type interface-path-id | all} enable Enables multicast routing and forwarding on one or on all new and existing interfaces. Example: RP/0/RSP0/CPU0:router(config-mcast-green)# Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 109 Sets the VRF for the interface. Example: RP/0/RSP0/CPU0:router(config-if)# vrf name1 Step 4 ipv4 address address mask Sets the IPv4 address for the interface. Example: RP/0/RSP0/CPU0:router(config-if)# ipv4 address 10.1.1.1 255.0.0.0 Step 5 commit Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 110 Sets the PIM RPF topology attributes for the default VRF. Example: RP/0/RSP0/CPU0:router(config-rpl)# set rpf-topology vrf default Step 4 end-policy Ends the route-policy definition configuration. Example: RP/0/RSP0/CPU0:router(config-rpl)# end-policy Step 5 commit Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 111 The following example illustrates output from hardware counters based on rate per route for a specific source and group address location: configure RP/0/RSP0/CPU0:router# multicast-routing vrf vpn12 address-family ipv4 RP/0/RSP0/CPU0:router(config)# rate-per-route RP/0/RSP0/CPU0:router(config-mcast-default-ipv4)# interface all enable RP/0/RSP0/CPU0:router(config-mcast-default-ipv4)# accounting per-prefix RP/0/RSP0/CPU0:router(config-mcast-default-ipv4)# commit RP/0/RSP0/CPU0:router(config-mcast-default-ipv4)# exit RP/0/RSP0/CPU0:router(config-mcast-default-ipv4)# Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 112 !Access list 111 is used by the Auto-RP candidate. ipv4 access-list 222 10 deny any host 224.0.1.39 20 deny any host 224.0.1.40 !Access list 222 is used by the boundary command to contain traffic (on Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 113 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 peer 192.168.12.2 connect-source GigabitEthernet0/2/0/0 Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 114 Configuring IPv4 Multicast VPN: Example Cisco ASR 9000 Series Routers support only IPv4 addressing. Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 115 Configuring Multicast VPN, on page 64 of this module and also related configuration information in Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide . Configuring MVPN to Advertise Routes Between the CE and the PE Using OSPF: Example...
  • 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 ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 117 1 router ospf 1 vrf vpn1 router-id 10.10.10.10 redistribute bgp 100 area 0 interface Loopback1 interface GigabitEthernet0/2/2/7 router ospf 100 router-id 9.9.9.9 area 0 interface Loopback0 interface TenGigE0/3/0/0 Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • 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 12.1.1.1 255.255.255.0 mpls ldp router-id 1.1.1.1 interface TenGigE0/6/0/0 multicast-routing vrf vpn1 address-family ipv4 mdt data 233.1.0.0/16 threshold 3 mdt default ipv4 232.1.1.1 rate-per-route interface all enable accounting per-prefix Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 120 TenGigE0/6/0/0 router pim vrf vpn1 address-family ipv4 rp-address 2.2.2.2 log neighbor changes router pim vrf default address-family ipv4 rp-address 1.1.1.1 PE2: vrf vpn1 address-family ipv4 unicast import route-target Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 121 1:1 address-family ipv4 unicast redistribute connected neighbor 122.1.1.2 remote-as 500 address-family ipv4 unicast route-policy pass-all in route-policy pass-all out Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 122 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 123 Implementing Layer-3 Multicast Routing on Cisco IOS XR Software Configuration Examples for MVPN Profiles CE3: For information about configuring the CE router, using Cisco IOS software, see the appropriate Cisco IOS software configuration documentation. interface Loopback0 ipv4 address 122.122.122.122 255.255.255.255 interface GigabitEthernet0/1/3/0 ipv4 address 22.1.1.1 255.255.255.0...
  • Page 124 200.200.1.1 255.255.255.255 multicast-routing address-family ipv4 mdt source Loopback0 ssm range Global-SSM-Group interface all enable address-family ipv6 mdt source Loopback0 ssm range Global-SSM-Group-V6 interface all enable router igmp Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 125 Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 126 100.1.20.1 static_p20vrf1_v4 log neighbor changes interface GigabitEthernet0/0/0/0.202 enable interface GigabitEthernet0/0/0/0.203 enable interface GigabitEthernet0/0/0/1.202 enable interface GigabitEthernet0/0/0/1.203 enable Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 127 Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 128 Profile-14: Partitioned mLDP P2MP with BGP-AD and BGP siganling multicast-routing Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 129 1600 mdt data 231.1.1.2/32 mdt default ipv4 231.1.1.1 interface all enable address-family ipv6 mdt mtu 1600 mdt data 231.1.1.2/32 mdt default ipv4 231.1.1.1 interface all enable Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 130 Loopback0 vrf v111 address-family ipv4 mdt mtu 1600 mdt data 232.111.1.2/32 mdt default ipv4 232.111.1.1 interface all enable bgp auto-discovery pim address-family ipv6 Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 131 Profile-9: Rosen mLDP MP2MP with BGP-AD and PIM signaling vrf v91 vpn id 100:91 multicast-routing mdt source Loopback0 vrf v91 address-family ipv4 mdt mtu 1600 mdt default mldp ipv4 100.100.1.1 mdt default mldp ipv4 100.100.1.2 Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 132 Profile-17: Rosen mLDP P2MP with BGP-AD and PIM signaling multicast-routing mdt source Loopback0 Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 133 Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 134 Configure the Source PE Router Using Route Targets interface Loopback5 ipv4 address 201.5.5.201 255.255.255.255 interface Loopback22 vrf provider-vrf ipv4 address 201.22.22.201 255.255.255.255 interface GigabitEthernet0/6/0/0 vrf provider-vrf ipv4 address 10.10.10.1 255.255.0.0 Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 135 1100:1 export route-target 1100:1 vrf receiver-vrf address-family ipv4 unicast import route-target 1100:1 1101:1 export route-target 1101:1 multicast-routing vrf provider-vrf address-family ipv4 log-traps Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 136 (228.0.0.0/32 ge 8 le 32) then set rpf-topology vrf provider_vrf_2 else pass endif end-policy router pim vrf receiver_vrf address-family ipv4 rpf topology route-policy extranet_streams_from_provider_vrf Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 137 226.0.0.4 rate-per-route interface all enable accounting per-prefix vrf receiver_vrf address-family ipv4 log-traps mdt default ipv4 226.0.0.5 Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 138 226.0.0.5 rate-per-route interface all enable accounting per-prefix address-family ipv4 mdt source Loopback5 interface all enable router pim vrf receiver_vrf address-family ipv4 rp-address 201.22.22.201 Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 139 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 140 A1-Hub-Tunnel bsr candidate-bsr 201.10.10.201 hash-mask-len 30 priority 4 bsr candidate-rp 201.10.10.201 group-list A1_PE1_RP_grange priority 4 interval 60 auto-rp relay vrf A1-Hub-Tunnel router pim vrf A1-Hub-Tunnel address-family ipv4 multicast-routing Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 141 2000 mdt data 226.202.2.0/24 threshold 5 log-traps mdt default ipv4 226.202.0.1 rate-per-route accounting per-prefix router bgp 1 vrf A1-Hub-1 rd 1000:1 address-family ipv4 unicast Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 142 (1001:10) then set rpf-topology vrf A1-Spoke-Tunnel else pass endif end-policy route-policy A1-Spoke-Policy if extcommunity rt matches-any (1000:10) then set rpf-topology vrf A1-Hub-Tunnel else pass Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 143 A1-Spoke-2 address-family ipv4 unicast import route-target 1000:10 export route-target 1001:10 vrf A1-Hub-Tunnel address-family ipv4 unicast import route-target 1000:10 vrf A1-Spoke-Tunnel address-family ipv4 unicast import route-target 1001:10 router pim Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 144 A1-Hub-4 multicast-routing vrf A1-Hub-4 address-family ipv4 log-traps rate-per-route interface all enable accounting per-prefix multicast-routing vrf A1-Spoke-2 address-family ipv4 log-traps rate-per-route interface all enable accounting per-prefix Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 145 4 match internal external metric 1000 router bgp 1 vrf A1-Spoke-2 rd 1001:2 address-family ipv4 unicast route-target download redistribute connected Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 146 (1001:10) then set rpf-topology vrf A1-Spoke-Tunnel else pass endif end-policy route-policy A1-Spoke-Policy if extcommunity rt matches-any (1000:10) then set rpf-topology vrf A1-Hub-Tunnel else pass endif end-policy Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 147 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 148 For example, Spoke2 will see the RPF for Spoke1 reachable with nexthop of A2-Hub-3in. This is the fundamental difference in leaking of routes which helps in achieving turnaround of multicast traffic. Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 149 4001:1 vrf A2-Spoke-2 address-family ipv4 unicast import route-target 4000:1 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 Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 150 --------à exports the spoke routes into CE2 into vrf default 4001:4 --------à exports the spoke routes into CE2 into vrf default export route-target 4000:4 vrf A2-Hub-3in address-family ipv4 unicast import route-target 4000:1 4000:2 4000:3 4000:4 Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 151 A2-Spoke-family then pass else drop endif end-policy router bgp 1 vrf A2-Hub-3in rd 4000:3 address-family ipv4 unicast route-target download redistribute connected neighbor 113.113.114.9 remote-as 12 address-family ipv4 unicast Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 152 20 match internal external metric 1000 multicast-routing vrf A2-Hub-2 address-family ipv4 log-traps rate-per-route interface all enable accounting per-prefix multicast-routing Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 153 A2-Spoke-3 listen auto-rp relay vrf A2-Hub-Tunnel router pim vrf A2-Hub-3in address-family ipv4 rpf topology route-policy A2-Hub-Policy router pim vrf A2-Hub-3out address-family ipv4 rpf topology route-policy A2-Hub-Policy Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 154 20 neighbor 113.113.114.10 --à this is the A2-Hub-3in neighbor on PE2. remote-as 1 address-family ipv4 unicast route-policy pass-all in route-policy pass-all out Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 155 1 rd 1:1 address-family ipv4 unicast redistribute connected mpls traffic-eng interface GigabitEthernet0/0/2/0 mpls ldp router-id 1.1.1.1 graceful-restart mldp logging internal Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 156 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 mvpn address-family ipv4 unicast redistribute connected address-family vpnv4 unicast Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 157 101 rp-address 10.1.101.1 VRF In-band Profile vrf 250 address-family ipv4 unicast import route-target 250:250 export route-target 250:250 interface Loopback0 ipv4 address 1.1.1.1 255.255.255.255 interface Loopback250 vrf 250 Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 158 multicast-routing address-family ipv4 mdt source Loopback0 interface all enable accounting per-prefix vrf 250 address-family ipv4 mdt mldp in-band-signaling interface all enable Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 159 5.5.5.5 remote-as 100 update-source Loopback0 address-family ipv4 unicast address-family vpnv4 unicast address-family vpnv6 unicast vrf 251 rd 251:251 Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 160 301 ipv4 address 10.11.51.1 255.255.255.255 route-policy mldp-301 set core-tree mldp-partitioned-mp2mp end-policy router ospf 1 address-family ipv4 unicast area 0 mpls traffic-eng interface Loopback0 interface Loopback1 interface GigabitEthernet0/0/2/0 Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 161 301 address-family ipv4 bgp auto-discovery mldp mdt partitioned mldp ipv4 mp2mp interface all enable router pim vrf 301 address-family ipv4 rpf topology route-policy mldp-301 rp-address 10.11.51.1 Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 162 401 rd 401:401 address-family ipv4 unicast redistribute connected address-family ipv4 mvpn mpls traffic-eng interface GigabitEthernet0/0/2/0 Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 163 501 rd 501:501 address-family ipv4 unicast redistribute connected address-family ipv4 mvpn router ospf 1 address-family ipv4 unicast area 0 mpls traffic-eng interface Loopback0 interface Loopback1 interface GigabitEthernet0/0/2/0 Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 164 Loopback0 interface all enable accounting per-prefix vrf 501 address-family ipv4 bgp auto-discovery pim mdt default ipv4 232.1.1.1 interface all enable router pim vrf 501 address-family ipv4 rp-address 10.111.1.1 Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 165: Additional References

    Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide Information about user groups and task IDs Cisco ASR 9000 Series Aggregation Services Router System Security Configuration Guide Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...
  • Page 166 Implementing Layer-3 Multicast Routing on Cisco IOS XR Software Additional References Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x...