Juniper JUNOSE 11.2.X MULTICAST ROUTING Configuration Manual

JunosE™ Software for E Series™ Broadband Services Routers
Multicast Routing Configuration Guide
Release
11.2.x
Published: 2010-06-29
Copyright © 2010, Juniper Networks, Inc.
Juniper Networks, Inc. 1194 North Mathilda Avenue Sunnyvale, California 94089 USA 408-745-2000 www.juniper.net
Juniper Networks, Junos, Steel-Belted Radius, NetScreen, and ScreenOS are registered trademarks of Juniper Networks, Inc. in the United States and other countries. The Juniper Networks Logo, the Junos logo, and JunosE are trademarks of Juniper Networks, Inc. All other trademarks, service marks, registered trademarks, or registered service marks are the property of their respective owners.
Juniper Networks assumes no responsibility for any inaccuracies in this document. Juniper Networks reserves the right to change, modify, transfer, or otherwise revise this publication without notice.
Products made or sold by Juniper Networks or components thereof might be covered by one or more of the following patents that are owned by or licensed to Juniper Networks: U.S. Patent Nos. 5,473,599, 5,905,725, 5,909,440, 6,192,051, 6,333,650, 6,359,479, 6,406,312, 6,429,706, 6,459,579, 6,493,347, 6,538,518, 6,538,899, 6,552,918, 6,567,902, 6,578,186, and 6,590,785.
JunosE™ Software for E Series™ Broadband Services Routers Multicast Routing Configuration Guide
Release 11.2.x Copyright © 2010, Juniper Networks, Inc. All rights reserved. Printed in USA.
Writing: Mark Barnard, Diane Florio, Bruce Gillham, Sarah Lesway-Ball, Brian Wesley Simmons, Fran Singer, Sairam Venugopalan Editing: Benjamin Mann Illustration: Nathaniel Woodward Cover Design: Edmonds Design
Revision History July 2010—FRS JunosE 11.2.x
The information in this document is current as of the date listed in the revision history.
YEAR 2000 NOTICE
Juniper Networks hardware and software products are Year 2000 compliant. The Junos OS has no known time-related limitations through the year 2038. However, the NTP application is known to have some difficulty in the year 2036.
Copyright © 2010, Juniper Networks, Inc.ii
END USER LICENSE AGREEMENT
READ THIS END USER LICENSE AGREEMENT (“AGREEMENT”) BEFORE DOWNLOADING, INSTALLING, OR USING THE SOFTWARE.
BY DOWNLOADING, INSTALLING, OR USING THE SOFTWARE OR OTHERWISE EXPRESSING YOUR AGREEMENT TO THE TERMS CONTAINED HEREIN, YOU (AS CUSTOMER OR IF YOU ARE NOT THE CUSTOMER, AS A REPRESENTATIVE/AGENT AUTHORIZED TO BIND THE CUSTOMER) CONSENT TO BE BOUND BY THISAGREEMENT. IF YOU DO NOTOR CANNOT AGREE TO THE TERMSCONTAINED HEREIN, THEN (A) DO NOT DOWNLOAD, INSTALL, OR USE THE SOFTWARE, AND (B) YOU MAY CONTACT JUNIPER NETWORKS REGARDING LICENSE TERMS.
1. The Parties. The parties to this Agreement are (i) Juniper Networks, Inc. (if the Customer’s principal office is located in the Americas) or Juniper Networks(Cayman)Limited(if the Customer’s principaloffice is locatedoutside the Americas) (such applicable entity beingreferred to herein as“Juniper”), and (ii)the person ororganizationthat originally purchased from Juniperor an authorized Juniper reseller the applicable license(s) for use of the Software (“Customer”) (collectively, the “Parties”).
2. The Software. In this Agreement, “Software” means the program modules and features of the Juniper or Juniper-supplied software, for which Customer has paid the applicable license or support fees to Juniper or an authorized Juniper reseller, or which was embedded by Juniper in equipment which Customer purchased from Juniper or an authorized Juniper reseller. “Software” also includes updates, upgrades and new releases of such software. “Embedded Software” means Software which Juniper has embedded in or loaded onto the Juniper equipment and any updates, upgrades, additions or replacements which are subsequently embedded in or loaded onto the equipment.
3. License Grant. Subject to payment of the applicablefeesand the limitations andrestrictions set forthherein, Juniper grantsto Customer a non-exclusive and non-transferable license, without right to sublicense, to use the Software, in executable form only, subject to the following use restrictions:
a. Customer shall use Embedded Software solely as embedded in, and for execution on, Juniper equipment originally purchased by Customer from Juniper or an authorized Juniper reseller.
b. Customer shall use the Software on a single hardware chassis having a single processing unit, or as many chassis or processing units for which Customer has paid the applicable license fees; provided, however, with respect to the Steel-Belted Radius or Odyssey Access Client software only, Customer shall use such Software on a single computer containing a single physical random access memory space and containing any number of processors. Use of the Steel-Belted Radius or IMS AAA software on multiple computers or virtual machines (e.g., Solaris zones) requires multiple licenses, regardless of whether such computers or virtualizations are physically contained on a single chassis.
c. Product purchase documents, paper or electronic user documentation, and/or the particular licenses purchased by Customer may specify limitstoCustomer’suse ofthe Software.Such limitsmay restrict use toa maximum number of seats, registeredendpoints, concurrent users, sessions, calls, connections, subscribers, clusters, nodes, realms, devices, links, ports or transactions, or require the purchase of separate licenses to use particular features, functionalities, services, applications, operations, or capabilities, or provide throughput, performance, configuration, bandwidth, interface, processing, temporal, or geographical limits. In addition, such limits may restrict the use of the Software to managing certain kinds of networks or require the Software to be used only in conjunction with other specific Software. Customer’s use of the Software shall be subject to all such limitations and purchase of all applicable licenses.
d. For any trial copy of the Software, Customer’s right to use the Software expires 30 days after download, installation or use of the Software. Customer may operate the Software after the 30-day trial period only if Customer pays for a license to do so. Customer may not extend or create an additional trial period by re-installing the Software after the 30-day trial period.
e. The Global Enterprise Edition of the Steel-Belted Radius software may be used by Customer only to manage access to Customer’s enterprise network. Specifically, service provider customers are expressly prohibited from using the Global Enterprise Edition of the Steel-Belted Radius software to support any commercial network access services.
The foregoing license is not transferable or assignable by Customer. No license is granted herein to any user who did not originally purchase the applicable license(s) for the Software from Juniper or an authorized Juniper reseller.
4. Use Prohibitions. Notwithstanding the foregoing, the license provided herein does not permit the Customer to, and Customer agrees not to and shall not: (a) modify, unbundle, reverse engineer, or create derivative works based on the Software; (b) make unauthorized copies of the Software (except as necessary for backup purposes); (c) rent, sell, transfer, or grant any rights in and to any copy of the Software,in anyform, to anythird party; (d)removeany proprietary notices, labels,or marks on or in any copyof the Software or anyproduct in which the Software is embedded; (e) distribute any copy of the Software to any third party, including as may be embedded in Juniper equipment sold in thesecondhandmarket;(f) use any‘locked’ orkey-restricted feature,function, service, application,operation,or capability without first purchasing the applicable license(s) and obtaining a valid key from Juniper, even if such feature, function, service, application, operation, or capability is enabled without a key; (g) distribute any key for the Software provided by Juniper to any third party; (h) use the
iiiCopyright © 2010, Juniper Networks, Inc.
Software in any manner that extends or is broader than the uses purchased by Customer from Juniper or an authorized Juniper reseller; (i) use Embedded Software on non-Juniper equipment; (j) use Embedded Software (or make it available for use) on Juniper equipment that the Customer did not originally purchase from Juniper or an authorized Juniper reseller; (k) disclose the results of testing or benchmarking of the Software to any third party without the prior written consent of Juniper; or (l) use the Software in any manner other than as expressly provided herein.
5. Audit. Customer shall maintain accurate records as necessary to verify compliance with this Agreement. Upon request by Juniper, Customer shall furnish such records to Juniper and certify its compliance with this Agreement.
6. Confidentiality. The Parties agree that aspects of the Software and associated documentation are the confidential property of Juniper. As such, Customer shall exercise all reasonable commercialefforts to maintain the Software and associated documentation in confidence, which at a minimum includes restrictingaccess to the Software to Customer employees and contractors havinga need to use the Software for Customer’s internal business purposes.
7. Ownership. Juniper and Juniper’s licensors, respectively, retain ownership of all right, title, and interest (including copyright) in and to the Software, associated documentation, and all copies of the Software. Nothing in this Agreement constitutes a transfer or conveyance of any right, title, or interest in the Software or associated documentation, or a sale of the Software, associated documentation, or copies of the Software.
8. Warranty, Limitation of Liability, Disclaimer of Warranty. The warranty applicable to the Software shall be as set forth in the warranty statementthataccompaniesthe Software (the “Warranty Statement”). Nothing inthis Agreement shallgive rise to anyobligation tosupport the Software. Support services may be purchased separately. Any such support shall be governed by a separate, written support services agreement. TO THE MAXIMUM EXTENT PERMITTED BY LAW, JUNIPER SHALL NOT BE LIABLE FOR ANY LOST PROFITS, LOSS OF DATA, OR COSTS ORPROCUREMENT OFSUBSTITUTE GOODSOR SERVICES,OR FORANYSPECIAL,INDIRECT, ORCONSEQUENTIALDAMAGES ARISING OUTOF THIS AGREEMENT,THE SOFTWARE,OR ANY JUNIPEROR JUNIPER-SUPPLIED SOFTWARE. IN NOEVENT SHALL JUNIPER BE LIABLE FOR DAMAGES ARISING FROM UNAUTHORIZED OR IMPROPER USE OF ANY JUNIPER OR JUNIPER-SUPPLIED SOFTWARE. EXCEPT AS EXPRESSLY PROVIDED IN THE WARRANTY STATEMENT TO THE EXTENT PERMITTED BY LAW, JUNIPER DISCLAIMS ANY AND ALL WARRANTIES IN AND TO THE SOFTWARE (WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE), INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NONINFRINGEMENT. IN NO EVENT DOES JUNIPER WARRANT THAT THE SOFTWARE, OR ANY EQUIPMENT OR NETWORK RUNNING THE SOFTWARE, WILL OPERATE WITHOUT ERROR OR INTERRUPTION, OR WILL BE FREE OF VULNERABILITY TO INTRUSION OR ATTACK. In no event shall Juniper’s or its suppliers’ or licensors’ liability to Customer, whether in contract, tort (including negligence), breach of warranty, or otherwise, exceed the price paid by Customer for the Software that gave rise to the claim, or if the Software is embedded in another Juniper product, the price paid by Customer for such other product. Customer acknowledges and agrees that Juniper has set its prices and entered into this Agreement in reliance upon the disclaimers of warranty and the limitations of liability set forth herein, that the same reflect an allocation of risk between the Parties (including the risk that a contract remedy may fail of its essential purpose and cause consequential loss), and that the same form an essential basis of the bargain between the Parties.
9. Termination. Any breach of this Agreement or failure by Customer to pay any applicable fees due shall result in automatic termination of the license granted herein. Upon such termination, Customer shall destroy or return to Juniper all copies of the Software and related documentation in Customer’s possession or control.
10. Taxes. All license fees payable under this agreement are exclusive of tax. Customer shall be responsible for paying Taxes arising from the purchase of the license, or importation or use of the Software. If applicable, valid exemption documentation for each taxing jurisdiction shall be provided to Juniper prior to invoicing, and Customer shall promptly notify Juniper if their exemption is revoked or modified. All payments made by Customer shall be net of any applicable withholding tax. Customer will provide reasonable assistance to Juniper in connection with such withholding taxes by promptly: providing Juniper with valid tax receipts and other required documentation showing Customer’s payment of any withholding taxes; completing appropriate applications that would reduce the amount of withholding tax to be paid; and notifying and assisting Juniper in any audit or tax proceeding related to transactions hereunder. Customer shall comply with all applicable tax laws and regulations, and Customer will promptly pay or reimburse Juniper for all costs and damages related to any liability incurred by Juniper as a result of Customer’s non-compliance or delay with its responsibilities herein. Customer’s obligations under this Section shall survive termination or expiration of this Agreement.
11. Export. Customer agrees to comply with all applicable export laws and restrictions and regulations of any United States and any applicable foreign agency or authority, and not to export or re-export the Software or any direct product thereof in violation of any such restrictions, laws or regulations, or without all necessary approvals. Customer shall be liable for any such violations. The version of the Software supplied to Customer may contain encryption or other capabilities restricting Customer’s ability to export the Software without an export license.
Copyright © 2010, Juniper Networks, Inc.iv
12. Commercial Computer Software. The Software is “commercial computer software” and is provided with restricted rights. Use, duplication, or disclosure by the United States government is subject to restrictions set forth in this Agreement and as provided in DFARS
227.7201 through 227.7202-4, FAR 12.212, FAR 27.405(b)(2), FAR 52.227-19, or FAR 52.227-14(ALT III) as applicable.
13. Interface Information. To the extent required by applicable law, and at Customer's written request, Juniper shall provide Customer with the interface information needed to achieve interoperability between the Software and another independently created program, on payment of applicable fee, if any. Customer shall observe strict obligations of confidentiality with respect to such information and shall use such information in compliance with any applicable terms and conditions upon which Juniper makes such information available.
14. Third Party Software. Any licensor of Juniper whose software is embeddedin the Software and any supplier of Juniper whose products or technology are embedded in (or services are accessed by) the Software shall be a third party beneficiary with respect to this Agreement, and such licensor or vendor shallhave theright to enforce this Agreement in its own nameas if it were Juniper. In addition, certain third party software may be provided with the Software and is subject to the accompanying license(s), if any, of its respective owner(s). To the extent portions of the Software are distributed under and subject to open source licenses obligating Juniper to make the source code for such portions publicly available (such as the GNU General Public License (“GPL”) or the GNU Library General Public License (“LGPL”)), Juniper will make such source code portions (including Juniper modifications, as appropriate) available upon request for a period of up to three years from the date of distribution. Such request can be made in writing to Juniper Networks, Inc., 1194 N. Mathilda Ave., Sunnyvale, CA 94089, ATTN: General Counsel. You may obtain a copy of the GPL at http://www.gnu.org/licenses/gpl.html, and a copy of the LGPL
at http://www.gnu.org/licenses/lgpl.html .
15. Miscellaneous. This Agreement shall be governed by the laws of the State of California without reference to its conflicts of laws principles. The provisions of the U.N. Convention for the International Sale of Goods shall not apply to this Agreement. For any disputes arising under this Agreement, the Parties hereby consent to the personal and exclusive jurisdiction of, and venue in, the state and federal courts within Santa Clara County, California. This Agreement constitutes the entire and sole agreement between Juniper and the Customer with respect to the Software, and supersedes all prior and contemporaneous agreements relating to the Software, whether oral or written (including any inconsistent terms contained in a purchase order), except that the terms of a separate written agreement executed by an authorized Juniper representative and Customer shall govern to the extent such terms are inconsistent or conflict with terms contained herein. No modification to this Agreement nor any waiver of any rights hereunder shall be effective unless expressly assented to in writing by the party to be charged. If any portion of this Agreement is held invalid, the Parties agree that such invalidity shall not affect the validity of the remainder of this Agreement. This Agreement and associated documentation has been written in the English language, and the Parties agree that the English version will govern. (For Canada: Les parties aux présentés confirment leur volonté que cette convention de même que tous les documents y compris tout avis qui s'y rattaché, soient redigés en langue anglaise. (Translation: The parties confirm that this Agreement and all related documentation is and will be in the English language)).
vCopyright © 2010, Juniper Networks, Inc.
Copyright © 2010, Juniper Networks, Inc.vi
Abbreviated Table of Contents
About the Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix
Part 1 Internet Protocol Version 4
Chapter 1 Configuring IPv4 Multicast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Chapter 2 Configuring IGMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Chapter 3 Configuring PIM for IPv4 Multicast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Chapter 4 Configuring DVMRP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Part 2 Internet Protocol Version 6
Chapter 5 Configuring IPv6 Multicast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
Chapter 6 Configuring Multicast Listener Discovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
Chapter 7 Configuring PIM for IPv6 Multicast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
Part 3 Index
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
viiCopyright © 2010, Juniper Networks, Inc.
JunosE 11.2.x Multicast Routing Configuration Guide
Copyright © 2010, Juniper Networks, Inc.viii
Table of Contents
About the Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix
E Series and JunosE Documentation and Release Notes . . . . . . . . . . . . . . . . . . . . xix
Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix
E Series and JunosE Text and Syntax Conventions . . . . . . . . . . . . . . . . . . . . . . . . xix
Obtaining Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxi
Documentation Feedback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxi
Requesting Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxi
Self-Help Online Tools and Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxii
Opening a Case with JTAC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxii
Part 1 Internet Protocol Version 4
Chapter 1 Configuring IPv4 Multicast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
IPv4 Multicast Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Reverse-Path Forwarding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Multicast Packet Forwarding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Platform Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Configuring the Switch Fabric Bandwidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Enabling IP Multicast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Defining Static Routes for Reverse-Path Forwarding . . . . . . . . . . . . . . . . . . . . . . . . 7
Displaying Available Routes for Reverse-Path Forwarding . . . . . . . . . . . . . . . . . . . . 7
Enabling and Disabling RPF Checks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Using Unicast Routes for RPF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Defining Permanent IP Multicast Forwarding Entries . . . . . . . . . . . . . . . . . . . . . . . 10
Defining a Multicast Bandwidth Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Using the Autosense Mechanism . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
How Adaptive Mode Works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Multicast Bandwidth Map Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Configuring Multicast QoS Adjustment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Multicast OIF Mapping Case . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Multicast Traffic Receipt Without Forwarding . . . . . . . . . . . . . . . . . . . . . . . . . 16
Activating Multicast QoS Adjustment Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Configuring Hardware Multicast Packet Replication . . . . . . . . . . . . . . . . . . . . . . . . 17
Supported Modules and Encapsulations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Relationship with OIF Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Hardware Multicast Packet Replication Considerations . . . . . . . . . . . . . . . . . 21
Configuring Hardware Multicast Packet Replication . . . . . . . . . . . . . . . . . . . . 22
ixCopyright © 2010, Juniper Networks, Inc.
JunosE 11.2.x Multicast Routing Configuration Guide
Monitoring Hardware Multicast Packet Replication . . . . . . . . . . . . . . . . . . . . 24
Port Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
IP and VLAN Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
IGMP Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Blocking and Limiting Multicast Traffic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Blocking Mroutes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Limiting Interface Admission Bandwidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Enabling Interface Admission Bandwidth Limitation . . . . . . . . . . . . . . . . 26
OIF Interface Reevaluation Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Creating Mroute Port Limits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Limiting Port Admission Bandwidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Enabling Port Admission Bandwidth Control . . . . . . . . . . . . . . . . . . . . . . 27
OIF Port Reevaluation Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Deleting Multicast Forwarding Entries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Monitoring IP Multicast Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Support for Multicast Router Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
BGP Multicasting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Investigating Multicast Routes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 2 Configuring IGMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
IGMP Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Group Membership Queries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Group Membership Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Leave Group Membership Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Platform Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Configuring Static and Dynamic IGMP Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Enabling IGMP on an Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Configuring IGMP Settings for an Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Specifying Multicast Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Assigning a Multicast Group to an Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Configuring Group Outgoing Interface Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Configuring Access Node Control Protocol for IGMP . . . . . . . . . . . . . . . . . . . . . . . 52
Configuring SSM Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Limiting the Number of Accepted IGMP Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Including and Excluding Traffic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Configuring Explicit Host Tracking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Accepting IGMP Reports from Remote Subnetworks . . . . . . . . . . . . . . . . . . . . . . . 57
Disabling and Removing IGMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Monitoring IGMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
IGMP Proxy Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Configuring IGMP Proxy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Establishing the IGMP Proxy Baseline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Monitoring IGMP Proxy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Copyright © 2010, Juniper Networks, Inc.x
Table of Contents
Chapter 3 Configuring PIM for IPv4 Multicast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
PIM Dense Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Overriding Prunes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Preventing Duplication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
PIM Sparse Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
Joining Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Timers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
PIM Sparse Mode Bootstrap Router . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
PIM Sparse-Dense Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
PIM Source-Specific Multicast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Platform Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Enabling PIM on a VR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Disabling PIM on a VR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Enabling PIM on an Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Setting a Priority to Determine the Designated Router . . . . . . . . . . . . . . . . . . . . . 86
Configuring the PIM Join/Prune Message Interval . . . . . . . . . . . . . . . . . . . . . . . . . 87
Configuring an RP Router for PIM Sparse Mode and PIM Sparse-Dense Mode . . 88
Configuring a Static RP Router . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Configuring an Auto-RP Router for PIM Sparse Mode . . . . . . . . . . . . . . . . . . 88
Configuring an Auto-RP Router for PIM Sparse-Dense Mode . . . . . . . . . . . . 88
Configuring BSR and RP Candidates for PIM Sparse Mode . . . . . . . . . . . . . . . . . . 90
Migrating to BSR from Auto-RP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
Switching to an SPT for PIM Sparse Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
Creating Multicast VPNs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
Creating Multicast VPNs Using the Default MDT . . . . . . . . . . . . . . . . . . . . . . . 92
Multicast VPN Configuration Example . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Creating Multicast VPNs Using the Data MDT . . . . . . . . . . . . . . . . . . . . . . . . . 96
Data MDT Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
Data MDT Receivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
Establishing a Data MDT Using ASM or SSM . . . . . . . . . . . . . . . . . . . . . . 97
Configuring the Default MDT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Configuring Data MDTs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Using PIM Sparse Mode Join Filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Configuring PIM SSM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Configuring the BFD Protocol for PIM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
Removing PIM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
Resetting PIM Counters and Mappings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
Monitoring PIM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Monitoring PIM Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Monitoring PIM Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
Chapter 4 Configuring DVMRP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
Identifying Neighbors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
Advertising Routes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
Platform Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
xiCopyright © 2010, Juniper Networks, Inc.
JunosE 11.2.x Multicast Routing Configuration Guide
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
Enabling DVMRP on a VR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
Activating DVMRP on an Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
Configuring DVMRP Limits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Filtering DVMRP Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Configuring DVMRP Summary Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Changing the Metric for a Route . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
Importing Routes from Other Protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Specifying Routes to Be Advertised . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Preventing Dynamic Route Distribution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Exchanging DVMRP Unicast Routes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
Disabling and Removing DVMRP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
Clearing DVMRP Routes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
Configuring DVMRP Tunnels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
Monitoring DVMRP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
Part 2 Internet Protocol Version 6
Chapter 5 Configuring IPv6 Multicast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
IPv6 Multicast Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
Reverse-Path Forwarding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
Multicast Packet Forwarding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
Platform Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
Configuring the Switching Fabric Bandwidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
Enabling IPv6 Multicast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
Defining Static Routes for Reverse-Path Forwarding . . . . . . . . . . . . . . . . . . . . . . 144
Displaying Available Routes for Reverse-Path Forwarding . . . . . . . . . . . . . . . . . . 145
Enabling and Disabling RPF Checks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
Using Unicast Routes for RPF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Defining Permanent IPv6 Multicast Forwarding Entries . . . . . . . . . . . . . . . . . . . . 147
Defining a Multicast Bandwidth Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
Using the Auto-Sense Mechanism . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
How Adaptive Mode Works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
Multicast Bandwidth Map Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
Configuring Multicast QoS Adjustment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
Multicast OIF Mapping Case . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
Multicast Traffic Receipt Without Forwarding . . . . . . . . . . . . . . . . . . . . . . . . 153
Activating Multicast QoS Adjustment Functions . . . . . . . . . . . . . . . . . . . . . . . . . . 153
Configuring Hardware Multicast Packet Replication . . . . . . . . . . . . . . . . . . . . . . . 154
Supported Modules and Encapsulations . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
Relationship with OIF Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
Hardware Multicast Packet Replication Considerations . . . . . . . . . . . . . . . . 158
Configuring Hardware Multicast Packet Replication . . . . . . . . . . . . . . . . . . . 159
Monitoring Optimized Multicast Packet Replication . . . . . . . . . . . . . . . . . . . . 161
Port Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
IP and VLAN Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
Copyright © 2010, Juniper Networks, Inc.xii
Table of Contents
MLD Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
Blocking and Limiting Multicast Traffic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
Blocking Mroutes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
Limiting Interface Admission Bandwidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
Enabling Interface Admission Bandwidth Limitation . . . . . . . . . . . . . . . 162
OIF Interface Reevaluation Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
Creating Mroute Port Limits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
Limiting Port Admission Bandwidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
Enabling Port Admission Bandwidth Control . . . . . . . . . . . . . . . . . . . . . 164
OIF Port Reevaluation Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
Deleting Multicast Forwarding Entries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
Monitoring IPv6 Multicast Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
BGP Multicast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
Chapter 6 Configuring Multicast Listener Discovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
Multicast Listener Queries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
Multicast Listener Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
Multicast Listener Done Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
Platform Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
Configuring Static and Dynamic MLD Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . 178
Enabling MLD on an Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
Configuring MLD Settings for an Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
Specifying Multicast Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
Assigning a Multicast Group to an Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
Configuring Group Outgoing Interface Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . 184
Configuring SSM Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
Limiting the Number of Accepted MLD Groups . . . . . . . . . . . . . . . . . . . . . . . . . . 186
Including and Excluding Traffic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
Configuring Explicit Host Tracking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
Disabling and Removing MLD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
Monitoring MLD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
MLD Proxy Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
Configuring MLD Proxy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
Setting the MLD Proxy Baseline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
Monitoring MLD Proxy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
Chapter 7 Configuring PIM for IPv6 Multicast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
PIM Sparse Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
Joining Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
Timers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
PIM Sparse Mode Bootstrap Router . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
PIM Source-Specific Multicast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
Platform Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
Enabling and Disabling PIM on a VR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
xiiiCopyright © 2010, Juniper Networks, Inc.
JunosE 11.2.x Multicast Routing Configuration Guide
Enabling PIM on an Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
Setting a Priority to Determine the Designated Router . . . . . . . . . . . . . . . . . . . . . 212
Configuring the PIM Join/Prune Message Interval . . . . . . . . . . . . . . . . . . . . . . . . . 213
Configuring an RP Router for PIM Sparse Mode . . . . . . . . . . . . . . . . . . . . . . . . . . 213
Configuring BSR and RP Candidates for PIM Sparse Mode . . . . . . . . . . . . . . . . . 214
Switching to an SPT for PIM Sparse Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216
Configuring PIM Sparse Mode Remote Neighbors . . . . . . . . . . . . . . . . . . . . . . . . 216
Using PIM Sparse Mode Join Filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
Configuring PIM SSM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
Configuring the BFD Protocol for PIM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
Removing PIM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
Resetting PIM Counters and Mappings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
Monitoring PIM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
Monitoring PIM Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
Monitoring PIM Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
Part 3 Index
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
Copyright © 2010, Juniper Networks, Inc.xiv
List of Figures
Part 1 Internet Protocol Version 4
Chapter 1 Configuring IPv4 Multicast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Figure 1: Example of Adaptive IPv4 Multicast Bandwidth Detection . . . . . . . . . . . . 12
Figure 2: Multicast OIF Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Figure 3: Multicast Traffic Receipt Without Forwarding . . . . . . . . . . . . . . . . . . . . . . 17
Figure 4: Packet Flow Without Hardware Multicast Packet Replication . . . . . . . . . 18
Figure 5: Packet Flow with Hardware Multicast Packet Replication . . . . . . . . . . . . 19
Chapter 2 Configuring IGMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Figure 6: Static and Dynamic IGMP Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Figure 7: Upstream and Downstream Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Chapter 3 Configuring PIM for IPv4 Multicast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Figure 8: Source-Rooted Tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Figure 9: PIM Dense Mode Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Figure 10: Detecting Duplication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
Figure 11: PIM Sparse Mode Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Figure 12: Shared Tree Versus SPT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Figure 13: Multicast VPNs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Part 2 Internet Protocol Version 6
Chapter 5 Configuring IPv6 Multicast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
Figure 14: Example of Adaptive IPv6 Multicast Bandwidth Detection . . . . . . . . . 149
Figure 15: Multicast OIF Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
Figure 16: Multicast Traffic Receipt Without Forwarding . . . . . . . . . . . . . . . . . . . . 153
Figure 17: Packet Flow Without Hardware Multicast Packet Replication . . . . . . . 155
Figure 18: Packet Flow with Optimized Multicast Packet Replication . . . . . . . . . 156
Chapter 6 Configuring Multicast Listener Discovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
Figure 19: Static and Dynamic MLD Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
Figure 20: Upstream and Downstream Interfaces . . . . . . . . . . . . . . . . . . . . . . . . 201
Chapter 7 Configuring PIM for IPv6 Multicast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
Figure 21: Source-Rooted Tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
Figure 22: Network on Which to Configure PIM SSM . . . . . . . . . . . . . . . . . . . . . . . 219
xvCopyright © 2010, Juniper Networks, Inc.
JunosE 11.2.x Multicast Routing Configuration Guide
Copyright © 2010, Juniper Networks, Inc.xvi
List of Tables
About the Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix
Table 1: Notice Icons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xx
Table 2: Text and Syntax Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xx
Part 1 Internet Protocol Version 4
Chapter 1 Configuring IPv4 Multicast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Table 3: Function of Multicast Protocols on a Router . . . . . . . . . . . . . . . . . . . . . . . . 4
Table 4: Adaptive Mode Algorithm Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Chapter 2 Configuring IGMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Table 5: IGMP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Chapter 4 Configuring DVMRP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Table 6: Sample Routing Table for a DVMRP Router . . . . . . . . . . . . . . . . . . . . . . . 123
Table 7: Sample DVMRP (S,G) Pair Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Part 2 Internet Protocol Version 6
Chapter 5 Configuring IPv6 Multicast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
Table 8: Function of Multicast Protocols on a Router . . . . . . . . . . . . . . . . . . . . . . 142
Table 9: Adaptive Mode Algorithm Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
Chapter 6 Configuring Multicast Listener Discovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
Table 10: Static MLD Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
xviiCopyright © 2010, Juniper Networks, Inc.
JunosE 11.2.x Multicast Routing Configuration Guide
Copyright © 2010, Juniper Networks, Inc.xviii
About the Documentation
E Series and JunosE Documentation and Release Notes on page xix
Audience on page xix
E Series and JunosE Text and Syntax Conventions on page xix
Obtaining Documentation on page xxi
Documentation Feedback on page xxi
Requesting Technical Support on page xxi
E Series and JunosE Documentation and Release Notes
For a list of related JunosE documentation, see
http://www.juniper.net/techpubs/software/index.html .
If the information in the latest release notes differs from the information in the documentation, follow the JunosE Release Notes.
To obtain the most current version of all Juniper Networks®technical documentation,
see the product documentation page on the Juniper Networks website at
http://www.juniper.net/techpubs/.
Audience
This guide is intended for experienced system and network specialists working with Juniper Networks E SeriesBroadband Services Routers in an Internet access environment.
E Series and JunosE Text and Syntax Conventions
Table 1 on page xx defines notice icons used in this documentation.
xixCopyright © 2010, Juniper Networks, Inc.
JunosE 11.2.x Multicast Routing Configuration Guide
Table 1: Notice Icons
Table 2 on page xx defines text and syntax conventions that we use throughout the E Series and JunosE documentation.
DescriptionMeaningIcon
Indicates important features or instructions.Informational note
Indicates a situation that might result in loss of data or hardware damage.Caution
Alerts you to the risk of personal injury or death.Warning
Alerts you to the risk of personal injury from a laser.Laser warning
Table 2: Text and Syntax Conventions
Representscommandsand keywordsin text.Bold text like this
Fixed-width text like this
Italic text like this
Plus sign (+) linking key names
Syntax Conventions in the Command Reference Guide
Representsinformationas displayedon your terminal’s screen.
Emphasizes words.
Identifies variables.
Identifies chapter, appendix, and book names.
keys simultaneously.
ExamplesDescriptionConvention
Issue the clock source command.
Specify the keyword exp-msg.
host1(config)#traffic class low-loss1Represents text that the user must type.Bold text like this
host1#show ip ospf 2
Routing Process OSPF 2 with Router ID 5.5.0.250 Router is an Area Border Router (ABR)
There are two levels of access: user and privileged.
clusterId, ipAddress.
Appendix A, System Specifications
Press Ctrl + b.Indicates that you must press two or more
terminal lengthRepresents keywords.Plain text like this
mask, accessListNameRepresents variables.Italic text like this
Copyright © 2010, Juniper Networks, Inc.xx
Table 2: Text and Syntax Conventions (continued)
About the Documentation
ExamplesDescriptionConvention
| (pipe symbol)
or variable to the left or to the right of this symbol. (The keyword or variable can be either optional or required.)
[ ]* (brackets and asterisk)
that can be entered more than once.
Represent required keywords or variables.{ } (braces)
Obtaining Documentation
To obtain the most current version of all Juniper Networks technical documentation, see the Technical Documentation page on the Juniper Networks Web site at
http://www.juniper.net/.
To download complete sets of technical documentation to create your own documentation CD-ROMs or DVD-ROMs, see the Portable Libraries page at
http://www.juniper.net/techpubs/resources/index.html
diagnostic | lineRepresents a choice to select one keyword
[ internal | external ]Represent optional keywords or variables.[ ] (brackets)
[ level1 | level2 | l1 ]*Represent optional keywords or variables
{ permit | deny } { in | out }
{ clusterId | ipAddress }
Copies of the Management Information Bases (MIBs) for a particular software release are available for download in the software image bundle from the Juniper Networks Web site athttp://www.juniper.net/.
Documentation Feedback
We encourage you to provide feedback, comments, and suggestions so that we can improve the documentation to better meet your needs. Send your comments to
techpubs-comments@juniper.net, or fill out the documentation feedback form at
https://www.juniper.net/cgi-bin/docbugreport/. If you are using e-mail, be sure to include
the following information with your comments:
Document or topic name
URL or page number
Software release version
Requesting Technical Support
Technical productsupport isavailable through theJuniper NetworksTechnical Assistance Center (JTAC). If you are a customer with an active J-Care or JNASC support contract,
xxiCopyright © 2010, Juniper Networks, Inc.
JunosE 11.2.x Multicast Routing Configuration Guide
or are covered under warranty, and need post-sales technical support, you can access our tools and resources online or open a case with JTAC.
JTAC policies—For a complete understanding of our JTAC procedures and policies, review the JTAC User Guide located at
http://www.juniper.net/us/en/local/pdf/resource-guides/7100059-en.pdf .
Product warranties—For product warranty information, visit
http://www.juniper.net/support/warranty/ .
JTAC hours of operation—The JTAC centers have resources available 24 hours a day, 7 days a week, 365 days a year.
Self-Help Online Tools and Resources
For quick and easy problem resolution, Juniper Networks has designed an online self-service portal called the Customer Support Center (CSC) that provides you with the following features:
Find CSC offerings: http://www.juniper.net/customers/support/
Search for known bugs: http://www2.juniper.net/kb/
Find product documentation: http://www.juniper.net/techpubs/
Find solutions and answer questions using our Knowledge Base: http://kb.juniper.net/
Download the latest versions of software and review release notes:
http://www.juniper.net/customers/csc/software/
Search technical bulletins for relevant hardware and software notifications:
https://www.juniper.net/alerts/
Join and participate in the Juniper Networks Community Forum:
http://www.juniper.net/company/communities/
Open a case online in the CSC Case Management tool: http://www.juniper.net/cm/
To verifyservice entitlement by product serialnumber, use our Serial Number Entitlement (SNE) Tool: https://tools.juniper.net/SerialNumberEntitlementSearch/
Opening a Case with JTAC
You can open a case with JTAC on the Web or by telephone.
Use the Case Management tool in the CSC at http://www.juniper.net/cm/ .
Call 1-888-314-JTAC (1-888-314-5822 toll-free in the USA, Canada, and Mexico).
For international or direct-dial options in countries without toll-free numbers, see
http://www.juniper.net/support/requesting-support.html .
Copyright © 2010, Juniper Networks, Inc.xxii
PART 1
Internet Protocol Version 4
Configuring IPv4 Multicast on page 3
Configuring IGMP on page 41
Configuring PIM for IPv4 Multicast on page 77
Configuring DVMRP on page 121
1Copyright © 2010, Juniper Networks, Inc.
JunosE 11.2.x Multicast Routing Configuration Guide
Copyright © 2010, Juniper Networks, Inc.2
CHAPTER 1
Configuring IPv4 Multicast
IPv4 multicast enables a device to send packets to a group of hosts rather than to a list of individual hosts. This chapter describes how to configure IP multicast on the E Series router; it contains the following sections:
IPv4 Multicast Overview on page 3
Platform Considerations on page 5
References on page 6
Before You Begin on page 6
Configuring the Switch Fabric Bandwidth on page 6
Enabling IP Multicast on page 6
Defining Static Routes for Reverse-Path Forwarding on page 7
Displaying Available Routes for Reverse-Path Forwarding on page 7
Enabling and Disabling RPF Checks on page 9
Using Unicast Routes for RPF on page 9
Defining Permanent IP Multicast Forwarding Entries on page 10
Defining a Multicast Bandwidth Map on page 10
Configuring Multicast QoS Adjustment on page 15
Activating Multicast QoS Adjustment Functions on page 17
Configuring Hardware Multicast Packet Replication on page 17
Blocking and Limiting Multicast Traffic on page 25
Deleting Multicast Forwarding Entries on page 29
Monitoring IP Multicast Settings on page 29
BGP Multicasting on page 39
Investigating Multicast Routes on page 39
IPv4 Multicast Overview
IPv4 defines three types of addresses: unicast, broadcast, and multicast. Each type of address enables a device to send datagrams to selected recipients:
A unicast address enables a device to send a datagram to a single recipient.
3Copyright © 2010, Juniper Networks, Inc.
JunosE 11.2.x Multicast Routing Configuration Guide
A broadcastaddress enables adevice to senda datagram to allhosts ona subnetwork.
A multicast address enables a device to send a datagram to a specified set of hosts, known as a multicast group, in different subnetworks.
Multicast IP packets contain a class D address in the Destination Address fields of their headers. Aclass D address is the IP address of a multicast group. See “Configuring IGMP” on page 41 and JunosE IP, IPv6, and IGP Configuration Guide, for information about class D addresses.
IP multicast improves network efficiency by enabling a host to transmit a datagram to a targeted group of receivers. For example, for a host to send a large video clip to a group of selected recipientswouldbe time-consumingto unicast the datagram to each recipient individually. If the host broadcasts the video clip throughout the network, network resources are not available for other tasks. The host uses only the resources it needs when multicasting the datagram.
Routers use multicast routing algorithms to determine the best route and transmit multicast datagrams throughout the network. E Series routers support a number of IP multicast protocols on virtual routers (VRs). Each VR handles the interoperability of IP multicast protocols automatically. To start multicast operation on a VR, you access the context for that VR and configure the desired protocols on the selected interfaces. Table 3 on page 4 describes the function of each protocol that the router supports.
Table 3: Function of Multicast Protocols on a Router
ProtocolIndependent Multicast Protocol (PIM)
Distance Vector Multicast Routing Protocol (DVMRP)
BGP Multicasting Protocol
The router supports up to 16,384 multicast forwarding entries (multicast routes) at any time.
Reverse-Path Forwarding
IP multicasting uses reverse path forwarding (RPF) to verify that a router receives a multicast packet on the correct incoming interface. The RPF algorithm enables a router to accept a multicast datagram only on the interface from which the router sends a unicast datagram to the source of the multicast datagram.
When the router receives a multicast datagram from a source for a group, the router verifies that the packet was received on the correct RPF interface. If the packet was not
FunctionProtocol
Discovers hosts that belong to multicast group.Internet Group Membership Protocol (IGMP)
Discovers other multicast routers to receive multicast packets.
Routes multicast datagrams within autonomous systems.
Routes multicast datagrams between autonomous systems.
Copyright © 2010, Juniper Networks, Inc.4
received on the correct interface, the router discards the packet. Only packets received on the correct RPF interface are considered for forwarding to downstream receivers.
When operating in sparse-mode, the routers perform an RPF lookup to identify the upstream router from which to request the data and then send join messages for the multicast stream only to that router.
When operating in dense-mode, routers that have multiple paths to the source of the multicast stream initially receive the same stream on more than one interface. In this case, the routers perform an RPF lookup to identify multicast data streams that are not arriving on the best path and send prune messages to terminate these flows.
The RPF lookup need not always be towards the source of the multicast stream. The lookup is done towards the source only when the router is using a source-rooted tree to receive the multicast stream. If the router uses a shared tree instead, the RPF lookup is toward a rendezvous point and not toward the source of the multicast stream.
Multicast Packet Forwarding
Multicast packet forwarding is based on the source (S) of the multicast packet and the destination multicast group address (G). Foreach (S,G) pair, the router accepts multicast packetson an incoming interface(IIF), whichsatisfies the RPF check (RPF-IIF). The router drops packets received on IIFs other than the RPF-IIF and notifies the routing protocols that a packet was received on the wrong interface.
Chapter 1: Configuring IPv4 Multicast
The router forwards packets receivedon theRPF-IIF to alist of outgoing interfaces (OIFs). The list of OIFs is determined by the exchange of routing information and local group membership information. The router maintains mappings of (S,G, IIF) to {OIF1, OIF2…} in the multicast routing table.
You can enable two or more multicast protocols on an IIF. However, only one protocol can forward packets on that IIF. The protocol that forwards packets on an IIF owns that IIF.A multicast protocol that owns anIIF also owns the (S,G) entry in the multicast routing table.
Platform Considerations
For information about modules that support IP multicasting on the ERX7xx models, ERX14xx models, and the Juniper Networks ERX310 Broadband Services Router:
See ERX Module Guide, Table 1, Module Combinations for detailed module specifications.
See ERX Module Guide, Appendix A, Module Protocol Support for information about the modules that support IP multicasting.
For information about modules that support IP multicasting on the Juniper Networks E120 and E320 Broadband Services Routers:
See E120 and E320 Module Guide, Table 1, Modules and IOAs for detailed module specifications.
See E120 and E320 Module Guide, Appendix A, IOA Protocol Support for information about the modules that support IP multicasting.
5Copyright © 2010, Juniper Networks, Inc.
JunosE 11.2.x Multicast Routing Configuration Guide
References
For more information about IP multicast, see the following resources:
A “traceroute” Facility for IPMulticast—draft-ietf-idmr-traceroute-ipm-07.txt(January 2001 expiration)
RFC 2858—Multiprotocol Extensions for BGP-4 (June 2000)
RFC 2932—IPv4 Multicast Routing MIB (October 2000)
RFC 3292—General Switch Management Protocol (GSMP) V3 (June 2002)
NOTE: IETF drafts are valid for only 6 months from the date of issuance. They must be
considered as works in progress. Refer to the IETF Web site at http://www.ietf.org for the latest drafts.
Before You Begin
You can configure multicasting on IPv4 and IPv6 interfaces.
For information about configuring IP and IPv6 interfaces, see JunosE IP, IPv6, and IGP Configuration Guide.
For information about configuring multicast on IPv6 interfaces, see “Configuring IPv6 Multicast” on page 141.
Configuring the Switch Fabric Bandwidth
By default, the switch fabric for the Juniper Networks ERX1440, ERX310, E120, and E320 Broadband Services Routers uses a bandwidth weighting ratio of 15:2 for multicast-to-unicast weighted round robin(WRR). In the absence of strict-prioritytraffic, and when both unicast and multicast traffic compete for switch fabric bandwidth, the switch fabric allocates15/17ths of the available bandwidth to multicasttraffic and 2/17ths of the available bandwidth to unicast traffic.
You can use the fabric weights command to change the ratio for multicast-to-unicast traffic on the router switch fabric. For more information about the fabric weights command, see JunosE System Basics Configuration Guide.
Enabling IP Multicast
In thisimplementation,IP multicast works on virtual routers (VRs).By default,IP multicast is disabled on a VR. To enable IP multicast on a VR, access the context for a VR, and then issue the ip multicast-routing command.
ip multicast-routing
Copyright © 2010, Juniper Networks, Inc.6
Use to enable IP multicast routing on the VR.
By default, IP multicast is disabled on the VR. In the disabled state, all multicast
protocols are disabled, and the VR forwards no multicast packets.
Example
host1(config)#ip multicast-routing
Use the no version to disable IP multicast routing on the VR (the default).
See ip multicast-routing.
Defining Static Routes for Reverse-Path Forwarding
Use the ip rpf-route command to define reverse-path forwarding (RPF) to verify that a router receives a multicast packet on the correct incoming interface.
ip rpf-route
Use to customize static routes that the router may use for RPF.
Chapter 1: Configuring IPv4 Multicast
Specify the IP address and subnet mask of the destination network.
Specify eithera next-hop IPaddressor aninterfacetype and specifier, such as atm 3/0.
For details about interface types and specifiers, see Interface Types and Specifiers in JunosE Command Reference Guide.
Optionally, specify the distance (number of hops) to the next-hop address.
Optionally, specify a route's tag number to identify a particular route in the routing
table.
Example
host1(config)#ip rpf-route 11.1.0.0 255.255.0.0 atm4/1.1 56 tag 25093
Use the no version to remove the static route.
See ip rpf-route.
Displaying Available Routes for Reverse-Path Forwarding
Use the show ip rpf-route command to display all available routes, only the routes to a particular destination, orroutes associatedwith a specific unicast protocol that therouter can use for Reverse-Path Forwarding (RPF).
show ip rpf-route
Use to display routes that the router can use for RPF.
Specify the IP address and the network mask toview routes to a particular destination.
Specify a unicast routing protocol to view routes associated with that protocol.
Field descriptions
7Copyright © 2010, Juniper Networks, Inc.
JunosE 11.2.x Multicast Routing Configuration Guide
Prefix—Value of the logical AND of the IP address of the destination network and
the subnet address
Length—Length of the subnet mask in bits
Type—Protocol type for the interface
Connect—Subnet directly connected to the interface
Static—Static route
protocol-name—Route learned through the named protocol
Next Hop—IP address of the next hop for this route
Dist—Distance configured for this route
Met—Learned or configured cost associated with this route
Intf—Type of interface and interface specifier for the next hop. For details about
interfacetypes and specifiers,seeInterface Types andSpecifiersin JunosECommand Reference Guide.
Example 1
host1#show ip rpf-route Protocol/Route type codes: I1- ISIS level 1, I2- ISIS level2, I- route type intra, IA- route type inter, E- route type external, i- metric type internal, e- metric type external, O- OSPF, E1- external type 1, E2- external type2, N1- NSSA external type1, N2- NSSA external type2 L- MPLS label, V- VR/VRF, *- indirect next-hop
Prefix/Length Type Next Hop Dist/Met Intf
------------- ---- -------- -------- ------
10.10.0.112/32 Static 192.168.1.1 1/1 fastEthernet0/0
10.1.1.0/24 Connect 10.1.1.1 0/1 atm3/0.100
25.25.25.25/32 Connect 25.25.25.25 0/1 loopback0
Example 2
host1#show ip rpf-route static Protocol/Route type codes: I1- ISIS level 1, I2- ISIS level2, I- route type intra, IA- route type inter, E- route type external, i- metric type internal, e- metric type external, O- OSPF, E1- external type 1, E2- external type2, N1- NSSA external type1, N2- NSSA external type2 L- MPLS label, V- VR/VRF, *- indirect next-hop
Prefix/Length Type Next Hop Dist/Met Intf
------------- ---- -------- -------- --------------
10.10.0.112/32 Static 192.168.1.1 1/1 fastEthernet0/0
See show ip rpf-route.
Copyright © 2010, Juniper Networks, Inc.8
Loading...
+ 232 hidden pages