Cisco CRS Series Скачать руководство пользователя страница 120

Purpose

Command or Action

Takes the user to the global configuration level.

root

Example:

RP/0/RP0/CPU0:router(config-ldp-mldp)# root

Step 3

Configures a VRF instance. The vrf-name argument is the
name assigned to a VRF.

vrf vrf_name

Example:

RP/0/RP0/CPU0:router(config)# vrf vrf1

Step 4

Sets or updates a VPN identifier on a VRF.

vpn id vpn-id

Example:

RP/0/RP0/CPU0:router(config-vrf)# vpn id 1:1

Step 5

Enters the address-family submode.

address-family

[

ipv4

|

ipv6

]

unicast

Example:

RP/0/RP0/CPU0:router(config-vrf)#

Step 6

address-family ipv4 unicast

Imports the selected route target, optionally expressed as one
of the following:

import route-target

[

xx.yy.nn

|

as-number:nn

|

ip-address:nn

]

Example:

RP/0/RP0/CPU0:router(config-vrf-af)# import

Step 7

4-byte AS number of the route target in xx.yy:nn format.
Range is 0-65535.0-65535:0-65535

AS number of the route target in nn format. Range is
0-65535.

route-target import 1:1

IP address of the route target in A.B.C.D. format.

Exports the selected route target, optionally expressed as one
of the following:

export route-target

[

xx.yy.nn

|

as-number:nn

|

ip-address:nn

]

Example:

RP/0/RP0/CPU0:router(config-vrf-af)# export

Step 8

4-byte AS number of the route target in xx.yy:nn format.
Range is 0-65535.0-65535:0-65535

AS number of the route target in nn format. Range is
0-65535.

route-target export 1:1

IP address of the route target in A.B.C.D. format.

   Cisco IOS XR Multicast Configuration Guide for the Cisco CRS Router, Release 5.2.x

110

Implementing Multicast Routing on Cisco IOS XR Software

Configuring Multicast VPN

Содержание CRS Series

Страница 1: ... the Cisco CRS Router Release 5 2 x First Published 2014 07 01 Last Modified 2014 10 01 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 ...

Страница 2: ... IMPLIED INCLUDING WITHOUT LIMITATION THOSE OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING USAGE OR TRADE PRACTICE IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT SPECIAL CONSEQUENTIAL OR INCIDENTAL DAMAGES INCLUDING WITHOUT LIMITATION LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE T...

Страница 3: ...S XR Software Multicast Routing Implementation 5 Multicast Routing Functional Overview 6 Multicast Routing Implementation 6 PIM SM PIM SSM and PIM BIDIR 7 PIM SM Operations 7 PIM SSM Operations 8 PIM Bidirectional Operations 8 Restrictions for PIM SM and PIM SSM and PIM BIDIR 8 Internet Group Management Protocol and Multicast Listener Discovery 9 IGMP and MLD Versions 9 IGMP Routing Example 10 Pro...

Страница 4: ... and Spoke Topology 27 Realizing the Hub and Spoke Topology 27 Label Switched Multicast LSM Multicast Label Distribution Protocol mLDP based Multicast VPN mVPN Support 28 Benefits of LSM MLDP based MVPN 28 Configuring MLDP MVPN 29 P2MP and MP2MP Label Switched Paths 29 Packet Flow in mLDP based Multicast VPN 30 Realizing a mLDP based Multicast VPN 30 Characteristics of mLDP Profiles 30 Configurati...

Страница 5: ...P User Interface for LDP Opaque VPNv6 Using the Routing Policy 51 Configuring mLDP FEC at the Root Node 52 Configuring the mLDP FEC at the Root Node Using the Route Policy 52 Configuring the mLDP User Interface to Filter Label Mappings 53 Configuring the mLDP User Interface to Filter Label Mappings 54 Configuring the mLDP User Interface for Feature Filtering 55 Configuring the mLDP User Interface ...

Страница 6: ...uring MVPN GRE BIDIR 74 Configuring MVPN MLDP BIDIR 83 Configuring a Static RP and Allowing Backward Compatibility 90 Configuring Auto RP to Automate Group to RP Mappings 92 Configuring the Bootstrap Router 94 Calculating Rates per Route 96 Configuring Multicast Nonstop Forwarding 98 Configuring Multicast VPN 100 Prerequisites for Multicast VPN 101 Restrictions for Multicast VPN for Multicast Rout...

Страница 7: ...ng Multicast Forwarding Over Tunnel Interface at Ingress Node 132 P2MP configurations at egress node and bud node 133 Configuring Static Reverse Path Forwarding RPF 133 Configuring Core Tree Protocol 134 Configuration Examples for Implementing Multicast Routing on Software 135 MSDP Anycast RP Configuration on Cisco IOS XR Software Example 135 Bidir PIM Configuration on Software Example 136 Calcula...

Страница 8: ...ample 165 Hub and Spoke Non Turnaround Configuration Example 165 Hub and Spoke with Turnaround Example 174 Configuring LSM based MLDP Examples 180 Additional References 190 C H A P T E R 3 Implementing Automatic Multicast Routing 193 Automatic Multicast Tunneling 193 Advantages of AMT 193 Prerequisites for configuring AMT 194 Restrictions for AMT 194 Implementing AMT 195 AMT Message Exchanges 195 ...

Страница 9: ... Release 5 2 2 October 2014 Obtaining Documentation and Submitting a Service Request For information on obtaining documentation using the Cisco Bug Search Tool BST submitting a service request and gathering additional information see What s New in Cisco Product Documentation To receive new and revised Cisco technical content directly to your desktop you can subscribe to the What s New in Cisco Pro...

Страница 10: ...Cisco IOS XR Multicast Configuration Guide for the Cisco CRS Router Release 5 2 x x Preface Obtaining Documentation and Submitting a Service Request ...

Страница 11: ...where they are documented Table 1 New and Changed Multicast Feature Information Where Documented Changed in Release Description Feature Multipoint Label Distribution Protocol Route Policy Map on page 41 Release 5 2 0 This feature was introduced MVPN mLDP Filtering in the Core Multicast Non Stop Routing on page 18 Release 5 2 2 This feature was introduced Multicast NSR Supported Features on page 60...

Страница 12: ...Cisco IOS XR Multicast Configuration Guide for the Cisco CRS Router Release 5 2 x 2 New and Changed Multicast Features New and Changed Multicast Features ...

Страница 13: ...smission 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 Related Documents on page 190 Feature Hist...

Страница 14: ...Configuring Route Policy for Static RPF page 130 Point to Multipoint Traffic Engineering Label Switched Multicast page 131 Configuration Examples for Implementing Multicast Routing on Software page 135 Additional References page 190 Prerequisites for Implementing Multicast Routing You must install and activate the multicast pie For detailed information about optional PIE installation see Cisco IOS...

Страница 15: ...tration Yes MLD v2 Yes IGMP v3 Explicit tracking of hosts groups and channels Yes Yes PIM SM1 Yes Yes PIM SSM2 Yes Yes PIM Bidir3 No Yes Auto RP Yes4 Yes Multicast VPN Yes Yes BSR5 No Yes MSDP6 Yes Yes BGP7 Yes Yes Multicast NSF8 No Yes OOR handling9 1 Protocol Independent Multicast in sparse mode 2 Protocol Independent Multicast in Source Specific Multicast 3 Protocol Independent Multicast Bidire...

Страница 16: ...y have no activity Routers use the Internet Group Management Protocol IGMP IPv4 and Multicast Listener Discovery MLD 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 Multi...

Страница 17: ...ese modes to operate on your router at the same time PIM SM and PIM SSM supports one to many applications by greatly simplifying the protocol mechanics for deployment ease Bidir PIM helps deploy emerging communication and financial applications that rely on a many to many applications model BIDIR PIM enables these applications by allowing them to easily scale to a very large number of groups and s...

Страница 18: ...outer No data triggered events Rendezvous Point RP router not required The RP address only needs to be a routable address and need not exist on a physical device Restrictions for PIM SM and PIM SSM and PIM BIDIR Interoperability with SSM PIM SM operations within the SSM range of addresses change to PIM SSM In this mode only PIM S G join and prune messages are generated by the router and no S G RP ...

Страница 19: ... multicast traffic they are interested in and for routers to control and limit the flow of multicast traffic throughout the network Routers build state by means of IGMP and MLD messages that is router queries and host reports A set of queries and hosts that receive multicast data streams from the same source is called a multicast group Hosts use IGMP and MLD messages to join and leave multicast gr...

Страница 20: ...d 10 0 1 1 that are multicasting to group 239 1 1 1 The receiver wants to receive traffic addressed to group 239 1 1 1 from source 10 0 0 1 but not from source 10 0 1 1 The host must send an IGMPv3 message containing a list of sources and groups 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 1...

Страница 21: ...ion 2 only PIM Version 1 hello messages that arrive from neighbors are rejected Note 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 Routers do not forward multicast packets for a group unless there is an explicit request for traffic Requests are accomplished using PIM join messages which are se...

Страница 22: ...when they try to use addresses in the SSM range unless the application is modified to use explicit S G channel subscription PIM Bidirectional Mode PIM BIDIR is a variant of the Protocol Independent Multicast PIM suite of routing protocols for IP multicast In PIM packet traffic for a multicast group is routed according to the rules of the mode configured for that multicast group In bidirectional mo...

Страница 23: ...expects all of the PIM neighbors to be BIDIR enabled In the case where one of more of the neighbors is not a BIDIR capable router the election fails and BIDIR is disabled in that subnet PIM Shared Tree and Source Tree Shortest Path Tree In PIM SM the rendezvous point RP is used to bridge sources sending data to a particular group with receivers sending joins for that group In the initial setup of ...

Страница 24: ...or the group The spt threshold infinity command lets you configure the router so that it never switches to the shortest path tree SPT Tip Multicast Intact The multicast intact feature provides the ability to run multicast routing PIM when Interior Gateway Protocol IGP shortcuts are configured and active on the router Both Open Shortest Path First version 2 OSPFv2 and Intermediate System to Interme...

Страница 25: ...ure 4 Designated Router Election on a Multiaccess Segment on page 16 illustrates what happens on a multiaccess segment Router A 10 0 0 253 and Router B 10 0 0 251 are connected to a common multiaccess Ethernet segment with Host A 10 0 0 1 as an active receiver for Group A As the Explicit Join model is used only Router A operating as the DR sends joins to the RP to construct the shared tree for Gro...

Страница 26: ... Shared Tree and Source Tree Shortest Path Tree on page 13 A rendezvous point can be either configured statically in each box or learned through a dynamic mechanism PIM DRs forward data from directly connected multicast sources to the rendezvous point for distribution down the shared tree Data is forwarded to the rendezvous point in one of two ways Encapsulated in register packets and unicast dire...

Страница 27: ...group ranges or to serve as hot backups for each other To ensure that Auto RP functions configure routers as candidate RPs so that they can announce their interest in operating as an RP for certain group ranges Additionally a router must be designated as an RP mapping agent that receives the RP announcement messages from the candidate RPs and arbitrates conflicts The RP mapping agent sends the con...

Страница 28: ...ives a datagram on an interface it uses to send unicast packets to the source the packet has arrived on the RPF interface If the packet arrives on the RPF interface a router forwards the packet out the interfaces present in the outgoing interface list of a multicast routing table entry If the packet does not arrive on the RPF interface the packet is silently discarded to prevent loops PIM uses bot...

Страница 29: ...ting changes can be updated Non Supported Features The following features are unsupported on NG NSR IGMP and MLD Snooping BNG Failure Scenarios in NSR If a switchover occurs before all multicast processes issue an NSR_READY signal the proceedings revert back to the existing NSF behavior Also on receiving the GO_ACTIVE signal from the multicast processes the following events occur in processes that...

Страница 30: ...ated provider network Multi instance BGP is supported on multicast and MVPN Multicast related SAFIs can be configured on multiple BGP instances Multicast VPN Routing and Forwarding Dedicated multicast routing and forwarding tables are created for each VPN to separate traffic in one VPN from traffic in another The VPN specific multicast routing and forwarding database is referred to as MVRF On a PE...

Страница 31: ...upport feature enables service providers to provide multicast connectivity to 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 Single Provider Inter AS A service provider whose interna...

Страница 32: ...is provides better control over routing exchanges and security between the two networks However Option A is considered the least scalable of all the inter AS connectivity options Note BGP Requirements PE routers are the only routers that need to be MVPN aware and able to signal remote PEs with information regarding the MVPN It is fundamental that all PE routers have a BGP relationship with each ot...

Страница 33: ...cross VRFs Information About Extranets An extranet can be viewed as part of an enterprise intranet that is extended to users outside the enterprise A VPN is used as a way to do business with other enterprises and with customers such as selling products and maintaining strong business partnerships An extranet is a VPN that connects to one or more corporate sites to external business partners or sup...

Страница 34: ...tranet MVPN Routing Topology In unicast routing of peer to peer VPNs BGP routing protocol is used to advertise VPN IPv4 and IPv6 customer routes between provider edge PE routers However in an MVPN extranet peer to peer network PIM RPF is used to determine whether the RPF next hop is in the same or a different VRF and whether that source VRF is local or remote to the PE Source MVRF on a Receiver PE...

Страница 35: ...te the following procedure For each extranet site you would configure an additional MVRF on the source PE router which has the same default MDT group as the receiver MVRF if the MVRF is not already configured on the source PE In the receiver MVRF configuration you would configure the same unicast routing policy on the source and receiver PE routers to import routes from the source MVRF to the rece...

Страница 36: ... BIDIR uses GRE or MLDP MS PMSI Partitioned MDT to support BIDIR in MVPN This functionality allows each RP PE to announce a BGP AD route with a unique core group that is used by the RP PE for its partitioned MDT traffic The core group is also configured and each PE that has the RP mapping for the RP joins this group All BIDIR sources are sending traffic to a group G along with encapsulated source ...

Страница 37: ...ted on Cisco CRS Router Note Realizing the Hub and Spoke Topology Hub and Spoke implementation leverages the infrastructure built for MVPN Extranet The regular MVPN follows the model in which packets can flow from any site to the other sites But Hub and Spoke MVPN will restrict traffic flows based on their subscription A site can be considered to be a geographic location with a group of CE routers...

Страница 38: ...MP BGP can publish matching import route targets while passing prefix nexthop information to RIB Route policies can use extended community route targets instead of IP address ranges Support for extranet v4 data mdt was included so that data mdt in hub and spoke can be implemented Label Switched Multicast LSM Multicast Label Distribution Protocol mLDP based Multicast VPN mVPN Support Label Switch M...

Страница 39: ... and Multipoint to Multipoint MP2MP type LSPs A P2MP LSP allows traffic from a single root ingress node to be delivered to a number of leaves egress nodes where each P2MP tree is uniquely identified with a 2 tuple root node address P2MP LSP identifier 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 tran...

Страница 40: ...pending on the requirement and nature of application such as P2MP LSPs for global table transit Multicast using in band signaling P2MP MP2MP LSPs for MVPN based on MI PMSI or Multidirectional Inclusive Provider Multicast Service Instance Rosen Draft P2MP MP2MP LSPs for MVPN based on MS PMSI or Multidirectional Selective Provider Multicast Service Instance Partitioned E LAN The Cisco CRS Router per...

Страница 41: ...covery 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 Profile 4 MS PMSI mLDP MP2MP with BGP AD These are the characteristics of this profile MP2MP mLDP trees are used in the core The multicast traffic can be SM or SSM Extranet Hub and Spoke CsC Customer RP discovery Embedded RP AutoRP and BSR are supported Inter A...

Страница 42: ...ic Destination list in the core no C multicast Routing Static config of S G required on Head end PE Only C SSM support on PEs Support for global table S Gs on PEs Profile 9 Rosen mLDP with BGP AD These are the characteristics of this profile Single MP2MP mLDP core tree as the Default MDT with PIM C multicast Routing All UMH options supported Default and Data MDT supported Customer traffic can be S...

Страница 43: ...outing These are the characteristics of this profile Full mesh of P2MP mLDP core tree as the Default MDT with BGP C multicast Routing All UMH options supported Default and Data MDT supported Customer traffic can be SM SSM or Bidir separate partitioned mdt RPL Tail end Extranet supported Inter AS Option A B and C supported All PEs must have a unique BGP Route Distinguisher RD value To configure BGP...

Страница 44: ...r the Cisco CRS Router Profile 15 MP2MP mLDP MP2MP with BGP C multicast Routing These are the characteristics of this profile Full mesh of MP2MP mLDP core tree as the Default MDT with BGP C multicast Routing All UMH options supported Default and Data MDT supported Customer traffic can be SM SSM or Bidir separate partitioned mdt RPL Tail end Extranet supported Customer RP discovery Embedded RP Auto...

Страница 45: ...affic can be SM SSM or Bidir separate partitioned mdt RPL Extranet Hub Spoke supported Customer RP discovery Embedded RP AutoRP BSR is supported Inter AS Option A B and C supported Profile 18 Rosen Static P2MP TE with BGP AD PIM C multicast Routing These are the characteristics of this profile Full mesh of Static P2MP TE core trees as the Default MDT with PIM C multicast Routing All UMH options su...

Страница 46: ...file 24 Partitioned P2MP TE with BGP AD PIM C multicast Routing These are the characteristics of this profile 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 or Bidir RPL Extranet Hub Spoke supported Customer RP discovery Embedded RP AutoRP BSR is supported Inter AS Option A and C supported...

Страница 47: ...uired Rules for mLDP profiles profiles 2 4 5 14 15 MVPN must be enabled under bgp if only profile 2 is configured Support only for static RP for customer RP Rules for inband mLDP profiles profiles 6 7 MVPN must be enabled under bgp for vrf inband profiles Data MDT is not supported Backbone facing interface BFI must be enabled on tail PE Source route of SSM must be advertise to tail PE by iBGP MLDP...

Страница 48: ... default MDT N A Type 2 Root Address VPN ID 0 n Rosen MLDP 1 N A N A Cisco proprietary Source PE RD 0 MS PMSI Partition MLDP MP2MP 2 PIM or BGP AD knob controlled Intra AS MI PMSI S PMSI for Data MDT N A Rosen GRE with BGP AD 3 BGP AD I PMSI with empty PTA MS PMSI for partition mdt S PMSI for data mdt S PMSI cust RP discovery trees Type 1 Source PE Global ID MS PMSI Partition MLDP MP2MP with BGP A...

Страница 49: ...ed MVPN Profiles on page 38 Note Enabling MPLS MLDP configure mpls ldp mldp Configuring a VRF entry configure vrf vrf_name address family ipv4 ipv6 unicast import route target route target ext community export route target route target ext community Configuring VPN ID configure vrf vrf_name vpn id vpn_id The configuring VPN ID procedure is needed for profiles 1 and 9 Rosen MLDP Configuring MVPN Ro...

Страница 50: ... ipv4 mdt data 1 255 Configuring BGP MDT address family configure router bgp AS Number address family ipv4 mdt Configuring BGP vpnv4 address family configure router bgp AS Number address family vpnv4 unicast 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 router pim Cisco IOS XR Multi...

Страница 51: ...n IOS XR operating system When each of these features are enabled they are enabled for all of the mLDP Labeled Switched Paths LSPs irrespective of whether they are applicable for the particular LSP or not For example MoFRR is used for IPTV over mLDP in band signaled P2MP LSPs but not for the generic MVPN using a MP2MP LSPs Using the route policy map you can configure mLDP to to selectively enable ...

Страница 52: ...T Rosen model VPN ID type Global ID type Static ID type Recursive FEC type VPN Recursive FEC type mLDP Label Mapping Filtering Label mapping filtering is supported either in inbound or outbound directions based on the user preference All default policies applicable in the neighborhood are supported by Label Mapping Filtering mLDP Feature Filtering The RPL policy allows selective features to be ena...

Страница 53: ... the Route policy configuration mode where you can define the route policy route policy mldp_policy Example RP 0 RP0 CPU0 router config route policy mldp_policy Step 2 Configures the mLDP global id to the specific global id if mldp opaque global id 32 bit decimal number then pass endif Example RP 0 RP0 CPU0 router config rpl if mldp opaque global id then pass endif Step 3 end policy Step 4 Example...

Страница 54: ...route policy mldp_policy Step 2 Configures the mLDP ipv4 address variable to the specified range of IPv4 IP address if mldp opaque ipv4 ipv4 address ipv4 address range then pass endif Example RP 0 RP0 CPU0 router config rpl if mldp opaque ipv4 then pass endif Step 3 end policy Step 4 Example RP 0 RP0 CPU0 router config rpl end policy commit Step 5 An example output is as shown Sun Jun 22 20 03 34 ...

Страница 55: ...config route policy mldp_policy Step 2 Configures the mLDP ipv6 variable to the specified range of IPv6 IP address if mldp opaque ipv6 ipv6 address ipv6 address range then pass endif Example RP 0 RP0 CPU0 router config rpl if mldp opaque ipv6 then pass endif Step 3 end policy Step 4 Example RP 0 RP0 CPU0 router config rpl end policy commit Step 5 An example output is as shown Sun Jun 22 20 03 34 3...

Страница 56: ...p_policy Step 2 Configures the mLDP VPNID to the specific MDT number if mldp opaque mdt 1 1 then pass endif Example RP 0 RP0 CPU0 router config rpl if mldp opaque mdt then pass endif Step 3 end policy Step 4 Example RP 0 RP0 CPU0 router config rpl end policy commit Step 5 Example outputs are as shown Sun Jun 22 20 03 34 308 IST Use the show command to verify the configuration show running config r...

Страница 57: ...0 router config route policy mldp_policy Step 2 Configures the mLDP static id to the specific static id if mldp opaque static id 32 bit decimal number then pass endif Example RP 0 RP0 CPU0 router config rpl if mldp opaque static id then pass endif Step 3 end policy Step 4 Example RP 0 RP0 CPU0 router config rpl end policy commit Step 5 An example output is as shown below Wed Jun 18 11 41 09 333 IS...

Страница 58: ... RP 0 RP0 CPU0 router config route policy mldp_policy Step 2 Configures the mLDP recursive variable if mldp opaque recursive then pass endif Example RP 0 RP0 CPU0 router config rpl if mldp opaque recursive then pass endif Step 3 end policy Step 4 Example RP 0 RP0 CPU0 router config rpl end policy commit Step 5 An example output is as shown Mon Jun 23 11 46 15 559 IST Use the show command to verify...

Страница 59: ...U0 router config route policy mldp_policy Step 2 Configures the mLDP recursive to the specified variable if mldp opaque recursive rd 2 2 then pass endif Example RP 0 RP0 CPU0 router config rpl if mldp opaque recursive rd then pass endif Step 3 end policy Step 4 Example RP 0 RP0 CPU0 router config rpl end policy commit Step 5 An example output is as shown Mon Jun 23 12 15 37 512 IST Use the show co...

Страница 60: ... to the specified variable if mldp opaque vpnv4 2 2 then pass endif Example RP 0 RP0 CPU0 router config rpl if mldp opaque vpnv4 then pass endif Step 3 Configures the mLDP vpnv4 variable to the specified range of variable addresses if mldp opaque vpnv4 2 2 10 1 1 1 232 1 1 1 then pass endif Example RP 0 RP0 CPU0 router config rpl if mldp opaque vpnv4 then pass endif Step 4 end policy Step 5 Exampl...

Страница 61: ...ter configure Step 1 Enters the Route policy configuration mode where you can define the route policy route policy mldp_policy Example RP 0 RP0 CPU0 router config route policy mldp_policy Step 2 Configures the mLDP vpnv6 variable to the specified variable if mldp opaque vpnv6 2 2 then pass endif Example RP 0 RP0 CPU0 router config rpl if mldp opaque vpnv4 then pass endif Step 3 Configures the mLDP...

Страница 62: ... apply the configuration features Currently mLDP FEC is configured to filter at the IPV4 root node address along with the mLDP opaque types Configuring the mLDP FEC at the Root Node Using the Route Policy SUMMARY STEPS 1 configure 2 route policy mldp_policy 3 if mldp root 4 end policy 5 commit 6 Use the show command to verify the configuration show running config route policy mldp_policy DETAILED ...

Страница 63: ... root 10 0 0 1 then pass endif end policy Show configuration output for the mLDP root IPv4 address and mLDP opaque IPv4 address range Example of an MLDP Route Policy which shows the filtering option of a Root Node IPv4 address and mLDP Opaque IPv4 address route policy mldp_policy if mldp root 10 0 0 1 and mldp opaque ipv4 192 168 3 1 232 2 2 2 then pass endif end policy Configuring the mLDP User I...

Страница 64: ...r config ldp mldp address family ipv4 Step 3 Configures the specified neighborhood IPv4 IP address to the MLDP policy as either inbound or outbound route policy neighbor ipv4 ip address route policy mldp_policy in out Example RP 0 RP0 CPU0 router config ldp mldp neighbor ipv4 ip address route policy mldp_policy in out Step 4 end policy Step 5 Example RP 0 RP0 CPU0 router config ldp mldp end policy...

Страница 65: ...tion Enters global configuration mode configure Example RP 0 RP0 CPU0 router configure Step 1 Enters the LDP configuration mode mpls ldp mldp Example RP 0 RP0 CPU0 router config mpls ldp mldp Step 2 Configures the specified feature to the MLDP policy to be allowed to be selected for filtering mofrr route policy mldp_policy Example RP 0 RP0 CPU0 router config ldp mldp mofrr route policy mldp_policy...

Страница 66: ...MP Uptime 03 25 15 FEC Root 10 0 0 1 Opaque decoded ipv4 0 0 0 0 224 1 1 1 Features MoFRR Upstream neighbor s 10 0 0 1 0 Active Uptime 03 25 15 Next Hop 10 0 3 3 Interface GigabitEthernet0 2 1 1 Local Label D 16028 Downstream client s LDP 10 0 0 2 0 Uptime 03 25 15 Next Hop 10 0 4 2 Interface GigabitEthernet0 2 1 2 Remote label D 16029 Configuring the mLDP User Interface for Feature Filtering Make...

Страница 67: ...fig ldp mldp af end commit Step 6 An example output is as shown Wed Jun 25 13 05 31 303 IST Use the show command to verify the configuration show running config mpls ldp mldp Step 7 mpls ldp mldp address family ipv4 make before break delay 0 make before break route policy mldp_policy mofrr route policy mldp_policy neighbor route policy mldp_policy out neighbor 1 1 1 1 route policy mldp_policy in n...

Страница 68: ...ETAILED STEPS Purpose Command or Action Enters global configuration mode configure Example RP 0 RP0 CPU0 router configure Step 1 Enters the LDP configuration mode mpls ldp mldp Example RP 0 RP0 CPU0 router config mpls ldp mldp Step 2 Enters the LDP address family configuration mode address family ipv4 Example RP 0 RP0 CPU0 router config ldp mldp address family ipv4 Step 3 Configures the specified ...

Страница 69: ...ipv4 mLDP database LSM ID 0x00019 Type P2MP Uptime 03 25 15 FEC Root 10 0 0 1 Opaque decoded ipv4 0 0 0 0 224 1 1 1 Features MoFRR MBB RFEC Upstream neighbor s 10 0 0 1 0 Active Uptime 03 25 15 Next Hop 10 0 3 3 Interface GigabitEthernet0 2 1 1 Local Label D 16028 Downstream client s LDP 10 0 0 2 0 Uptime 03 25 15 Next Hop 10 0 4 2 Interface GigabitEthernet0 2 1 2 Remote label D 16029 Limitations ...

Страница 70: ...rs of the layer 3 VPN service NG MVPN supports VRF Route Import and Source AS Extended Communities Upstream Multicast Hop UMH and Duplicate Avoidance Leaf AD Type 4 and Source Active Type 5 BGP AD messages Default MDT with mLDP P2MP trees and with Static P2MP TE tunnels BGP C multicast Routing RIB based Extranet with BGP AD Accepting G S PMSI announcements Egress PE functionality for Ingress Repli...

Страница 71: ...nd Partitioned MDT models are supported Data MDT is supported with its various options threshold zero immediate switch starg s pmsi and so on The configuration is as shown below for Ingress or Egress PEs multicast routing address family ipv4 ipv6 mdt source Loopback0 mdt default MLDP P2MP TE ingress replication mdt partitioned MLDP P2MP TE ingress replication bgp auto discovery mldp p2mp te ingres...

Страница 72: ...r learning the source must have the import rt configured multicast routing vrf one address family ipv4 export rt 51 52 53 54 0 interface all enable bgp auto discovery ingress replication inter as anycast rp mdt partitioned ingress replication multicast routing vrf one address family ipv4 import rt 51 52 53 54 0 interface all enable bgp auto discovery ingress replication inter as anycast rp mdt par...

Страница 73: ...s a copy to all or a subset of the PEs that belong to the MVPN A copy of the packet is tunneled to a remote PE over a Unicast Tunnel to the remote PE IR MDT represents a tunnel that uses IR as the forwarding method It is usually one IR MDT per VRF with multiple labeled switch paths LSP under the tunnel When PIM learns of Joins over the MDT using either PIM or BGP C multicast Routing it downloads I...

Страница 74: ...elationship occurs over a TCP connection which is maintained by the underlying routing system MSDP speakers exchange messages called Source Active SA messages When an RP learns about a local active source typically through a PIM register message the MSDP process encapsulates the register in an SA message and forwards the information to its peers The message contains the source and group informatio...

Страница 75: ... for the problematic router This behavior prevents the NSF capable router from being transferred to neighbors that will otherwise detect the failure through the timed out adjacency Routes in MFIB are marked as stale after entering NSF and traffic continues to be forwarded based on those routes until NSF completion On completion MRIB notifies MFIB and MFIB performs a mark and sweep to synchronize M...

Страница 76: ...s family configuration submode for IPv6 type the address family ipv6 keyword together with the router pim command before pressing Enter IGMP Configuration Submode When you issue the router igmp command the CLI prompt changes to config igmp indicating that you have entered IGMP configuration submode MLD Configuration Submode When you issue the router mld command the CLI prompt changes to config mld...

Страница 77: ...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 togeth...

Страница 78: ...e enter interface configuration submode as illustrated in the following example RP 0 RP0 CPU0 router config mcast interface GigabitEthernet0pos 0 1 0 0 RP 0 RP0 CPU0 router config mcast default ipv4 if disable Multicast Routing Information Base The Multicast Routing Information Base MRIB is a protocol independent multicast routing table that describes a logical network in which one or more multica...

Страница 79: ...ning configuration Once you configure the MSDP MD5 authentication you can restore the configuration using this command Note MSDP MD5 password authentication uses an industry standard MD5 algorithm for improved reliability and security How to Implement Multicast Routing This section contains instructions for both building a basic multicast configuration as well as optional tasks to help you to opti...

Страница 80: ... for IPv6 hosts Use router igmp for IPv4 hosts or use router mld for IPv6 Example RP 0 RP0 CPU0 router config router igmp Step 5 RP 0 RP0 CPU0 router config router mld Optional Selects the IGMP or MLD version that the router interface uses version 1 2 3 for IPv4 IGMP hosts or version 1 2 for IPv6 MLD hosts Step 6 Example RP 0 RP0 CPU0 router config igmp version 3 RP 0 RP0 CPU0 router config mld ve...

Страница 81: ...e PIM BIDIR Perform these steps to configure native PIM BIDIR SUMMARY STEPS 1 configure 2 ipv4 access list name 3 sequence number permit source source wildcard 4 interface type interface path id 5 ipv4 ipv6 address address mask 6 router ospf 100 7 nsf cisco 8 area area_id 9 interface type interface path id 10 multicast routing address family ipv4 ipv6 11 nsf 12 rate per route 13 interface all enab...

Страница 82: ... 2 Step 4 Defines the IPv4 address for the interface ipv4 ipv6 address address mask Example RP 0 RP0 CPU0 router config if ipv4 address Step 5 10 0 1 3 255 255 255 0 RP 0 RP0 CPU0 router config if ipv6 address 102 2 2 102 128 Configures the OSPF routing process router ospf 100 Example RP 0 RP0 CPU0 router config router ospf 100 Step 6 Enables Cisco Non Stop Forwarding nsf cisco Example RP 0 RP0 CP...

Страница 83: ...router config mcast default ipv4 Step 12 rate per route Enables IP multicast for interfaces interface all enable Example RP 0 RP0 CPU0 router config mcast default ipv4 Step 13 interface all enable Enters PIM configuration mode or PIM address family configuration submode router pim address family ipv4 ipv6 Example RP 0 RP0 CPU0 router config router pim Step 14 address family ipv4 Configures the Ren...

Страница 84: ...Configuring MVPN GRE BIDIR Perform these steps to configure MVPN GRE BIDIR Cisco IOS XR Multicast Configuration Guide for the Cisco CRS Router Release 5 2 x 74 Implementing Multicast Routing on Cisco IOS XR Software Configuring MVPN GRE BIDIR ...

Страница 85: ... address 22 remote as 2 byte AS number 23 update source interface type interface path id 24 address family ipv4 ipv6 unicast 25 route policy name in 26 route policy name out 27 address family ipv4 ipv6 multicast 28 address family vpnv4 vpnv6 unicast 29 route policy name in 30 route policy name out 31 address family ipv4 ipv6 mdt 32 address family ipv4 ipv6 mvpn 33 vrf name 34 rd x y format 35 addr...

Страница 86: ...h id Example RP 0 RP0 CPU0 router config interface loopback 1 Step 2 Enters interface configuration mode to define the IPv4 address for the interface description line Example RP 0 RP0 CPU0 router config if description Step 3 loopback interface on PE1 Sets VRF in which the interface operates vrf vrf_name Example RP 0 RP0 CPU0 router config if vrf vrf1 Step 4 Defines the IPv4 address for the interfa...

Страница 87: ...fine the IPv4 address for the interface interface type interface path id Example RP 0 RP0 CPU0 router config interface loopback 1 Step 10 Similarly configure multiple interfaces for a multicast configuration Note Configures the BGP routing process router bgp 100 Example RP 0 RP0 CPU0 router config router bgp 100 Step 11 Configures the router id for the BGP protocol bgp router id ip_address Example...

Страница 88: ...through connected routes redistribute connected Example RP 0 RP0 CPU0 router config bgp af redistribute Step 17 connected Configures vpnv4 address family for unicast and enters the address family command mode address family vpnv4 vpnv6 unicast Example RP 0 RP0 CPU0 router config bgp address family Step 18 vpnv4 unicast Configures ipv4 address family for mdt and enters the address family command mo...

Страница 89: ...r config bgp nbr address family Step 24 ipv4 unicast Applies the route policy named pass all to inbound routes route policy name in Example RP 0 RP0 CPU0 router config bgp nbr af Step 25 route policy pass all in Applies the route policy named pass all to outbound routes route policy name out Example RP 0 RP0 CPU0 router config bgp nbr af Step 26 route policy pass all out Configures ipv4 address fa...

Страница 90: ...ss all out Configures ipv4 address family for mdt and enters the address family command mode address family ipv4 ipv6 mdt Example RP 0 RP0 CPU0 router config bgp address family Step 31 ipv4 mdt Configures ipv4 address family for mvpn and enters the address family command mode address family ipv4 ipv6 mvpn Example RP 0 RP0 CPU0 router config bgp address family Step 32 ipv4 mvpn RP 0 RP0 CPU0 router...

Страница 91: ...ss family ipv6 mvpn Enters multicast routing configuration mode multicast routing address family ipv4 ipv6 Example RP 0 RP0 CPU0 router config multicast routing Step 38 address family ipv4 RP 0 RP0 CPU0 router config multicast routing address family ipv6 Enables IP multicast for Loopback interface interface type interface path id enable Example RP 0 RP0 CPU0 router config mcast default ipv4 Step 3...

Страница 92: ...ution tree mdt default ipv4 ipv6 ipaddress partitioned bidir ipaddress Step 46 The partitioned BIDIR IP address must be a unique mdt group address on the box Also it has to be unique per address family per VRF per PE Note Example RP 0 RP0 CPU0 router config bgp mdt default ipv4 229 1 1 1 partitioned bidir 239 1 3 1 Enables IP multicast for interfaces interface all enable Example RP 0 RP0 CPU0 rout...

Страница 93: ...amily command mode address family ipv4 ipv6 Example RP 0 RP0 CPU0 router config pim default ipv4 Step 51 address family ipv4 Configures the Rendezvous point and assigns an RP to multicast groups rp address ip address group access list bidir Example RP 0 RP0 CPU0 router config pim default ipv4 Step 52 rp address 101 101 101 101 group_1 bidir commit Step 53 Configuring MVPN MLDP BIDIR Perform these ...

Страница 94: ...face path id 20 enable 21 interface type interface path id 22 enable 23 bgp auto discovery mldp 24 mdt source interface path id 25 mdt mtu value 26 mdt partitioned mldp ipv4 ipv6 mp2mp bidir 27 interface all enable 28 interface type interface path id 29 enable 30 bgp auto discovery mldp 31 mdt partitioned mldp ipv4 ipv6 mp2mp bidir 32 interface all enable 33 interface type interface path id 34 des...

Страница 95: ...s VRF in which the interface operates vrf vrf_name Example RP 0 RP0 CPU0 router config if vrf A1_MSPMSI Step 4 Defines the IPv4 address for the interface ipv4 ipv6 address address mask Example RP 0 RP0 CPU0 router config if ipv4 address 10 1 7 4 Step 5 255 255 255 0 RP 0 RP0 CPU0 router config if ipv6 address 10 1 7 4 112 Configures the 802 1Q VLAN dot1q vlan value Example RP 0 RP0 CPU0 router con...

Страница 96: ...ting Step 12 address family ipv4 RP 0 RP0 CPU0 router config multicast routing address family ipv6 Enables IP multicast for Loopback interface interface type interface path id enable Example RP 0 RP0 CPU0 router config mcast default ipv4 Step 13 interface Loopback 1 enable Configures global multicast Cisco Non Stop Forwarding nsf Example RP 0 RP0 CPU0 router config mcast default ipv4 nsf Step 14 S...

Страница 97: ... the interface interface type interface path id Example RP 0 RP0 CPU0 router config interface loopback 7 Step 19 Enables the interface enable Example RP 0 RP0 CPU0 router config enable Step 20 Enters interface configuration mode to define the IPv4 address for the interface interface type interface path id Example RP 0 RP0 CPU0 router config interface Step 21 GigabitEthernet0 3 0 1 7 Enables the in...

Страница 98: ...t for interfaces interface all enable Example RP 0 RP0 CPU0 router config mcast default ipv4 Step 27 interface all enable Enters interface configuration mode to define the IPv4 address for the interface interface type interface path id Example RP 0 RP0 CPU0 router config interface Step 28 GigabitEthernet0 3 0 1 7 Enables the interface enable Example RP 0 RP0 CPU0 router config enable Step 29 Enabl...

Страница 99: ...ne Example RP 0 RP0 CPU0 router config if description loopback Step 34 interface for MLDP vrf on PE1 Sets VRF in which the interface operates vrf vrf_name Example RP 0 RP0 CPU0 router config if vrf A1_MSPMSI Step 35 Optional Defines the IPv4 address for the interface ipv4 ipv6 address address mask Example RP 0 RP0 CPU0 router config if ipv4 address Step 36 107 107 107 107 255 255 255 255 RP 0 RP0 ...

Страница 100: ... RP to multicast groups rp address ip address group access list bidir Example RP 0 RP0 CPU0 router config pim default ipv4 Step 42 rp address 107 107 107 107 group_2_v6 bidir commit Step 43 Configuring a Static RP and Allowing Backward Compatibility When PIM is configured in sparse mode you must choose one or more routers to operate as a rendezvous point RP for a multicast group An RP is a single ...

Страница 101: ...ccess list using the ipv4 access list command rp address 172 16 6 22 rp access Optional Allows backward compatibility on the RP that uses old register checksum methodology old register checksum Example RP 0 RP0 CPU0 router config pim ipv4 Step 4 old register checksum Exits PIM configuration mode and returns the router to the source configuration mode exit Example RP 0 RP0 CPU0 router config pim ip...

Страница 102: ...ndidate rp type instance scope ttl value group list access list name interval seconds bidir 4 auto rp mapping agent type number scope ttl value interval seconds 5 exit 6 ipv4 access list name 7 sequence number permit source source wildcard 8 commit DETAILED STEPS Purpose Command or Action configure Step 1 Enters PIM configuration mode or PIM address family configuration submode router pim address ...

Страница 103: ... rp mapping agent GigabitEthernet0 1 0 1 scope 20 A PIM DR listens to this well known group to determine which RP to use This example limits Auto RP discovery messages to 20 hops Exits PIM configuration mode and returns the router to the source configuration mode exit Example RP 0 RP0 CPU0 router config pim ipv4 Step 5 exit Optional Defines the RP access list ipv4 access list name Example RP 0 RP0...

Страница 104: ...e source wildcard sequence number permit source prefix dest prefix 11 commit 12 clear pim vrf vrf name ipv4 ipv6 bsr 13 show pim vrf vrf name ipv4 ipv6 bsr candidate rp 14 show pim vrf vrf name ipv4 ipv6 bsr election 15 show pim vrf vrf name ipv4 ipv6 bsr rp cache 16 show pim vrf vrf name ipv4 ipv6 group map ip address name info source DETAILED STEPS Purpose Command or Action configure Step 1 Ente...

Страница 105: ...ssages on a Protocol Independent Multicast PIM router interface bsr border Example RP 0 RP0 CPU0 router config pim ipv4 if bsr border Step 6 Optional Exits PIM interface configuration mode and returns the router to PIM configuration mode exit Example RP 0 RP0 CPU0 router config pim ipv4 if exit Step 7 Exits PIM configuration mode exit Example RP 0 RP0 CPU0 router config pim default ipv4 Step 8 exi...

Страница 106: ...ation for the BSR show pim vrf vrf name ipv4 ipv6 bsr candidate rp Example RP 0 RP0 CPU0 router show pim bsr candidate rp Step 13 Optional Displays PIM candidate election information for the BSR show pim vrf vrf name ipv4 ipv6 bsr election Example RP 0 RP0 CPU0 router show pim bsr election Step 14 Optional Displays PIM RP cache information for the BSR show pim vrf vrf name ipv4 ipv6 bsr rp cache E...

Страница 107: ...GMP version 3 is enabled by default for IPv6 MLD version 1 is enabled by default address family ipv4 Enables a per S G rate calculation for a particular route rate per route Example RP 0 RP0 CPU0 router config mcast default ipv4 Step 3 rate per route Enables multicast routing on all interfaces interface type interface path id all enable Example RP 0 RP0 CPU0 router config mcast default ipv4 Step 4...

Страница 108: ...lticast packet forwarding for the purpose of alleviating network failures or software upgrades and downgrades Although we strongly recommend that you use the NSF lifetime default values the optional Step 3 on page 99 through Step 6 on page 100 allow you to modify the NSF timeout values for Protocol Independent Multicast PIM and Internet Group Management Protocol IGMP or Multicast Listener Discover...

Страница 109: ...econds Example RP 0 RP0 CPU0 router config pim default ipv4 Step 3 If you configure the PIM hello interval to a nondefault value configure the PIM NSF lifetime to a value less than the hello hold time Typically the value of the hold time field is 3 5 times the interval time value or 120 seconds if the PIM hello interval time is 30 seconds Note nsf lifetime 30 Optional Exits PIM configuration mode ...

Страница 110: ...the state of NSF operation for PIM show pim ipv4 ipv6 nsf Example RP 0 RP0 CPU0 router show pim nsf Step 11 Configuring Multicast VPN Enabling a VPN for Multicast Routing on page 101 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 CRS Router C...

Страница 111: ...t include a VPN IPv4 address family AFI in your BGP configuration See Restrictions for Multicast VPN for Multicast Routing on page 101 See also the Enabling BGP Routing 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 ...

Страница 112: ... ipv4 4 nsf 5 mdt source type interface path id 6 interface all enable 7 vrf vrf name 8 address family ipv4 9 mdt default mdt group address 10 mdt data mdt group address prefix length threshold threshold acl name 11 mdt mtu size 12 interface all enable 13 commit DETAILED STEPS Purpose Command or Action configure Step 1 Enters multicast routing configuration mode multicast routing Example RP 0 RP0 ...

Страница 113: ...group address Example RP 0 RP0 CPU0 router config mcast vrf_A ipv4 Step 9 mdt default 239 23 2 1 IPv4 MVPN configuration only Specifies the multicast group address range to be used for data MDT traffic mdt data mdt group address prefix length threshold threshold acl name Step 10 Example RP 0 RP0 CPU0 router config mcast vrf_A ipv4 This group range should not overlap the MDT default group Note This...

Страница 114: ... override 4 commit DETAILED STEPS Purpose Command or Action configure Step 1 Enters PIM address family configuration submode and configures the PIM VRF for either an IPv4 or IPv6 address family router pim vrf vrf name address family ipv4 ipv6 Example RP 0 RP0 CPU0 router config router pim vrf Step 2 vrf_A address family ipv4 Configures the PIM rendezvous point RP address rp address ip address grou...

Страница 115: ...tes all unicast traffic through a BGP peering loopback configured on a default VRF Instead you may configure a loopback that allows you to specify the MDT source using a specific VRF as opposed to the default VRF This overrides the current behavior and updates BGP as part of a MDT group BGP then modifies the source and connector attributes in the MDT SAFI and VPN IPv4 updates For VRFs on which the...

Страница 116: ...icast routing and forwarding multicast routing Example RP 0 RP0 CPU0 router config multicast routing Step 2 RP 0 RP0 CPU0 router config mcast Enters ipv4 or ipv6 address family submode address family ipv4 ipv6 Example RP 0 RP0 CPU0 router config mcast address family ipv4 Step 3 Configures the interface used to set the MDT source address for MVPN using the default VRF mdt source loopback 0 Example ...

Страница 117: ...g mcast 101 ipv4 mdt source Step 8 loopback 1 Repeat the steps 6 to 8 as many times as needed to create other VRFs Step 9 Example RP 0 RP0 CPU0 router config mcast vrf 102 mdt source loopback 2 commit Step 10 To verify the MDT source per VRF configuration use the show pim vrf all mdt interface command show pim vrf all mdt interface Example RP 0 RP0 CPU0 router show pim vrf all mdt interface Step 1...

Страница 118: ...PEs that are not part of the stream You can configure 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 180 Before configuring MLDP based MVPN ensure that the MPLS is enabled on the core facing interface For information in MPLS configuration see...

Страница 119: ... vrf vrf name 16 rd route distinguisher 17 address family ipv4 mdt 18 address family vpnv4 unicast 19 root 20 router pim 21 vrf vrf_name 22 address family ipv4 ipv6 23 rpf topology route policy route_policy_name 24 root 25 route policy route_policy_name 26 set core tree tree_type 27 commit DETAILED STEPS Purpose Command or Action configure Step 1 Enables MPLS MLDP support mpls ldp mldp Example RP ...

Страница 120: ...ss nn Example RP 0 RP0 CPU0 router config vrf af import Step 7 4 byte AS number of the route target in xx yy nn format Range is 0 65535 0 65535 0 65535 AS number of the route target in nn format Range is 0 65535 route target import 1 1 IP address of the route target in A B C D format Exports the selected route target optionally expressed as one of the following export route target xx yy nn as numb...

Страница 121: ...d be reachable by all the routers in the network The router from where the signalling occurs functions as the root node mdt default mldp ipv4 2 2 2 2 The default MDT must be configured on each PE router to enable the PE routers to receive multicast traffic for this particular MVRF By default MPLS MLDP is enabled To disable use the no mpls ldp mldp command Note LSPVIF tunnel is created as a result ...

Страница 122: ... 1 Configures the BGP MDT address family address family ipv4 mdt Example RP 0 RP0 CPU0 router config bgp vrf Step 17 address family ipv4 mdt Configures the BGP vpnv4 address family address family vpnv4 unicast Example RP 0 RP0 CPU0 router config bgp af Step 18 address family vpnv4 unicast Takes the user to the global configuration mode root Example RP 0 RP0 CPU0 router config bgp af root Step 19 E...

Страница 123: ...cy route_policy_name Example RP 0 RP0 CPU0 router config route policy Step 25 FOO Specifies the MDT type for the route policy set core tree tree_type Example RP 0 RP0 CPU0 router config rpl set Step 26 core tree mldp rosen commit Step 27 Verification of LSM mLDP based MVPN Configuration Use these commands to verify the LSM mLDP based MVPN intranet configuration To check the MLDP neighbors use the ...

Страница 124: ...s GR Typed Wildcard FEC P2MP MP2MP MBB Target Adj No Upstream count 334 Branch count 328 LDP GR Enabled Instance 1 Label map timer never Policy filter in None Path count 1 Path s 11 113 1 2 GigabitEthernet0 2 0 3 LDP Adj list 11 113 1 2 GigabitEthernet0 2 0 3 Peer addr list 8 39 15 2 3 0 0 1 189 189 189 189 13 13 13 18 11 113 1 2 22 113 1 2 111 113 1 6 112 113 1 6 To check the PIM neighbors use th...

Страница 125: ...gnal DP Don t Preserve SP Signal Present II Internal Interest ID Internal Disinterest LI Local Interest LD Local Disinterest DI Decapsulation Interface 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 224 0 1 40 Flags S Up 15 57 19 Outgoing Interface List Serial0 5 0 0 1 Flags II LI Up 15 57 ...

Страница 126: ...mation see Cisco IOS XR Routing Configuration Guide for the Cisco CRS Router Placing an Interface in a Topology in IS IS required For information see Cisco IOS XR Routing Configuration Guide for the Cisco CRS Router Configuring a Routing Policy required For information see Cisco IOS XR Routing Configuration Guide for the Cisco CRS Router For an example of multitopology routing see Configuring Mult...

Страница 127: ...Cisco CRS Router Placing an Interface in a Topology in IS IS required For information see Cisco IOS XR Routing Configuration Guide for the Cisco CRS Router Configuring a Routing Policy required For information see Cisco IOS XR Routing Configuration Guide for the Cisco CRS Router For an example of multitopology routing see Configuring Multitopology Routing Example on page 159 Configuring an RPF Top...

Страница 128: ...multicast address family configuration submode multicast routing address family ipv4 ipv6 Example RP 0 RP0 CPU0 router config multicast routing Step 5 address family ipv44 Enables multicast routing and forwarding on all new and existing interfaces interface all enable Example RP 0 RP0 CPU0 router config mcast default ipv4 4 Step 6 interface all enable commit Step 7 Shows PIM RPF entries for one or...

Страница 129: ...ncapsulation range should be large enough to accommodate extranet streams without any aggregation This prevents extranet traffic flowing to multiple VRFs from being carried into only one data MDT Data MDT configuration is required on only the Source VRF and Source PE Router Restrictions for MVPN Extranet Routing PIM DM is not supported Cisco IOS XR Software software supports only IPv4 extranet mul...

Страница 130: ...ce vrf Example RP 0 RP0 CPU0 router config vrf green Step 2 RP 0 RP0 CPU0 router config vrf Specifies a unicast IPv4 or IPv6 address family and enters address family configuration submode address family ipv4 ipv6 unicast Example RP 0 RP0 CPU0 router config vrf Step 3 Only IPv4 addressing is supported for extranet Note address family ipv4 unicast Imports the selected route target optionally express...

Страница 131: ...g vrf red Step 8 RP 0 RP0 CPU0 router config vrf Repeat Step 3 through Step 6 Step 9 Interconnecting PIM SM Domains with MSDP To set up an MSDP peering relationship with MSDP enabled routers in another domain you configure an MSDP peer to the local router If you do not want to have or cannot have a BGP peer in your domain you could define a default MSDP peer from which to accept all Source Active ...

Страница 132: ...ace Step 2 This step is required if you specify an interface type and number whose primary address becomes the source IP address for the TCP connection Note loopback 0 Optional Defines the IPv4 address for the interface ipv4 address address mask Step 3 Example RP 0 RP0 CPU0 router config if ipv4 address This step is required only if you specify an interface type and number whose primary address be...

Страница 133: ...as a BGP neighbor If you are also BGP peering with this MSDP peer use the same IP address for MSDP and BGP You are not 172 31 1 2 required to run BGP or multiprotocol BGP with the MSDP peer as long as there is a BGP or multiprotocol BGP path between the MSDP peers Optional Configures a source address used for an MSDP connection connect source type interface path id Example RP 0 RP0 CPU0 router con...

Страница 134: ...equesting information When forwarding SA messages you can do the following 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 When receiving SA messages you can do the following Filter all incoming SA messages from an MSDP peer Specify an extended access list to pass certain source group pairs Filter b...

Страница 135: ...ist name rp list access list name Step 3 If you specify both the list and rp list keywords all conditions must be true to pass any source group S G pairs in outgoing Source Active SA messages Example RP 0 RP0 CPU0 router config msdp You must configure the ipv4 access list command in Step 7 on page 126 sa filter out router cisco com list 100 If all match criteria are true a permit from the route ma...

Страница 136: ...CPU0 router config msdp exit Step 6 Defines an IPv4 access list to be used by SA filtering ipv4 access list name sequence number permit source source wildcard Step 7 In this example the access list 100 permits multicast group 239 1 1 1 Example RP 0 RP0 CPU0 router config ipv4 The ipv4 access list command is required if the keyword list is configured for SA filtering in Step 3 on page 125 access li...

Страница 137: ...lays multicast routes configured with multicast QoS and the associated parameters show mfib vrf vrf name ipv4 ipv6 hardware route source address group address prefix length location node id Example RP 0 RP0 CPU0 router show mfib hardware route location Step 6 0 1 cpu0 Configuring VRF for MSDP Use the vrf keyword in the MSDP configuration mode to enable VRF for MSDP SUMMARY STEPS 1 configure 2 rout...

Страница 138: ...up path Data packets are received from the primary and secondary paths The redundant packets are discarded at topology merge points with the help of Reverse Path Forwarding RPF checks When a failure is detected on the primary path the repair occurs locally by changing the interface on which packets are accepted to the secondary interface thus improving the convergence times in the event of a node ...

Страница 139: ...nters the PIM configuration mode router pim Example RP 0 RP0 CPU0 router config router pim Step 2 Enter the ACL name mofrr rib acl name Example RP 0 RP0 CPU0 router pim mofrr rib acl1 Step 3 commit Step 4 Cisco IOS XR Multicast Configuration Guide for the Cisco CRS Router Release 5 2 x 129 Implementing Multicast Routing on Cisco IOS XR Software Configuring MoFRR ...

Страница 140: ... multicast unicast destination prefix interface typeinterface path id Example RP 0 RP0 CPU0 router config static address family ipv4 multicast 202 93 100 4 32 202 95 1 1 Step 3 Exits from the address family configuration mode exit Example RP 0 RP0 CPU0 router config ipv4 afi exit Step 4 Configures the route policy to select the RPF topology route policypolicy name Example RP 0 RP0 CPU0 router conf...

Страница 141: ...multipoint paths A reliable solution to signal Point to Multipoint P2MP label switched paths LSP is the Point to Multipoint TE LSP This solution uses the Resource Reservation Protocol Traffic Engineering RSVP TE extension as the signaling protocol for establishing P2MP TE LSPs Point to Multipoint LSP P2MP P2MP LSP is unidirectional In case of native IP multicast the multicast forwarding always has...

Страница 142: ...nfiguration in case of PIM SSM Enabling Multicast Forwarding Over Tunnel Interface at Ingress Node This configuration is used for allowing the forwarding of the multicast packet over the specified interface SUMMARY STEPS 1 configure 2 multicast routing 3 address family ipv4 ipv6 4 interface tunnel mte range 5 enable disable 6 commit DETAILED STEPS Purpose Command or Action configure Step 1 Enters ...

Страница 143: ...e 2 multicast routing 3 address family ipv4 ipv6 4 static rpf address range prefix 5 mpls address 6 commit DETAILED STEPS Purpose Command or Action configure Step 1 Enters multicast routing configuration mode multicast routing Example RP 0 RP0 CPU0 router config multicast routing Step 2 Enters ipv4 or ipv6 address family submode address family ipv4 ipv6 Example RP 0 RP0 CPU0 router config mcast ad...

Страница 144: ...ast routing 3 address family ipv4 ipv6 4 core tree protocol rsvp te group list name 5 commit DETAILED STEPS Purpose Command or Action configure Step 1 Enters multicast routing configuration mode multicast routing Example RP 0 RP0 CPU0 router config multicast routing Step 2 Enters ipv4 or ipv6 address family submode address family ipv4 ipv6 Example RP 0 RP0 CPU0 router config mcast address family i...

Страница 145: ...change is done with MSDP In Anycast RP all the RPs are configured to be MSDP peers of each other When a source registers with one RP a Source Active SA message is sent to the other RPs informing them that there is an active source for a particular multicast group The result is that each RP knows about the active sources in the area of the other RPs If any of the RPs fails IP routing converges and ...

Страница 146: ...M and the bidir PIM mode groups The bidir PIM groups are configured as 224 8 and 227 8 with the remaining multicast group range 224 4 configured as PIM SM interface loopback 0 ipv4 address 10 0 0 1 24 no shutdown interface loopback 1 ipv4 address 10 2 0 1 24 no shutdown ipv4 access list bidir_acl 10 permit 224 0 0 0 0 255 255 255 any 20 permit 225 0 0 0 0 255 255 255 any multicast routing interfac...

Страница 147: ...Address Group Address HW Forwarding Rates bps In pps In bps Out pps Out 224 0 0 0 24 bps_in pps_in bps_out pps_out N A N A N A N A 224 0 1 39 bps_in pps_in bps_out pps_out N A N A N A N A 224 0 1 40 bps_in pps_in bps_out pps_out N A N A N A N A 232 0 0 0 8 bps_in pps_in bps_out pps_out N A N A N A N A 30 0 70 2 225 0 0 0 bps_in pps_in bps_out pps_out 22649 50 22951 50 30 0 70 2 225 0 0 1 bps_in pp...

Страница 148: ...llowing MSDP commands can be inherited by all MSDP peers when configured under router MSDP configuration mode In addition commands can be configured under the peer configuration mode for specific peers to override the inheritance feature connect source sa filter ttl threshold If a command is configured in both the router msdp and peer configuration modes the peer configuration takes precedence In ...

Страница 149: ...vrf1 config router msdp vrf vrf1 peer 1 1 1 1 exit end Configuring Route Policy for Static RPF Example router static address family ipv4 multicast 202 93 192 74 32 202 40 148 11 route policy pim policy set rpf topology ipv4 multicast topology default end policy router pim address family ipv4 rpf topology route policy pim policy Configuring IPv4 Multicast VPN Example Cisco CRS Routers support only ...

Страница 150: ...import route target 1 1 export route target 1 1 interface Loopback0 ipv4 address 1 1 1 1 255 255 255 255 interface Loopback1 vrf vpn1 ipv4 address 2 2 2 2 255 255 255 255 interface GigabitEthernet0 5 0 0 vrf vpn1 ipv4 address 101 1 1 1 255 255 255 0 interface TenGigE0 6 0 0 ipv4 address 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 fa...

Страница 151: ... interface Loopback0 interface 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 end PE2 vrf vpn1 address family ipv4 unicast import route target 1 1 export route target 1 1 interface Loopback0 ipv4 address 9 9 9 9 255 255 255 255 interface Loopback1 vrf vpn1 ipv4 address 10 10 10 10 255 255 ...

Страница 152: ...er id 9 9 9 9 address family ipv4 unicast address family vpnv4 unicast address family ipv4 mdt neighbor 1 1 1 1 remote as 100 update source Loopback0 address family ipv4 unicast address family vpnv4 unicast address family ipv4 mdt vrf vpn1 rd 1 1 address family ipv4 unicast redistribute ospf 1 router ospf 1 vrf vpn1 router id 10 10 10 10 redistribute bgp 100 area 0 interface Loopback1 interface Gi...

Страница 153: ... area 0 interface Loopback0 interface GigabitEthernet0 0 0 0 interface GigabitEthernet0 0 0 3 router pim vrf default address family ipv4 rp address 2 2 2 2 interface Loopback0 interface GigabitEthernet0 0 0 0 interface GigabitEthernet0 0 0 3 end CE3 For information about configuring the CE router using Cisco IOS software see the appropriate Cisco IOS software configuration documentation interface ...

Страница 154: ...route target 1 1 interface Loopback0 ipv4 address 1 1 1 1 255 255 255 255 interface Loopback1 vrf vpn1 ipv4 address 2 2 2 2 255 255 255 255 interface GigabitEthernet0 5 0 0 vrf vpn1 ipv4 address 101 1 1 1 255 255 255 0 interface TenGigE0 6 0 0 ipv4 address 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...

Страница 155: ...connected neighbor 101 1 1 2 remote as 400 address family ipv4 unicast route policy pass all in route policy pass all out router ospf 100 router id 1 1 1 1 area 0 interface Loopback0 interface 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 end PE2 vrf vpn1 address family ipv4 unicast impor...

Страница 156: ...pv4 nsf mdt source Loopback0 interface all enable accounting per prefix route policy pass all pass end policy router bgp 100 bgp router id 9 9 9 9 address family ipv4 unicast address family vpnv4 unicast address family ipv4 mdt neighbor 1 1 1 1 remote as 100 update source Loopback0 address family ipv4 unicast address family vpnv4 unicast address family ipv4 mdt vrf vpn1 rd 1 1 address family ipv4 ...

Страница 157: ...ce GigabitEthernet0 0 0 3 ipv4 address 11 1 1 1 255 255 255 0 multicast routing address family ipv4 interface all enable route policy pass all pass end policy router bgp 400 bgp router id 101 101 101 101 address family ipv4 unicast redistribute connected neighbor 101 1 1 1 remote as 100 address family ipv4 unicast route policy pass all in route policy pass all out router pim vrf default address fa...

Страница 158: ...edistribute connected neighbor 122 1 1 1 remote as 100 address family ipv4 unicast route policy pass all in route policy pass all out router pim vrf default address family ipv4 rp address 2 2 2 2 interface Loopback0 interface GigabitEthernet0 1 3 0 interface GigabitEthernet0 2 3 0 end Configuration Examples for MVPN Profiles The profile wise configuration examples for the various MVPN profiles Con...

Страница 159: ... band signaling ipv4 ssm range Global SSM Group V6 interface all enable router pim address family ipv4 rpf topology route policy mldp inband address family ipv6 rpf topology route policy mldp inband route policy mldp inband set core tree mldp inband end policy Configuration Examples for P2MP TE profiles Profile 8 Global Static P2MP TE interface Loopback0 ipv4 address 200 200 1 1 255 255 255 255 mu...

Страница 160: ... family ipv6 mdt default p2mp te static tunnel mte181 interface all enable bgp auto discovery pim router pim vrf v181 address family ipv4 rpf topology route policy p2mp te default address family ipv6 rpf topology route policy p2mp te default route policy p2mp te default set core tree p2mp te default end policy Profile 16 Rosen Static P2MP TE with BGP Ad and BGP signaling multicast routing mdt sour...

Страница 161: ...v4 unicast redistribute connected address family ipv4 mvpn rsvp interface Bundle Ether1 bandwidth vrf p20_vrf1 address family ipv4 mdt source Loopback0 rate per route interface all enable accounting per prefix bgp auto discovery p2mp te mdt default p2mp te vrf p20_vrf1 address family ipv4 rpf topology route policy rpf for p20_vrf1 rp address 100 1 20 1 static_p20vrf1_v4 log neighbor changes interf...

Страница 162: ... Partitioned mLDP MP2MP with BGP AD and PIM signaling multicast routing mdt source Loopback0 vrf v41 address family ipv4 mdt mtu 1600 mdt partitioned mldp ipv4 mp2mp mdt data 255 interface all enable bgp auto discovery mldp address family ipv6 mdt mtu 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 r...

Страница 163: ...y Profile 5 Partitioned mLDP P2MP with BGP AD and PIM signaling multicast routing mdt source Loopback0 vrf v51 address family ipv4 mdt mtu 1600 mdt partitioned mldp ipv4 p2mp mdt data 255 interface all enable bgp auto discovery mldp address family ipv6 mdt mtu 1600 mdt partitioned mldp ipv4 p2mp mdt data 255 interface all enable bgp auto discovery mldp router pim vrf v51 address family ipv4 rpf to...

Страница 164: ...ioned p2mp end policy Configuration Examples for Rosen mGRE profiles Profile 0 Rosen mGRE with MDT SAFI router bgp 100 address family ipv4 mdt neighbor X X X X RR or Remote PE ip address address family ipv4 mdt multicast routing address family ipv4 mdt source Loopback0 interface all enable address family ipv6 mdt source Loopback0 interface all enable vrf v1 address family ipv4 mdt mtu 1600 mdt dat...

Страница 165: ... ipv4 232 31 1 1 interface all enable bgp auto discovery pim Profile 11 Rosen mGRE with BGP AD and BGP signaling router bgp 100 address family ipv4 mvpn address family ipv6 mvpn neighbor X X X X 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 fa...

Страница 166: ...le address family ipv6 mdt mtu 1600 mdt default mldp ipv4 100 100 1 1 mdt default mldp ipv4 100 100 1 2 mdt data 255 interface all enable router pim vrf v11 address family ipv4 rpf topology route policy rosen mldp address family ipv6 rpf topology route policy rosen mldp route policy rosen mldp set core tree mldp default end policy Profile 9 Rosen mLDP MP2MP with BGP AD and PIM signaling vrf v91 vp...

Страница 167: ...v4 100 100 1 1 mdt default mldp ipv4 100 100 1 2 mdt data 255 interface all enable bgp auto discovery mldp address family ipv6 mdt mtu 1600 mdt default mldp ipv4 100 100 1 1 mdt default mldp ipv4 100 100 1 2 mdt data 255 interface all enable bgp auto discovery mldp router pim vrf v131 address family ipv4 rpf topology route policy rosen mldp mdt c multicast routing bgp address family ipv6 rpf topol...

Страница 168: ... routing mdt source Loopback0 vrf v121 address family ipv4 mdt mtu 1600 mdt default mldp p2mp mdt data 255 interface all enable bgp auto discovery mldp address family ipv6 mdt mtu 1600 mdt default mldp p2mp mdt data 255 interface all enable bgp auto discovery mldp router pim vrf v121 address family ipv4 rpf topology route policy rosen mldp mdt c multicast routing bgp address family ipv6 rpf topolo...

Страница 169: ... ipv4 multicast topology BLUE interface GigabitEthernet0 1 0 1 address family ipv4 multicast topology GREEN route policy mtp1 if destination in 230 5 1 2 then if source in 10 10 10 10 then set rpf topology ipv4 multicast topology BLUE else set rpf topology ipv4 multicast topology GREEN endif endif end policy router pim address family ipv4 rpf topology route policy mtp1 multicast routing address fa...

Страница 170: ... receiver PE router 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 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 vrf provider vrf address fami...

Страница 171: ...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 mdt default ipv4 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 rate per route interface all enable accounting per prefix address family ipv4 nsf mdt s...

Страница 172: ...nge of from 228 0 0 0 to 228 255 255 255 route policy extranet_streams_from_provider_vrf if destination in 227 0 0 0 32 ge 8 le 32 then set rpf topology vrf provider_vrf_1 elseif destination in 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 Confi...

Страница 173: ... interface all enable accounting per prefix vrf receiver_vrf address family ipv4 log traps mdt default ipv4 226 0 0 5 rate per route interface all enable accounting per prefix address family ipv4 nsf mdt source 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 rp address 201 22 22 201 Configure th...

Страница 174: ...ured in receiver VRFs on a ource PE router to propagate joins to a specified source VRF However this configuration is optional The configuration below shows a policy in which the receiver VRF can select either provider_vrf_1 or provider_vrf_2 to propagate PIM joins Provider_vrf_1 will be selected if the rendezvous point RP for a multicast stream is 201 22 22 201 while provider_vrf_2 will be select...

Страница 175: ...utorp on VRF interface For information about configuring the CE router using Cisco IOS software see the appropriate Cisco IOS software documentation Hub and Spoke Non Turnaround Configuration Example A1 Hub 1 bsr RP A1 Hub 4 auto rp RP A1 Spoke 3 No turnaround case with bsr and autorp relay PE1 vrf A1 Hub 1 address family ipv4 unicast import route target 1000 10 1001 10 export route target 1000 10...

Страница 176: ...ge priority 4 interval 60 auto rp relay vrf 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 CRS Router Release 5 2 x 166 Implementing Multicast...

Страница 177: ...accounting per prefix router bgp 1 vrf A1 Hub 1 rd 1000 1 address family ipv4 unicast route target download redistribute connected redistribute eigrp 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 CRS Router Release 5 2 x 167 Implementing Multicast Routing on...

Страница 178: ...oke 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 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 CRS Router Release 5 2 x 168 Implementing Multicast Routing o...

Страница 179: ...im vrf A1 Hub 4 address family ipv4 rpf topology route policy 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 CRS Router Release 5 2 x 169 Implementing Multicast Routing on Cisco IOS XR S...

Страница 180: ... all enable accounting per prefix multicast routing vrf 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 CRS Router Release 5 2 x 170 Implementing Multicast Routing on Cisco IOS XR Software Configuring Multi...

Страница 181: ... 1000 router bgp 1 vrf A1 Spoke 2 rd 1001 2 address family ipv4 unicast route target download redistribute connected redistribute eigrp 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 CRS Router Release 5 2 x 171 Implementing Mu...

Страница 182: ... 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 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 CRS Router Release 5 2 x 172 Implementing Multicast Routing on Cisco ...

Страница 183: ...A1 Spoke 2 rd 1001 2 route target export 1001 10 route target import 1000 10 ip multicast routing vrf A1 Hub 4 ip multicast routing vrf A1 Spoke 2 interface Loopback10 ip vrf forwarding A1 Hub 4 ip address 103 10 10 103 255 255 255 255 ip pim sparse mode ip pim vrf A1 Hub 4 autorp listener ip pim vrf A1 Hub 4 send rp announce Loopback10 scope 32 ip pim vrf A1 Hub 4 send rp discovery Loopback10 sco...

Страница 184: ...Hub A2 Spoke 1 A2 Hub 2 A2 Spoke 2 A2 Hub 3in A2 Hub 2out A2 Spoke 3 spoke has auto rp Figure 12 Example for CE1PE1PE2 CE2Multicast Hub and Spoke Topology with Turnaround CE1 PE1 PE2 CE2 Routes exported by hub sites are imported by hub sites and spoke sites Routes exported by spoke sites are imported by both hub x out and hub x in and hub site exports spoke routes back into the core by hub VRF rou...

Страница 185: ...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 CRS Router Release 5 2 x 175 Implementing Multicast Routing on Cisco IOS XR Software Configuring Multicast Hub and Spoke Topology Example ...

Страница 186: ...rf A2 Hub 3in address family ipv4 unicast import route target 4000 1 4000 2 4000 3 4000 4 export route target 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 Configurat...

Страница 187: ...ipv4 unicast route policy A2 Spoke family in à leaking the selected spoke routes with hub route targets so they can be imported by the spoke sites with 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 CRS Router Release 5 2 x 177 Implement...

Страница 188: ...e per route interface all enable accounting per prefix multicast routing vrf 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 CRS Router Release 5 2 x 178 Implementing Multicast Routing on Cisco IOS XR Software Configuring Multic...

Страница 189: ... extcommunity rt matches any 4001 1 4001 2 4001 3 4001 4 then set rpf topology vrf A2 Spoke Tunnel else pass endif end policy Any CE PE protocol can be used In this example A2 Hub 3out exports all the hub and spoke routes to CE2 through EIGRP 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 defa...

Страница 190: ... 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 Configuring LSM based MLDP Examples These examples describe multiple profiles to configure MLDP based MVPN Rosen MLDP without BGP Advertisement vrf 1 vpn id 1 1 address family ipv4 unicast import route target 1 1 export route target 1 1 int...

Страница 191: ...tribute connected mpls traffic eng interface 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 nsf mdt source Loopback0 interface all enable accounting per prefix vrf 1 address family ipv4 interface all enable mdt default mldp ipv4 1 1 1 1 accounting per prefix router pim vrf 1 address family ip...

Страница 192: ...net0 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 address family vpnv6 unicast address family ipv4 mvpn neighbor 5 5 5 5 remote as 100 update source Loopback0 address family ipv4 unicast address family vpnv4 unicast address family vpnv6 unicast address family ipv4 mvpn...

Страница 193: ...0 interface Loopback0 ipv4 address 1 1 1 1 255 255 255 255 interface Loopback250 vrf 250 ipv4 address 10 1 250 1 255 255 255 255 route policy mldp 250 set core tree mldp inband end policy router ospf 1 address family ipv4 unicast area 0 mpls traffic eng interface Loopback0 interface Loopback1 interface GigabitEthernet0 0 2 0 interface GigabitEthernet0 3 2 1 interface GigabitEthernet0 3 2 2 mpls tr...

Страница 194: ...l all core facing interfaces multicast routing address family ipv4 nsf mdt source Loopback0 interface all enable accounting per prefix vrf 250 address family ipv4 mdt mldp in band signaling interface all enable router pim vrf 250 address family ipv4 rpf topology route policy mldp 250 rp address 10 1 250 1 Partitioned MDT MP2MP without BGP AD vrf 251 address family ipv4 unicast import route target ...

Страница 195: ...amily vpnv4 unicast address family vpnv6 unicast neighbor 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 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 all core facing interfac...

Страница 196: ...spf 1 address family ipv4 unicast area 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 redistribute connected address family vpnv4 unicast address family vpnv6 unicast address family ipv4 mvpn neighbor 5 5 5 5 ...

Страница 197: ...l enable router pim vrf 301 address family ipv4 rpf topology route policy mldp 301 rp address 10 11 51 1 Multidirectional Selective Provider Multicast Service Instance mLDP P2MP with BGP Advertisement vrf 401 address family ipv4 unicast import route target 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 1...

Страница 198: ...pnv4 unicast address family vpnv6 unicast address family ipv4 mvpn vrf 401 rd 401 401 address family ipv4 unicast redistribute connected address family ipv4 mvpn mpls traffic eng interface 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 nsf mdt source Loopback0 interface all enable accounting ...

Страница 199: ...pf 1 address family ipv4 unicast area 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 redistribute connected address family vpnv4 unicast address family vpnv6 unicast address family ipv4 mvpn neighbor 5 5 5 5 r...

Страница 200: ...1 1 1 interface all enable router pim vrf 501 address family ipv4 rp address 10 111 1 1 Additional References Related Documents Document Title Related Topic Cisco IOS XR Multicast Command Reference for the Cisco CRS Router Multicast command reference document Cisco IOS XR Getting Started Guide for the Cisco CRS Router Getting started material Cisco IOS XR Aggregation Services Router Modular Qualit...

Страница 201: ...IBs MIBs Link MIBs To locate and download MIBs using Cisco IOS XR software use the Cisco MIB Locator found at the following URL and choose a platform under the Cisco Access Products menu http cisco com public sw center netmgmt cmtk mibs shtml RFCs Title RFCs Protocol Independent Multicast Sparse Mode PIM SM Protocol Specification RFC 2362 Protection of BGP Sessions via the TCP MD5 Signature Option...

Страница 202: ...l Switched Paths LSPs RFC4875 BGP MPLS IP Virtual Private Networks RFC 4364 Technical Assistance Link Description http www cisco com techsupport The Cisco Technical Support website contains thousands of pages of searchable technical content including links to products technologies solutions technical tips and tools Registered Cisco com users can log in from this page to access even more content Ci...

Страница 203: ...he tunneling is performed between AMT Relays and AMT Gateways using UDP User Datagram Protocol encapsulation This enables service providers and their customers to participate in delivering multicast traffic even in the absence of end to end multicast connectivity Advantages of AMT The advantages of AMT are Simplicity Instead of incurring the overhead of manually provisioning establishing and maint...

Страница 204: ... with a task group that includes the proper task IDs The command reference guides include the task IDs required for each command If you suspect user group assignment is preventing you from using a command contact your AAA administrator for assistance Ensure that you know how to apply the generalized interface name with the generalized notation rack slot module port Restrictions for AMT These are t...

Страница 205: ...covery Gateway sends an AMT discovery message to an anycast address that represents the AMT relay 2 Relay Advertisement Relay responds with an advertisement message which includes the relay s unique IP address 3 Relay Request Gateway sends an AMT Request message to the relay using the unique IP address as the destination along with a nonce to be used for security 4 Membership Query Relay responds ...

Страница 206: ...ticast traffic carried over an IPv6 tunnel Currently support is available only for the first two options namely IPv4 in IPv4 and IPv6 in IPv4 Out of Resource mode An important aspect of AMT tunnels is the Out of Resource mode OOR You can monitor a relay based on the number of gateways the total number of gateways across all routes or on the number of routes per gateway If any of these limits are h...

Страница 207: ...re are discussed in detail in the Cisco IOS XR Multicast Command Reference for the Cisco CRS Router SUMMARY STEPS 1 configure 2 router amt 3 relay ipv4 4 Use one of these commands advertisement address relay address gateway gateway address gateway filter acl name maximum gateway value maximum route value mtu mtu value ttl ttl value tos tos value qqic qqic value 5 exit 6 commit Cisco IOS XR Multica...

Страница 208: ...configure all the required parameters Note gateway gateway address gateway filter acl name maximum gateway value maximum route value mtu mtu value ttl ttl value tos tos value qqic qqic value Example RP 0 RP0 CPU0 router config amt relay v4 maximum gateway 100 Exits from the current mode exit Example RP 0 RP0 CPU0 router config amt relay v4 exit Step 5 commit Step 6 Configuration Examples for Imple...

Страница 209: ...y 100 end AMT MTU Configuration Example This example shows how to set the MTU value Maximum Transmission Units for an AMT relay config router amt relay ipv4 mtu 500 end AMT TOS Configuration Example This example shows how to set the TOS value Type of Service for an AMT relay config router amt relay ipv4 tos 100 end Cisco IOS XR Multicast Configuration Guide for the Cisco CRS Router Release 5 2 x 1...

Страница 210: ...Cisco IOS XR Multicast Configuration Guide for the Cisco CRS Router Release 5 2 x 200 Implementing Automatic Multicast Routing AMT TOS Configuration Example ...

Отзывы: