Configuring Bidirectional PIM

Similar documents
Configuring Basic IP Multicast

Configuring IP Multicast Routing

Configuring IP Multicast Routing

IP Multicast Technology Overview

IPv6 PIM. Based on the forwarding mechanism, IPv6 PIM falls into two modes:

IGMP Proxy. Finding Feature Information. Prerequisites for IGMP Proxy

IP Multicast Load Splitting across Equal-Cost Paths

Configuring IP Multicast Routing

Configuring IP Multicast Routing

IP Multicast Optimization: Optimizing PIM Sparse Mode in a Large IP Multicast Deployment

Implementing Multicast Service Reflection

Configuring Multicast Routing

This chapter describes how to configure the Cisco ASA to use the multicast routing protocol.

IP Multicast. Falko Dressler Regionales Rechenzentrum Grundzüge der Datenkommunikation IP Multicast

IPv6 PIM-DM configuration example 36 IPv6 PIM-SM non-scoped zone configuration example 39 IPv6 PIM-SM admin-scoped zone configuration example 42 IPv6

IP Multicast Technology Overview

Configuring Basic IP Multicast

ASM. Engineering Workshops

PIM Configuration. Page 1 of 9

IP Multicast: PIM Configuration Guide, Cisco IOS XE Release 3S

IP Multicast: PIM Configuration Guide

IP Multicast: PIM Configuration Guide, Cisco IOS Release 15S

IP Multicast: PIM Configuration Guide, Cisco IOS Release 15M&T

PIM Allow RP. Finding Feature Information. Restrictions for PIM Allow RP

IP Multicast: PIM Configuration Guide, Cisco IOS Release 12.4T

Configuring Router-Port Group Management Protocol

IPv6 Multicast: PIM Sparse Mode

Implementing IPv6 Multicast

Configuring PIM Snooping

IPv6 Multicast: PIM Sparse Mode

Multicast Communications

Table of Contents 1 PIM Configuration 1-1

Verifying IPv4 Multicast Forwarding Using the MFIB

IPv6 Multicast: Bootstrap Router

IP Multicast: PIM Configuration Guide, Cisco IOS Release 15SY

Load Splitting IP Multicast Traffic over ECMP

Configuring PIM. Information About PIM. Send document comments to CHAPTER

Configuring a Rendezvous Point

FSOS Multicast Configuration Guide

Exercises to Communication Systems

IP Multicasting: Explaining Multicast Cisco Systems, Inc. All rights reserved. Cisco Academy

Network Configuration Example

Table of Contents Chapter 1 IPv6 PIM Configuration

LISP Multicast. Finding Feature Information. Prerequisites for LISP Multicast

What is Multicasting? Multicasting Fundamentals. Unicast Transmission. Agenda. L70 - Multicasting Fundamentals. L70 - Multicasting Fundamentals

Configuring IP Multicast over Unidirectional Links

Viewing IP and MPLS Multicast Configurations

PIM-SM Multicast Routing

Customizing IGMP. Finding Feature Information. Last Updated: October 16, 2012

IP Multicast: Multicast Optimization Configuration Guide

Customizing IGMP. Finding Feature Information. Last Updated: December 16, 2011

IP Multicast: PIM Configuration Guide

Multicast Quick Start Configuration Guide

Table of Contents 1 MSDP Configuration 1-1

Monitoring and Maintaining IP Multicast

Lab 7-3 Routing IP Multicast with PIM Sparse Mode

Configuring Multicast VPN Extranet Support

Implementing IPv6 Multicast

Chapter 24 PIM Commands

Table of Contents Chapter 1 Multicast Routing and Forwarding Configuration

Configuring IP Multicast over Unidirectional Links

IP Multicast: Multicast Optimization Configuration Guide, Cisco IOS Release 12.4T

IP Multicast: Multicast Services Configuration Guide, Cisco IOS XE Release 3S

Advanced Network Training Multicast

FiberstoreOS IPv6 Multicast Configuration Guide

Multicast only Fast Re-Route

BASIC MULTICAST TROUBLESHOOTING. Piotr Wojciechowski (CCIE #25543)

This module describes how to configure IPv6 Multicast PIM features.

Multicast only Fast Re-Route

IGMP Static Group Range Support

Table of Contents 1 MSDP Configuration 1-1

IGMP Static Group Range Support

Rendezvous Point Engineering

Implementing IPv6 Multicast

Configuring SSM. Finding Feature Information. Prerequisites for Configuring SSM

Module 7 Implementing Multicast

Implementing IPv6 Multicast

MulticastForwardingInformationBaseOverview

What is IPv4 multicast? Deference between Unicast & Multicast Simulate Multicast Streaming using one Machine

Request for Comments: 5015 Category: Standards Track T. Speakman Cisco L. Vicisano Digital Fountain October 2007

Developing IP Muiticast Networks

IP Multicast: IGMP Configuration Guide, Cisco IOS Release 12.2SX

Why multicast? The concept of multicast Multicast groups Multicast addressing Multicast routing protocols MBONE Multicast applications Conclusions

List of groups known at each router. Router gets those using IGMP. And where they are in use Where members are located. Enhancement to OSPF

Contents. Configuring MSDP 1

Implementing Layer-3 Multicast Routing on Cisco IOS XR Software

IPv6 Multicast Listener Discovery Protocol

UDLR Unidirectional Link Routing overview and examples

IP Multicast. Overview. Casts. Tarik Čičić University of Oslo December 2001

Multicast VPN IP Multicast Support for MPLS VPNs

ICS 351: Today's plan. routing protocol comparison encapsulation network dynamics multicasting in general IP multicasting IGMP PIM

Using MSDP to Interconnect Multiple PIM-SM Domains

Configuring MSDP. MSDP overview. How MSDP works. MSDP peers

Multicast VPN C H A P T E R. Introduction to IP Multicast

Multicast routing protocols

Implementing Layer-3 Multicast Routing on Cisco IOS XR Software

Network Working Group Request for Comments: Category: Experimental. A. Helmy USC

Copyright 2009 Internetwork Expert i

Configuring MSDP. Overview. How MSDP operates. MSDP peers

IPv6 Multicast Listener Discovery Protocol

Transcription:

Configuring Bidirectional PIM This chapter describes how to configure the Bidirectional PIM (bidir-pim) feature. Bidir-PIM is a variant of the Protocol Independent Multicast (PIM) suite of routing protocols for IP multicast and is an extension of the existing PIM sparse mode (PIM-SM) feature. Bidir-PIM resolves some limitations of PIM-SM for groups with a large number of sources. Bidir-PIM is based on the draft-kouvelas-pim-bidir-new-00.txt Internet Engineering Task Force (IETF) protocol specification. This draft and other drafts referenced by it can be found at the following URL: ftp://ftpeng.cisco.com/ipmulticast/drafts. For more information on PIM-SM, refer to the Configuring IP Multicast Routing chapter of the and the Cisco IOS IP Command Reference, Volume 3 of 3: Multicast. For a complete description of the bidir-pim commands used in this chapter, refer to the IP Multicast Routing Commands chapter of the Cisco IOS IP Command Reference, Volume 3 of 3: Multicast. To locate documentation of other commands that appear in this chapter, use the command reference master index, or search online. To identify the hardware platform or software image information associated with a feature, use the Feature Navigator on Cisco.com to search for information about the feature or refer to the software release notes for a specific release. For more information, see the Identifying Supported Platforms section in the Using Cisco IOS Software chapter. Bidir-PIM Overview Bidir-PIM is a variant of the 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. The Cisco IOS implementation of PIM supports three modes for a multicast group: Bidirectional mode Dense mode Sparse mode A router can simultaneously support all three modes or any combination of them for different multicast groups. In bidirectional mode, traffic is routed only along a bidirectional shared tree that is rooted at the rendezvous point (RP) for the group. In bidir-pim, the IP address of the RP acts as the key to having all routers establish a loop-free spanning tree topology rooted in that IP address. This IP address need not be a router, but can be any unassigned IP address on a network that is reachable throughout the PIM domain. This technique is the preferred configuration method for establishing a redundant RP configuration for bidir-pim. IPC-471

Bidir-PIM Overview Configuring Bidirectional PIM Membership to a bidirectional group is signalled via explicit join messages. Traffic from sources is unconditionally sent up the shared tree toward the RP and passed down the tree toward the receivers on each branch of the tree. Bidir-PIM is designed to be used for many-to-many applications within individual PIM domains. Multicast groups in bidirectional mode can scale to an arbitrary number of sources without incurring overhead due to the number of sources. Bidir-PIM is derived from the mechanisms of PIM-SM and shares many shortest-path tree (SPT) operations. Bidir-PIM also has unconditional forwarding of source traffic toward the RP upstream on the shared tree, but no registering process for sources as in PIM-SM. These modifications are necessary and sufficient to allow forwarding of traffic in all routers solely based on the multicast routing entries. This feature eliminates any source-specific state and allows scaling capability to an arbitrary number of sources. Figure 76 and Figure 77 show the difference in state created per router for a unidirectional shared tree and source tree versus a bidirectional shared tree. Figure 76 Unidirectional Shared Tree and Source Tree PIM source register message Multicast data flow RP Register RP Source Source (A) Shared tree from RP (B) Source tree 33355 IPC-472

Configuring Bidirectional PIM Bidir-PIM Overview Figure 77 Bidirectional Shared Tree RP Source 33354 When packets are forwarded downstream from the RP toward receivers, there are no fundamental differences between bidir-pim and PIM-SM. Bidir-PIM deviates substantially from PIM-SM when passing traffic from sources upstream toward the RP. PIM-SM cannot forward traffic in the upstream direction of a tree, because it only accepts traffic from one Reverse Path Forwarding (RPF) interface. This interface (for the shared tree) points toward the RP, therefore allowing only downstream traffic flow. In this case, upstream traffic is first encapsulated into unicast register messages, which are passed from the designated router (DR) of the source toward the RP. In a second step, the RP joins an SPT that is rooted at the source. Therefore, in PIM-SM, traffic from sources traveling toward the RP does not flow upstream in the shared tree, but downstream along the SPT of the source until it reaches the RP. From the RP, traffic flows along the shared tree toward all receivers. In bidir-pim, the packet forwarding rules have been improved over PIM-SM, allowing traffic to be passed up the shared tree toward the RP. To avoid multicast packet looping, bidir-pim introduces a new mechanism called designated forwarder (DF) election, which establishes a loop-free SPT rooted at the RP. DF Election On every network segment and point-to-point link, all PIM routers participate in a procedure called DF election. The procedure selects one router as the DF for every RP of bidirectional groups. This router is responsible for forwarding multicast packets received on that network upstream to the RP. The DF election is based on unicast routing metrics and uses the same tie-break rules employed by PIM assert processes. The router with the most preferred unicast routing metric to the RP becomes the DF. Use of this method ensures that only one copy of every packet will be sent to the RP, even if there are parallel equal cost paths to the RP. A DF is selected for every RP of bidirectional groups. As a result, multiple routers may be elected as DF on any network segment, one for each RP. In addition, any particular router may be elected as DF on more than one interface. IPC-473

Bidir-PIM Configuration Task List Configuring Bidirectional PIM Bidirectional Group Tree Building The procedure for joining the shared tree of a bidirectional group is almost identical to that used in PIM SM. One main difference is that, for bidirectional groups, the role of the DR is assumed by the DF for the RP. On a network with local receivers, only the router elected as the DF populates the outgoing interface list (olist) upon receiving Internet Group Management Protocol (IGMP) join messages, and sends join and leave messages upstream toward the RP. When a downstream router wishes to join the shared tree, the RPF neighbor in the PIM join and leave messages is always the DF elected for the interface leading to the RP. When a router receives a join or leave message, and the router is not the DF for the receiving interface, the message is ignored. Otherwise, the router updates the shared tree in the same way as in sparse mode. In a network where all routers support bidirectional shared trees, join and leave messages are ignored. There is also no need to send PIM assert messages, because the DF election procedure eliminates parallel downstream paths from any RP. In addition, an RP never joins a path back to the source, nor will it send any register stops. Packet Forwarding A router only creates entries for bidirectional groups. The olist of a entry includes all the interfaces for which the router has been elected DF and that have received either an IGMP or PIM join message. If a router is located on a sender-only branch, it will also create state, but the olist will not include any interfaces. If a packet is received from the RPF interface toward the RP, the packet is forwarded downstream according to the olist of the entry. Otherwise, only the router that is the DF for the receiving interface forwards the packet upstream toward the RP; all other routers must discard the packet. Bidir-PIM Configuration Task List To configure bidir-pim, perform the tasks described in the following sections. The tasks in the first section are required; the task in the remaining sections are optional. Configuring Bidir-PIM (Required) Verifying Bidirectional Groups (Optional) Monitoring and Maintaining Bidir-PIM (Optional) Prerequisites Before configuring bidir-pim, ensure that the feature is supported on all IP multicast-enabled routers in that domain. It is not possible to enable groups for bidir-pim operation in a partially upgraded network. Note Packet loops will occur immediately in networks that are only partially upgraded to support bidir-pim. IPC-474

Configuring Bidirectional PIM Bidir-PIM Configuration Task List Configuring Bidir-PIM Most of the configuration requirements for bidir-pim are the same as those for configuring PIM-SM. You need not enable or disable an interface for carrying traffic for multicast groups in bidirectional mode. Instead, you configure which multicast groups you want to operate in bidirectional mode. Similar to PIM-SM, this configuration can be done via Auto-RP, static RP configurations, or the PIM Version 2 bootstrap router (PIMv2 BSR) mechanism. To enable bidir-pim, use the following command in global configuration mode: Command Router(config)# ip pim bidir-enable Purpose Enables bidir-pim on a router. To configure bidir-pim, use the following commands in global configuration mode, depending on which method you use to distribute group-to-rp mappings: Command Router(config)# ip pim rp-address rp-address [access-list] [override] bidir Router(config)# ip pim rp-candidate type number [group-list access-list] bidir Router(config)# ip pim send-rp-announce type number scope ttl-value [group-list access-list] [interval seconds] bidir Purpose Configures the address of a PIM RP for a particular group, and specifies bidirectional mode. Use this command when you are not distributing group-to-rp mappings using either Auto-RP or the PIMv2 BSR mechanism. Configures the router to advertise itself as a PIM Version 2 candidate RP to the BSR, and specifies bidirectional mode. Use this command when you are using the PIMv2 BSR mechanism to distribute group-to-rp mappings. Configures the router to use Auto-RP to configure for which groups the router is willing to act as RP, and specifies bidirectional mode. Use this command when you are using Auto-RP to distribute group-to-rp mappings. See the Bidir-PIM Configuration Example section later in this chapter for an example of how to configure bidir-pim. Verifying Bidirectional Groups To verify configuration of bidirectional groups, use the following show commands: To examine RP-to-group mappings and determine the bidirectional groups advertised by an RP, use the show ip pim rp mapping command in EXEC mode. To display the IP multicast routing table information for groups operating in bidirectional mode, sparse mode, and dense mode, use the show ip mroute command in EXEC mode. To display information about the elected DF for each RP of an interface and the metric associated with the DF, use the show ip pim interface df command in EXEC mode. IPC-475

Bidir-PIM Configuration Example Configuring Bidirectional PIM Monitoring and Maintaining Bidir-PIM To display bidir-pim information, use the following commands in EXEC mode, as needed: Command Router# show ip pim interface [type number] [df count] [rp-address] Router# show ip pim rp [mapping metric] [rp-address] Purpose Displays information about the elected DF for each RP of an interface, along with the unicast routing metric associated with the DF. Displays information about configured RPs, learned via Auto-RP or BSR, along with their unicast routing metric. Bidir-PIM Configuration Example By default a bidirectional RP advertises all groups as bidirectional. An access list on the RP can be used to specify a list of groups to be advertised as bidirectional. Groups with the deny keyword will operate in dense mode. A different, nonbidirectional RP address is required for groups that operate in sparse mode, because a single access list only allows either a permit or deny keyword. The following example shows how to configure an RP for both sparse mode and bidirectional mode groups. 224/8 and 227/8 are bidirectional groups, 226/8 is sparse mode, and 225/8 is dense mode. The RP must be configured to use different IP addresses for the sparse mode and bidirectional mode operations. Two loopback interfaces are used to allow this configuration. The addresses of these loopback interfaces must be routed throughout the PIM domain such that the other routers in the PIM domain can receive Auto-RP announcements and communicate with the RP. ip multicast-routing!enable IP multicast routing ip pim bidir-enable!enable bidir-pim! interface loopback 0 description One Loopback adddress for this routers Bidir Mode RP function ip address 10.0.1.1 255.255.255.0 ip pim sparse-dense-mode! interface loopback 1 description One Loopback adddress for this routers Sparse Mode RP function ip address 10.0.2.1 255.255.255.0 ip pim sparse-dense-mode ip pim send-rp-announce Loopback0 scope 10 group-list 45 bidir ip pim send-rp-announce Loopback1 scope 10 group-list 46 ip pim send-rp-discovery scope 10 access-list 45 permit 224.0.0.0 0.255.255.255 access-list 45 permit 227.0.0.0 0.255.255.255 access-list 45 deny 225.0.0.0 0.255.255.255 access-list 46 permit 226.0.0.0 0.255.255.255 IPC-476