ip multicast: pim configuration guide, cisco ios release 15m&t .ip multicast: pim configuration...

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

Post on 19-Nov-2018

212 views

Category:

Documents

0 download

Embed Size (px)

TRANSCRIPT

  • IP Multicast: PIM Configuration Guide, Cisco IOS Release 15M&TFirst Published: November 21, 2012

    Americas HeadquartersCisco Systems, Inc.170 West Tasman DriveSan Jose, CA 95134-1706USAhttp://www.cisco.comTel: 408 526-4000 800 553-NETS (6387)Fax: 408 527-0883

  • THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS,INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND,EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS.

    THE SOFTWARE LICENSE AND LIMITEDWARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED WITHTHE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED WARRANTY,CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.

    The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB's public domain versionof the UNIX operating system. All rights reserved. Copyright 1981, Regents of the University of California.

    NOTWITHSTANDINGANYOTHERWARRANTYHEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED AS IS"WITH ALL FAULTS.CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THOSE OFMERCHANTABILITY, FITNESS FORA PARTICULAR PURPOSEANDNONINFRINGEMENTORARISING FROMACOURSEOFDEALING, USAGE, OR TRADE PRACTICE.

    IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUTLIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERSHAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

    Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, networktopology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentionaland coincidental.

    Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: http://www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnershiprelationship between Cisco and any other company. (1110R)

    2015 Cisco Systems, Inc. All rights reserved.

    http://www.cisco.com/go/trademarkshttp://www.cisco.com/go/trademarks

  • C O N T E N T S

    C H A P T E R 1 IP Multicast Technology Overview 1

    Finding Feature Information 1

    Information About IP Multicast Technology 2

    Role of IP Multicast in Information Delivery 2

    Multicast Group Transmission Scheme 2

    IP Multicast Routing Protocols 4

    IP Multicast Group Addressing 4

    IP Class D Addresses 4

    IP Multicast Address Scoping 5

    Layer 2 Multicast Addresses 6

    IP Multicast Delivery Modes 7

    Any Source Multicast 7

    Source Specific Multicast 7

    Protocol Independent Multicast 7

    PIM Dense Mode 8

    PIM Sparse Mode 8

    Sparse-Dense Mode 9

    Bidirectional PIM 9

    Multicast Group Modes 10

    Bidirectional Mode 10

    Sparse Mode 10

    Dense Mode 11

    Rendezvous Points 11

    Auto-RP 11

    Sparse-Dense Mode for Auto-RP 12

    Bootstrap Router 12

    Multicast Source Discovery Protocol 13

    Anycast RP 13

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

  • Multicast Forwarding 14

    Multicast Distribution Source Tree 14

    Multicast Distribution Shared Tree 15

    Source Tree Advantage 16

    Shared Tree Advantage 16

    Reverse Path Forwarding 17

    RPF Check 17

    PIM Dense Mode Fallback 18

    Guidelines for Choosing a PIM Mode 19

    Where to Go Next 20

    Additional References 20

    Feature Information for IP Multicast Technology Overview 21

    Glossary 22

    C H A P T E R 2 Configuring Basic IP Multicast 25

    Finding Feature Information 25

    Prerequisites for Configuring Basic IP Multicast 25

    Information About Configuring Basic IP Multicast 26

    Auto-RP Overview 26

    The Role of Auto-RP in a PIM Network 26

    IP Multicast Boundary 26

    Benefits of Auto-RP in a PIM Network 27

    Anycast RP Overview 27

    BSR Overview 28

    BSR Election and Functionality 28

    BSR Border Interface 28

    Static RP Overview 28

    SSM Overview 29

    SSM Components 29

    How SSM Differs from Internet Standard Multicast 29

    SSM Operations 30

    IGMPv3 Host Signaling 30

    Benefits of Source Specific Multicast 31

    Bidir-PIM Overview 32

    Multicast Group Modes 32

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

    Contents

  • Bidirectional Shared Tree 32

    DF Election 34

    Bidirectional Group Tree Building 34

    Packet Forwarding 34

    Benefits of Bidirectional PIM 35

    How to Configure Basic IP Multicast 35

    Configuring Sparse Mode with Auto-RP(CLI) 35

    What to Do Next 40

    Configuring Sparse Mode with Anycast RP 40

    What to Do Next 43

    Configuring Sparse Mode with a Bootstrap Router 43

    What to Do Next 48

    Configuring Sparse Mode with a Single Static RP(CLI) 48

    What to Do Next 50

    Configuring Source Specific Multicast 50

    What to Do Next 52

    Configuring Bidirectional PIM (CLI) 53

    Configuration Examples for Basic IP Multicast 55

    Example: Sparse Mode with Auto-RP 55

    Sparse Mode with Anycast RP Example 56

    Sparse Mode with Bootstrap Router Example 57

    BSR and RFC 2362 Interoperable Candidate RP Example 57

    Example: Sparse Mode with a Single Static RP 58

    SSM with IGMPv3 Example 59

    SSM Filtering Example 59

    Bidir-PIM Example 60

    Additional References 60

    Feature Information for Configuring Basic IP Multicast in IPv4 Networks 61

    C H A P T E R 3 Configuring Basic IP Multicast in IPv6 Networks 65

    Finding Feature Information 65

    Prerequisites for Configuring Basic IP Multicast 65

    Information About Configuring Basic IP Multicast in IPv6 Networks 66

    IPv6 Multicast 66

    IPv6 Multicast Overview 66

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

    Contents

  • IPv6 Multicast Addressing 66

    IPv6 Multicast Groups 68

    IPv6 Multicast Address Group Range Support 68

    Scoped Address Architecture 68

    MRIB 69

    IPv6 Multicast Process Switching and Fast Switching 69

    IPv6 BSR 70

    IPv6 BSR 70

    IPv6 BSR: Configure RP Mapping 71

    IPv6 BSR: Scoped Zone Support 71

    IPv6 Multicast: RPF Flooding of BSR Packets 71

    IPv6 Multicast Groups 71

    IPv6 Multicast Address Group Range Support 72

    IPv6 Multicast VRF Lite 72

    How to Configure Basic IP Multicast in IPv6 Networks 72

    Enabling IPv6 Multicast Routing 72

    Disabling the Device from Receiving Unauthenticated Multicast Traffic 73

    Troubleshooting IPv6 Multicast 74

    Configuring a BSR and Verifying BSR Information 77

    Sending PIM RP Advertisements to the BSR 78

    Configuring BSR for Use Within Scoped Zones 79

    Configuring BSR Devices to Announce Scope-to-RP Mappings 80

    Configuration Examples for Configuring IP Multicast Basic in IPv6 Networks 81

    Example: Enabling IPv6 Multicast Routing 81

    Examples: Disabling IPv6 Multicast Address Group Range Support 82

    Example: Verifying IPv6 MRIB Information 82

    Example: Configuring a BSR 82

    Additional References 83

    Feature Information for Configuring Basic IP Multicast in IPv6 Networks 84

    C H A P T E R 4 Using MSDP to Interconnect Multiple PIM-SM Domains 87

    Finding Feature Information 87

    Prerequisites for Using MSDP to Interconnect Multiple PIM-SM Domains 88

    Information About Using MSDP to Interconnect Multiple PIM-SM Domains 88

    Benefits of Using MSDP to Interconnect Multiple PIM-SM Domains 88

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

    Contents

  • Use of MSDP to Interconnect Multiple PIM-SM Domains 88

    MSDP Message Types 90

    SA Messages 91

    SA Request Messages 91

    SA Response Messages 91

    Keepalive Messages 91

    SA Message Origination Receipt and Processing 92

    SA Message Origination 92

    SA Message Receipt 92

    How RPF Check Rules Are Applied to SA Messages 92

    How the Software Determines the Rule to Apply to RPF Checks 93

    Rule 1 of RPF Checking of SA Messages in MSDP 93

    Implications of Rule 1 of RPF Checking on MSDP 93

    Rule 2 of RPF Checking of SA Messages in MSDP 94

    Implications of Rule 2 of RPF Checking on MSDP 94

    Rule 3 of RPF Checking of SA Messages in MSDP 94

    SA Message Processing 95

    MSDP Peers 95

    MSDP MD5 Password Authentication 95

    How MSDP MD5 Password Authentication Works 95

    Benefits of MSDP MD5 Password Authentication 96

    SA Message Limits 96

    MSDP Keepalive and Hold-Time Intervals 96

    MSDP Connection-Retry Interval 97

    MSDP Compliance with IETF RFC 3618 97

    Benefits of MSDP Compliance with RFC 3618 97

    Default MSDP Peers 97

    MSDP Mesh Groups 99

    Benefits of MSDP Mesh Groups 99

    SA Origination Filters 99

    Use of Outgoing Filter Lists in MSDP 100

    Use of Incoming Filter Lists in MSDP 100

    TTL Thresh

Recommended

View more >