Interdomain Multicast Soln Guide 1587050838
Interdomain Multicast Soln Guide 1587050838
Interdomain Multicast
Solutions Guide
Cisco Systems, Inc.
Brian Adams
Ed Cheng
Tina Fox
Andy Kessler
Mark Manzanares
Bryan Mclaughlin
Jim Rushton
Beverly Tai
Kevin Tran
Cisco Press
Cisco Press
201 West 103rd Street
Indianapolis, IN 46290 USA
0838_FMi.fm Page ii Friday, May 24, 2002 11:06 AM
ii
Feedback Information
At Cisco Press, our goal is to create in-depth technical books of the highest quality and value. Each book is crafted
with care and precision, undergoing rigorous development that involves the unique expertise of members from the
professional technical community.
Readers' feedback is a natural continuation of this process. If you have any comments regarding how we could
improve the quality of this book, or otherwise alter it to better suit your needs, you can contact us through e-mail at
[email protected]. Please make sure to include the book title and ISBN in your message.
We greatly appreciate your assistance.
Trademark Acknowledgments
All terms mentioned in this book that are known to be trademarks or service marks have been appropriately capital-
ized. Cisco Press or Cisco Systems, Inc. cannot attest to the accuracy of this information. Use of a term in this book
should not be regarded as affecting the validity of any trademark or service mark.
0838_FMi.fm Page iii Friday, May 24, 2002 11:06 AM
iii
Cisco Systems has more than 200 offices in the following countries. Addresses, phone numbers, and fax numbers are listed on
the Cisco Web site at www.cisco.com/go/offices
Argentina • Australia • Austria • Belgium • Brazil • Bulgaria • Canada • Chile • China • Colombia • Costa
Rica • Croatia • Czech Republic • Denmark • Dubai, UAE • Finland • France • Germany • Greece • Hong
Kong • Hungary • India • Indonesia • Ireland Israel • Italy • Japan • Korea • Luxembourg • Malaysia •
Mexico • The Netherlands • New Zealand • Norway • Peru • Philippines Poland • Portugal • Puerto Rico •
Romania • Russia • Saudi Arabia • Scotland • Singapore • Slovakia • Slovenia • South Africa • Spain Sweden
• Switzerland • Taiwan • Thailand • Turkey • Ukraine • United Kingdom • United States • Venezuela • Vietnam
• Zimbabwe
Copyright © 2000, Cisco Systems, Inc. All rights reserved. Access Registrar, AccessPath, Are You Ready, ATM Director, Browse with Me, CCDA, CCDE, CCDP, CCIE, CCNA,
CCNP, CCSI, CD-PAC, CiscoLink, the Cisco NetWorks logo, the Cisco Powered Network logo, Cisco Systems Networking Academy, Fast Step, FireRunner, Follow Me Browsing,
FormShare, GigaStack, IGX, Intelligence in the Optical Core, Internet Quotient, IP/VC, iQ Breakthrough, iQ Expertise, iQ FastTrack, iQuick Study, iQ Readiness Scorecard, The
iQ Logo, Kernel Proxy, MGX, Natural Network Viewer, Network Registrar, the Networkers logo, Packet, PIX, Point and Click Internetworking, Policy Builder, RateMUX,
ReyMaster, ReyView, ScriptShare, Secure Script, Shop with Me, SlideCast, SMARTnet, SVX, TrafficDirector, TransPath, VlanDirector, Voice LAN, Wavelength Router,
Workgroup Director, and Workgroup Stack are trademarks of Cisco Systems, Inc.; Changing the Way We Work, Live, Play, and Learn, Empowering the Internet Generation, are
service marks of Cisco Systems, Inc.; and Aironet, ASIST, BPX, Catalyst, Cisco, the Cisco Certified Internetwork Expert Logo, Cisco IOS, the Cisco IOS logo, Cisco Press, Cisco
Systems, Cisco Systems Capital, the Cisco Systems logo, Collision Free, Enterprise/Solver, EtherChannel, EtherSwitch, FastHub, FastLink, FastPAD, IOS, IP/TV, IPX, LightStream,
LightSwitch, MICA, NetRanger, Post-Routing, Pre-Routing, Registrar, StrataView Plus, Stratm, SwitchProbe, TeleRouter, are registered trademarks of Cisco Systems, Inc. or its
affiliates in the U.S. and certain other countries.
All other brands, names, or trademarks mentioned in this document or Web site are the property of their respective owners. The use of the word partner does not imply a partnership
relationship between Cisco and any other company. (0010R)
0838_FMi.fm Page iv Friday, May 24, 2002 11:06 AM
iv
vi
Acknowledgments
This project was truly a collaborative effort. Many people contributed their time, effort, and expertise in creating the
material presented in this book.
Many thanks to Andy Kessler for his invaluable contributions to this book; without his help and direction, it is
unlikely that this project would have been completed. We love you, Andy!
Many thanks, also, to Brian Mclaughlin for his contribution to this book during the developmental edit review
cycle. Without Bryan’s support, this book would never have been completed in time to meet publication deadlines.
We love you too, Bryan!
Thanks to Mark Manzanares and Ed Cheng for setting up the test lab environment and providing all the configuration
files, to Beverly Tai for gathering all the pieces and making it into a book, to Brian Adams for editing this material
(twice!), and to Scott Miller for his help with all of the illustrations.
Thanks to Jim Rushton for putting the command summary together, to Toerless Eckert for his contributions to the
theoretical content in this book and for his skills in reviewing this material, and to Tina Fox and Bob Anstey for pre-
senting the idea for this book to Cisco Press and pushing this project along.
Thanks to all of our reviewers: Greg Shepherd, John Zwiebel, Shobana Gubbi, and Vinay Anand. Last but not least,
thanks to every member of the IP Multicast Solutions documentation team, whose participation anchored this
project in the first place: Andy Kessler, Steve Weber, Mark Manzanares, Kevin Tran, Yao-Hua Teng, Ed Cheng,
Tina Fox, Beverly Tai, Dan Alvarez, Toerless Eckert, and Bryan Mclaughlin.
0838_FMi.fm Page vii Friday, May 24, 2002 11:06 AM
vii
Contents at a Glance
Introduction xiv
Part I Introduction 3
Chapter 1 IP Multicast Technology Overview 5
viii
Contents
Introduction xiv
Part I Introduction 3
Chapter 1 IP Multicast Technology Overview 5
IP Multicast 5
Multicast Group Concept 6
IP Multicast Addresses 7
IP Class D Addresses 7
Layer 2 Multicast Addresses 9
Intradomain Multicast Protocols 11
Internet Group Management Protocol (IGMP) 11
Multicast in the Layer 2 Switching Environment 16
Multicast Distribution Trees 19
Multicast Forwarding 22
Protocol Independent Multicast (PIM) 24
Bidirectional PIM (Bidir-PIM) 26
Pragmatic General Multicast (PGM) 27
Interdomain Multicast Protocols 27
Multiprotocol Border Gateway Protocol (MBGP) 27
Multicast Source Discovery Protocol (MSDP) 28
Source Specific Multicast (SSM) 32
Summary 32
Related Documents 33
ix
xi
ISP4BB4 229
Device Characteristics for ISP4BB4 229
Configuration File for ISP4BB4 230
xii
xiii
xiv
Introduction
The objective of this book is to assist network architects and operators in designing and implementing
Cisco IP multicast into their production networks by providing verified end-to-end network design and
configuration examples. This book targets competent, proficient, and expert users. The solutions pre-
sented in this book are intended primarily for network administrators and operations teams working for
service providers that provide IP multicast services to their customers. The solutions are also useful for
enterprise customers who want to establish IP multicast services within their own network environment.
Organization
This book is organized into four parts, as follows:
• Part 1 provides a brief summary and review of IP multicast.
• Part II provides interdomain multicast solutions using Protocol Independent Multicast Sparse Mode
(PIM-SM), Multiprotocol Border Gateway Protocol (MBGP), and Multicast Source Discover Proto-
col (MSDP). The solutions described in Part II are based on a network topology consisting of four
different Internet service providers (ISPs). The interdomain multicast implementation for each ISP
is presented separately, with emphasis on the following three implementations:
— intradomain multicast
— interdomain multicast
— connecting customers to an ISP infrastructure
• Part III provides interdomain multicast solutions using Source Specific Multicast (SSM). The solu-
tions described in Part III are an extension of the interdomain multicast solutions presented in Part II
of this book and focus mainly on implementing SSM using URL Rendezvous Directory (URD).
• Part IV is a command summary appendix consisting of all of the multicast commands dis-
cussed in this book.
0838_FMi.fm Page xv Friday, May 24, 2002 11:06 AM
xv
Native PIM
Multicast
Native PIM Multicast on Deployment
Production Network in ISPs
SSM
Deployment
Mbone: Overlay
Multicast Deployment
1992 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005
In 1986, Steve Deering created the first practical implementation of multicast when he was a student at
Stanford University. He wanted to create a mechanism by which multicast data could flow between IP
subnetworks. His initial solution consisted of two protocols: Internet Group Message Protocol (IGMP)
and Distance Vector Multicast Routing Protocol (DVMRP). IGMP enabled individual hosts to join or
leave a multicast group by interacting with a multicast-enabled router. IGMP is discussed in detail in
Chapter 1, “IP Multicast Technology Overview.” DVMRP is a dense mode protocol and works on the
“flood and prune” principle. DVMRP enabled multicast routers to share information about how nodes
were connecting to multicast sources. Internet Group Message Protocol Version 1 (IGMPv1) and
DVMRP were used to establish the first practical application of multicast, the Multicast Backbone
(MBone), in 1992.
The MBone was (and still is) an overlay network comprised of tunnels using DVMRP to connect vari-
ous isolated “islands” of multicast-enabled nodes. It was successful as a bootstrap multicast network
but, because of the inherent limitations of DVMRP (for example, the 32-hop limit) and the fact that tun-
nels were used, the MBONE could never be considered a true multicast solution.
To move beyond the limitations imposed by DVMRP (and move toward native multicast deployment),
various developers associated with the IETF developed other protocols, the most successful of which
was Protocol Independent Multicast Sparse Mode (PIM-SM). PIM was designed to operate with any
unicast routing implementations and to leverage existing unicast routing protocol table information (this
approach is in contrast to DVMRP, which maintained its own multicast routing table). PIM-SM distrib-
utes information about active sources by forwarding data packets on the shared tree; PIM uses rendez-
vous points (RPs) on the shared tree to accomplish this. PIM-SM has become the model by which both
intradomain and interdomain multicast is deployed.
Because PIM-SM no longer maintains a separate multicast routing table, there is the possibility within
non-congruent networks (meaning networks where multicast is not uniformly deployed) for Reverse
Path Forwarding (RPF) failure.
0838_FMi.fm Page xvi Friday, May 24, 2002 11:06 AM
xvi
The requirement to support non-congruent networks led to the development of Multiprotocol Border
Gateway Protocol (MBGP). With MBGP, multiprotocol extensions were added to the Border Gateway
Protocol (BGP). MBGP (as described in RFC 2858) uses standard BGP characteristics to keep addi-
tional Routing Information Bases (RIBs) for protocols other than IPv4 unicast. One of these additional
RIBs is the multicast RIB (MRIB), which allows non-congruent unicast and multicast routing to exist
and still perform a successful RPF check. Using MBGP allowed ISPs to create a true interdomain mul-
ticast network.
Addressing
The first problem network architects and engineers must face when planning to deploy interdomain
multicast is to decide what kind of addressing to use. RFC 1112, “Host Extensions for IP Multicasting,”
specifies the extensions that IANA has reserved for multicast deployment—specifically 224.0.0.0 to
239.255.255.255 Class D range of addresses. The initial solution for determining which group address
to use was to use Session Description Protocol (SDP), as described in RFC 2327 and Session
Announcement Protocol (SAP), as described in RFC 2974. By listening to the announcements, a host
could assume any addresses not advertised as being used. However, this process was random and not
particularly scalable. It also relied on “polite behavior” (meaning there was no enforcement) to prevent
sources from broadcasting to the same group and disrupting service. Network architects and engineers
needed a solution that would provide a guaranteed unique group address.
Introduced in October 1999, GLOP provided what was intended to be a temporary solution to the need
for a guaranteed unique group address. GLOP was initially an experimental RFC (RFC 2770), but it
eventually evolved into a best current practice (RFC 3180). GLOP uses the unique autonomous system
(AS) number of the source domain to create globally unique groups. It creates a unique number by using
the prefix 233 and a 16-bit/2-byte AS number to create the middle two octets as follows:
233.AS.AS.xxx.
The last octet is assignable by the AS owner as a unique group address. Because only a maximum of
255 globally unique groups can be identified per AS, GLOP provides a functional stop gap but not a
scalable solution.
The following table provides a partial listing of the current groups IANA has allocated for use, such as
the link local range used by routing protocols; the highlighted entries are those specific to interdomain
multicast.
0838_FMi.fm Page xvii Friday, May 24, 2002 11:06 AM
xvii
Third-Party Dependency
The next problem with deploying interdomain multicast is third-party dependency. With PIM-SM, there
can only be one active RP per multicast group. If all domains are owned and operated by the same ISP,
having one RP could be a workable solution. If not, it becomes a question of who owns and operates the
RP. Each ISP ideally should have control over its own RP.
The first deployed solution addressing the problems associated with interdomain multicast was to create
a new protocol: Multicast Source Discovery Protocol (MSDP). MSDP enabled multiple RPs to exist in
the same multicast group by sharing knowledge of the active sources with other MSDP peers so that
RPs could be aware of all active sources. MSDP was meant to be a transitional solution until a global
system could be created.
Then the idea was posed that a group could be rooted at a domain, instead of a router, if group allocation
could be coordinated within the Internet. Border Gateway Multicast Protocol (BGMP) was discussed as
a possible method to create these shared interdomain trees. BGMP would allow there to be a bi-direc-
tional tree across the Internet so that multicast domains could communicate over the Internet. BGMP
could act as an exterior gateway protocol (EGP) and PIM-SM or another protocol could act as the IGMP
in the intradomain multicast network. Under this scenario, BGMP would choose a “domain” to be the
root of a global tree. These domains were also to run the protocol Multicast Address-Set Claim
(MASC). MASC used the concept of leasing group addresses and then reclaiming them after the expira-
tion of the lease period. MASC offered aggregation of group addresses because the allocation scheme
0838_FMi.fm Page xviii Friday, May 24, 2002 11:06 AM
xviii
was hierarchical, parent to child. A significant obstacle to MASC was the issue of reclaiming group
addresses. If a portion of the allocated group was in use and the group had expired its lease time, appli-
cations were required to handle this change of address possibly in mid-operation. Before a satisfactory
solution could be worked out, Source Specific Multicast (SSM) was developed. SSM offers a simpler
solution.
A Simpler Solution
internet Group Message Protocol Version 3(IGMPv3) enables receiving hosts to include or exclude spe-
cific sources for the group being “joined to.” This allows for the joining of an (S,G) channel rather than a
(*,G) group. The traffic for one (S,G) channel consists of IP datagrams with an IP unicast source address
S and a multicast group address G as the destination IP address. Because interdomain unicast addresses
are unique, even if the same G is used by more than one mulitcast source, there is no overlap in delivery.
The channel remains unique due to the inclusion of the unique S source address. There are no address con-
flicts and all trees are optimally routed.
SSM requires the existence of sources to be communicated to receivers in and out of band method (for
example, through a web page), not through the multicast network itself as in regular PIM-SM through the
RP and shared tree. IANA has allocated the 232/8 range of addresses for sole use by SSM.
IGMPv3 has not yet been standardized, and it may take some time before its ubiquitous deployment
occurs and all applications are IGMPv3-capable. The large number of hosts with Internet access makes
this a formidable task. IGMP v3lite and URD are both interim solutions that mitigate this obstacle. Of
these two, URD is the easiest solution to implement as it requires no software updates on the IP host
receiver.
SSM is being successfully used over the Internet today. For example, IGMPv3, IGMP v3lite, and URD
were all successfully demonstrated by Cisco at the LINX multicast conference in London in November
2000 using content from the University of Oregon. As both MSDP and SSM are independent solutions
and can be deployed on their own, both the SSM model and the ISM model are expected to co-exist
together in interdomain multicast deployment for the foreseeable future. The solutions in this book, there-
fore, demonstrate both MSDP and SSM utilizing URD.
xix
Throughout the book, you will see the following icons used for peripherals and other devices:
xx
Throughout the book, you will see the following icons used for networks and network connections:
Line: Ethernet
Token Ring
Line: Serial
FDDI
Network Cloud
Frame Relay Virtual Circuit
DSU/CSU
Router Bridge Hub DSU/CSU
PART
I
Introduction
Chapter 1 IP Multicast Technology Overview
0838_01i.book Page 4 Thursday, May 23, 2002 1:31 PM
0838_01i.book Page 5 Thursday, May 23, 2002 1:31 PM
CHAPTER
1
IP Multicast
IP multicast is a bandwidth-conserving technology that reduces traffic by simultaneously
delivering a single stream of information to potentially thousands of corporate recipients
and homes. Applications that take advantage of multicast include video conferencing,
corporate communications, distance learning, and distribution of software, stock quotes,
and news.
IP multicast uses a minimum of network bandwidth and delivers application source traffic
to multiple receivers without burdening the source or the receivers. Cisco routers enabled
with Protocol Independent Multicast (PIM) and other supporting multicast protocols
replicate multicast packets in the network at the point where paths diverge, resulting in the
most efficient delivery of data to multiple receivers.
Many alternatives to IP multicast require the source to send more than one copy of the data.
Some, such as application-level multicast, require the source to send an individual copy to
each receiver. Even low-bandwidth applications can benefit from using Cisco IP multicast
0838_01i.book Page 6 Thursday, May 23, 2002 1:31 PM
when there are thousands of receivers. High-bandwidth applications, such as MPEG video,
might require a large portion of the available network bandwidth for a single stream. In these
applications, IP multicast is the only way to send to more than one receiver simultaneously.
Figure 1-1 shows how IP multicast is used to deliver data from one source to many
interested recipients.
Receiver A
Receiver B
Receiver C
Source
Receiver D
In the example shown in Figure 1-1, the receivers (the designated multicast group) are
interested in receiving a video data stream from the source. The receivers indicate their
interest by sending an IGMP Host Report to the routers in the network. The routers are
responsible for delivering the data from the source to the receivers. The routers use PIM to
dynamically create a multicast distribution tree. The video data stream is delivered to only
the network segments that are in the path between the source and the receivers. This process
is further explained in the following sections.
IP Multicast Addresses 7
IP Multicast Addresses
IP multicast addresses specify a “set” of IP hosts that have joined a group and are interested
in receiving multicast traffic designated for that particular group. IPv4 multicast address
conventions are described in the following sections.
IP Class D Addresses
The Internet Assigned Numbers Authority (IANA) controls the assignment of IP multicast
addresses. IANA has assigned the IPv4 Class D address space to IP multicast. All IP
multicast group addresses fall in the range from 224.0.0.0 through 239.255.255.255.
NOTE The Class D address range is used only for the group address or destination address of IP
multicast traffic. The source address for multicast datagrams is always the unicast source
address.
IP addresses reserved for IP multicast are defined in RFC 1112, “Host Extensions for IP
Multicasting.” You can find more information about reserved IP multicast addresses at the
following location:
www.iana.org/assignments/multicast-addresses
NOTE You can find all RFCs at www.isi.edu/in-notes/rfcxxx.txt, where xxx is the number of the
RFC. If you do not know the number of the RFC, you can find it by doing a topic search at
www.rfc-editor.org/rfcsearch.html.
IP Address Usage
GLOP Addresses
RFC 3180, “GLOP Addressing in 233/8,” proposes that the 233.0.0.0/8 address range be
reserved for statically defined addresses by organizations that already have an autonomous
system (AS) number reserved. This practice is called GLOP addressing. The domain's AS
number is embedded into the second and third octets of the 233.0.0.0/8 address range. For
example, AS 62010 is written in hexadecimal format as F23A. Separating the two octets F2
and 3A results in 242 and 58 in decimal format. These values result in a subnet of
233.242.58.0/24 that would be globally reserved for AS 62010.
IP Multicast Addresses 9
to prevent multicast traffic in this address range from flowing outside of an AS or any user-
defined domain. Within an autonomous system or domain, the limited scope address range
can be further subdivided so that local multicast boundaries can be defined. This
subdivision is called address scoping and allows for address reuse between these smaller
domains.
Table 1-2 gives a summary of the multicast address ranges discussed in this chapter:
Description Range
This bit indicates that the frame is destined for a group of hosts or all hosts on the network
(in the case of the broadcast address, 0xFFFF.FFFF.FFFF).
IP multicast makes use of this capability to send IP packets to a group of hosts on a LAN
segment.
Because the upper 5 bits of the IP multicast address are dropped in this mapping, the
resulting address is not unique. In fact, 32 different multicast group IDs map to the same
Ethernet address (see Figure 1-4). Network administrators should consider this fact when
assigning IP multicast addresses. For example, 224.1.1.1 and 225.1.1.1 map to the same
multicast MAC address on a Layer 2 switch. If one user subscribed to Group A (as
designated by 224.1.1.1) and another user subscribed to Group B (as designated by
225.1.1.1), they would both receive both A and B streams. This situation limits the
effectiveness of this multicast deployment.
0838_01i.book Page 11 Thursday, May 23, 2002 1:31 PM
IGMP Version 1
RFC 1112, “Host Extensions for IP Multicasting,” describes the specification for IGMP
Version 1 (IGMPv1). A diagram of the packet format for an IGMPv1 message is shown in
Figure 1-5.
0838_01i.book Page 12 Thursday, May 23, 2002 1:31 PM
Group Address
IGMP Version 2
IGMPv1 has been superseded by IGMP Version 2 (IGMPv2), which is now the current
standard. IGMPv2 is backward-compatible with IGMPv1. RFC 2236, “Internet Group
Management Protocol, Version 2,” describes the specification for IGMPv2. A diagram of
the packet format for an IGMPv2 message is shown in Figure 1-6.
Group Address
IGMP Version 3
IGMP Version 3 (IGMPv3) is the next step in the evolution of IGMP. IGMPv3 adds support
for source filtering, which enables a multicast receiver host to signal to a router the groups
from which it wants to receive multicast traffic and from which sources this traffic is
expected. This membership information enables Cisco IOS software to forward traffic from
only those sources requested by the receivers.
IGMPv3 is an emerging standard. The latest versions of Windows, Macintosh, and UNIX
operating systems all support IGMPv3. At the time of this writing, application developers
were in the process of porting their applications to the IGMPv3 API.
A diagram of the query packet format for an IGMPv3 message is shown in Figure 1-7.
Group Address
Field Description
Max resp. code Maximum response code (in seconds). This field specifies the maximum
time allowed before sending a responding report.
Checksum The checksum is the 16-bit one's complement of the one's complement
sum of the whole IGMP message (the entire IP payload). For computing
the checksum, the Checksum field is set to zero. When receiving packets,
the checksum must be verified before processing a packet.*
Group address This multicast group address is 0.0.0.0 for general queries.
QRV Querier Robustness Value. This Querier Robustness Value affects timers
and the number of retries.
QQIC Querier's Query Interval Code. This field specifies the Query Interval used
by the querier.
Number of sources [N] This represents the number of sources present in the query. This number is
nonzero for a group-and-source query.
* The checksum information was excerpted from the IETF Internet Draft “Internet Group Management Protocol, Version 3,” which
you can find at www.ietf.org/internet-drafts/draft-ietf-idmr-igmp-v3-09.txt
A diagram of the report packet format for an IGMPv3 message is shown in Figure 1-8.
Field Description
CGMP join
unicast source address = 0080.c7a2.1093
IGMP report group destination address = 0100.5e01.0203
Destination MAC = 0100.5e01.0203 1/1 1/1
Source MAC = 0080.c7a2.1093
Destination IP = 224.1.2.3
Source IP = 192.168.1.1 5/1 5/1
Group Address = 224.1.2.3
(A) (B)
Physical Connections
IGMP report
CGMP join
The switch receives this CGMP join message and adds the port to its content-addressable
memory (CAM) table for that multicast group. All subsequent traffic directed to this
multicast group will be forwarded out the port for that host. The Layer 2 switches were
designed so that several destination MAC addresses could be assigned to a single physical
port. This allows switches to be connected in a hierarchy and allows many multicast
destination addresses to be forwarded out a single port. The router port is also added to the
entry for the multicast group. Multicast routers must listen to all multicast traffic for every
group because the IGMP control messages are also sent as multicast traffic. With CGMP,
the switch must listen to only CGMP join and CGMP leave messages from the router. The
rest of the multicast traffic is forwarded using the CAM table with the new entries created
by CGMP.
IGMP Snooping
IGMP Snooping is an IP multicast constraining mechanism that runs on a Layer 2 LAN
switch. IGMP Snooping requires the LAN switch to examine, or “snoop,” some Layer 3
information (IGMP join/leave messages) in the IGMP packets sent between the hosts and
the router. When the switch hears the IGMP host report from a host for a particular
multicast group, the switch adds that host's port number to the associated multicast table
entry. When the switch hears the IGMP leave group message from a host, the switch
removes the table entry of the host.
0838_01i.book Page 18 Thursday, May 23, 2002 1:31 PM
Because IGMP control messages are sent as multicast packets, they are indistinguishable
from multicast data at Layer 2. A switch running IGMP Snooping must examine every
multicast data packet to determine if it contains any pertinent IGMP control information.
IGMP Snooping implemented on a low-end switch with a slow CPU could have a severe
performance impact when data is sent at high rates. The solution is to implement IGMP
Snooping on high-end switches with special application-specific integrated circuits
(ASICs) that can perform the IGMP checks in hardware. CGMP is a better option for low-
end switches without special hardware.
PIM Join
RGMP Join
IP Multicast Data
(A) (B)
Source Trees
The simplest form of a multicast distribution tree is a source tree with its root at the source
and branches forming a spanning tree through the network to the receivers. Because this
tree uses the shortest path through the network, it is also referred to as a shortest path tree
(SPT).
Figure 1-11 shows an example of an SPT for group 224.1.1.1 rooted at the source, Host A,
and connecting two receivers, Hosts B and C.
0838_01i.book Page 20 Thursday, May 23, 2002 1:31 PM
224.1.1.1 Traffic
A B D F
C E
192.168.2.2 192.168.3.3
The special notation of (S, G), pronounced “S comma G,” enumerates an SPT where S is
the source IP address and G is the multicast group address. Using this notation, the SPT for
the example shown in Figure 1-11 would be (192.168.1.1, 224.1.1.1).
The (S, G) notation implies that a separate SPT exists for each individual source sending to
each group, which is correct. For example, if Host B is also sending traffic to group
224.1.1.1 and Hosts A and C are receivers, a separate (S, G) SPT would exist with a notation
of (192.168.2.2, 224.1.1.1).
Shared Trees
Unlike source trees that have their root at the source, shared trees use a single common root
placed at a chosen point in the network. This shared root is called a rendezvous point (RP).
Figure 1-12 shows a shared tree for the group 224.2.2.2 with the root located at Router D.
This shared tree is uni-directional. Source traffic is sent toward the RP on a source tree. The
traffic is then forwarded down the shared tree from the RP to reach all of the receivers
(unless the receiver is located between the source and the RP, in which case it will be
serviced directly).
0838_01i.book Page 21 Thursday, May 23, 2002 1:31 PM
192.168.2.2 192.168.3.3
In this example, multicast traffic from the sources, Hosts A and D, travels to the root (Router
D) and then down the shared tree to the two receivers, Hosts B and C. Because all sources
in the multicast group use a common shared tree, a wildcard notation written as (*, G),
pronounced “star comma G,” represents the tree. In this case, * means all sources, and G
represents the multicast group. Therefore, the shared tree shown in Figure 1-12 would be
written as (*, 224.2.2.2).
Shared trees have the advantage of requiring the minimum amount of state in each router.
This advantage lowers the overall memory requirements for a network that allows only
shared trees. The disadvantage of shared trees is that under certain circumstances the paths
between the source and receivers might not be the optimal paths, which might introduce
some latency in packet delivery. For example, in Figure 1-12, the shortest path between
Host A (source 1) and Host B (a receiver) would be Router A and Router C. Because Router
D is being used as the root for a shared tree, the traffic must traverse Routers A, B, D and
then C. Network designers must carefully consider the placement of the RP when
implementing a shared tree-only environment.
Multicast Forwarding
In unicast routing, traffic is routed through the network along a single path from the source
to the destination host. A unicast router does not consider the source address; it considers
only the destination address and how to forward the traffic toward that destination. The
router scans through its routing table for the destination address and forwards a single copy
of the unicast packet out the correct interface in the direction of the destination.
In multicast forwarding, the source sends traffic to an arbitrary group of hosts that are
represented by a multicast group address. The multicast router must determine which
direction is the upstream direction (toward the source) and which one is the downstream
direction (or directions). If there are multiple downstream paths, the router replicates the
packet and forwards it down the appropriate downstream paths (best unicast route metric),
which is not necessarily all paths. Forwarding multicast traffic away from the source rather
than to the receiver is called Reverse Path Forwarding (RPF). RPF is described in the
following section.
RPF Check
When a multicast packet arrives at a router, the router performs an RPF check on the packet.
If the RPF check succeeds, the packet is forwarded. Otherwise, it is dropped.
0838_01i.book Page 23 Thursday, May 23, 2002 1:31 PM
For traffic flowing down a source tree, the RPF check procedure works as follows:
1 The router looks up the source address in the unicast routing table to determine if the
packet has arrived on the interface that is on the reverse path back to the source.
2 If the packet has arrived on the interface leading back to the source, the RPF check
succeeds and the packet is forwarded.
3 If the RPF check in Step 2 fails, the packet is dropped.
Network Interface
RPF Check Fails
151.10.0.0/16 S1 S0
S1 S2
198.14.32.0/24 S0 Packet arrived on
204.1.16.0/24 E0 wrong interface.
E0
Discard packet.
As Figure 1-13 illustrates, a multicast packet from source 151.10.3.21 is received on serial
interface 0 (S0). A check of the unicast routing table shows that serial interface 1 (S1) is the
interface this router would use to forward unicast data to 151.10.3.21. Because the packet
has arrived on interface S0, the packet is discarded.
Figure 1-14 shows an example of a successful RPF check.
Network Interface
RPF Check
151.10.0.0/16 S1 Packet arrived on S0 Succeeds
S1 S2
198.14.32.0/24 S0 correct interface.
204.1.16.0/24 E0
E0
In this example, the multicast packet has arrived on interface S1. The router refers to the
unicast routing table and finds that interface S1 is the correct interface. The RPF check
passes and the packet is forwarded.
0838_01i.book Page 24 Thursday, May 23, 2002 1:31 PM
source address is better, the router will forward a PIM (S,G) join toward the source. If the
metric for the RP is the same or better, the PIM (S,G) join is sent in the same direction as
the RP. In this case, the shared tree and the source tree are considered congruent.
Figure 1-15 shows a standard PIM-SM unidirectional shared tree. The router closest to the
source registers with the RP (Part A in Figure 1-15) and then creates a source tree (S,G)
between the source and the RP (Part B in Figure 1-15). Data is forwarded down the shared
tree (*,G) toward the receiver from the RP.
RP RP
(*, G) (*, G)
(S, G)
(*, G)
(*, G) (*, G) (S, G)
Receiver (*, G)
Receiver
Reg
iste
r
If the shared tree is not an optimal path between the source and the receiver, the routers
dynamically create a source tree and stop traffic from flowing down the shared tree. This
behavior is the default behavior in Cisco IOS software. Network administrators can force
traffic to stay on the shared tree by using the Cisco IOS command ip pim spt-threshold
infinity.
PIM-SM was originally described in RFC 2362, “Protocol Independent Multicast-Sparse
Mode (PIM-SM): Protocol Specification.” This RFC is being revised and is currently in
draft form. The current draft specification, “Protocol Independent Multicast-Sparse Mode
(PIM-SM): Protocol Specification (Revised),” can be found on the IETF Web site
(www.ietf.org).
PIM-SM scales well to a network of any size, including those with WAN links. The explicit
join mechanism will prevent unwanted traffic from flooding the WAN links.
0838_01i.book Page 26 Thursday, May 23, 2002 1:31 PM
RP
(*, G)
(*, G) (*, G)
Receiver
(*, G) (*, G)
(S, G)
Receiver Source
Bidir-PIM is derived from the mechanisms of PIM sparse mode (PIM-SM) and shares
many of the shared tree operations. Bidir-PIM also has unconditional source traffic
forwarding 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 traffic
forwarding in all routers based solely on the (*, G) multicast routing entries. This feature
eliminates any source-specific state and allows scaling capability to an arbitrary number of
sources.
0838_01i.book Page 27 Thursday, May 23, 2002 1:31 PM
The current specification of bidir-PIM can be found in the IETF draft titled, “Bi-directional
Protocol Independent Multicast (BIDIR-PIM)” on the IETF Web site (www.ietf.org).
MBGP is described in RFC 2858, “Multiprotocol Extensions for BGP-4.” Because MBGP
is an extension of BGP, it contains the administrative machinery that providers and
customers require in their interdomain routing environment, including all the inter-AS tools
to filter and control routing (for example, route maps). Any network utilizing internal BGP
(iBGP) or external BGP (eBGP) can use MBGP to apply the multiple policy control knobs
familiar in BGP to specify the routing policy (and thereby the forwarding policy) for
multicast.
Two path attributes, MP_REACH_NLRI and MP_UNREACH_NLRI, were introduced in
BGP4. These new attributes create a simple way to carry two sets of routing information—
one for unicast routing and one for multicast routing. The routes associated with multicast
routing are used for RPF checking at interdomain borders.
The main advantage of MBGP is that an internetwork can support non-congruent unicast
and multicast topologies. When the unicast and multicast topologies are congruent, MBGP
can support different policies for each. Separate BGP routing tables are maintained for the
Unicast Routing Information Base (U-RIB) and the Multicast Routing Information Base
(M-RIB). The M-RIB is derived from the unicast routing table with the multicast policies
applied. RPF checks and PIM forwarding events are performed based on the information in
the M-RIB. MBGP provides a scalable policy-based interdomain routing protocol.
and the RP has a (*, G) entry for the group in the SA (there is an interested receiver), the
RP creates (S, G) state for the source and joins to the shortest path tree for the source. The
encapsulated data is decapsulated and forwarded down the shared tree of that RP. When the
last hop router (the router closest to the receiver) receives the multicast packet, it may join
the shortest path tree to the source. The MSDP speaker periodically sends SAs that include
all sources within the RP's domain.
MSDP was developed for peering between Internet service providers (ISPs). ISPs did not
want to rely on an RP maintained by a competing ISP to provide service to their customers.
MSDP allows each ISP to have its own local RP and still forward and receive multicast
traffic to the Internet. Figure 1-17 shows how data would flow between a source in domain
A to a receiver in domain E.
Figure 1-17 MSDP Example: MSDP Shares Source Information Between RPs in Each Domain
Domain E
MSDP Peers R
RP
Multicast Traffic
R = Receiver
S = Source Domain C
RP
Domain B
RP
RP
Domain D
RP
S Domain A
(192.168.1.1, 224.2.2.2)
Anycast RP
Anycast RP is an extremely useful application of MSDP's ability to allow multiple RPs to
exist in a PIM-SM network. Allowing more than 1 RP to be active at the same time creates
not only a fault tolerant RP method but also a load-sharing mechanism. Anycast RP allows
2 or more RPs to share the load for source registration and to act as hot backup routers for
each other. MSDP is the key protocol that makes Anycast RP possible. With Anycast RP,
the same unicast address is configured on each RP; this address should be configured as a
host address (that is, with a 32-bit mask), and should be configured only on a loopback
interface not used for anything other than Anycast RP.
0838_01i.book Page 30 Thursday, May 23, 2002 1:31 PM
All the leaf routers are configured so that the host IP address used by Anycast routers is the
IP address assigned to be the RP. IP routing automatically selects the topologically closest
RP for each source and receiver. Because some sources might choose one physical RP and
some receivers a different physical RP, the rendezvous process for PIM-SM cannot operate
as designed. With the addition of MSDP and its ability to exchange source-active
information, the RP's ability to operate as designed (which is to have knowledge of all
active sources) is restored. In the event of a network failure, the speed of RP failover to a
backup RP is determined by the speed of the Internal Gateway Protocol (IGP) convergence.
Therefore, Anycast RP is an extremely robust method of configuring the RP function within
PIM-SM.
The RPs are used only to set up the initial connection between sources and receivers. After
the last hop routers join the shortest path tree, the RP is no longer necessary.
Anycast RP Overview
Originally developed for interdomain multicast applications, MSDP used for Anycast RP
is an intradomain feature that provides redundancy and load-sharing capabilities.
Enterprise customers typically use Anycast RP for configuring a PIM-SM network to meet
fault tolerance requirements within a single multicast domain.
In Anycast RP, two or more RPs are configured with the same IP address on loopback
interfaces. The Anycast RP loopback address should be configured with a 32-bit mask,
making it a host address. All the downstream routers should be configured to know that the
Anycast RP loopback address is the IP address of their local RP. IP routing automatically
selects the topologically closest RP for each source and receiver. Assuming that the sources
are evenly spaced around the network, an equal number of sources will register with each
RP. That is, the process of registering the sources will be shared equally by all the RPs in
the network.
Because a source may register with one RP and receivers may join to a different RP, a
method is needed for the RPs to exchange information about active sources. This
information exchange is done with MSDP.
In Anycast RP, all the RPs are configured to be MSDP peers of each other. When a source
registers with one RP, an SA message is sent to the other RPs informing them that there is
an active source for a particular multicast group. The result is that each RP knows about the
active sources in the area of the other RPs. If any of the RPs were to fail, IP routing would
converge and one of the RPs would become the active RP in more than one area. New
sources would register with the backup RP. Receivers would join toward the new RP and
connectivity would be maintained.
0838_01i.book Page 31 Thursday, May 23, 2002 1:31 PM
Anycast RP Example
The main purpose of an Anycast RP implementation is for the downstream multicast routers to
see just one address for an RP. The example given in Figure 1-18 shows how the loopback 0
interface of the RPs (RP1 and RP2) is configured with the same 10.0.0.1 IP address. If this
10.0.0.1 address is configured on all RPs as the address for the loopback 0 interface and
configured as the RP address, IP routing will converge on the closest RP. This address must
be a host route—note the 255.255.255.255 subnet mask.
ip msdp peer 10.1.1.2 connect-source loopback 1 ip msdp peer 10.1.1.1 connect-source loopback 1
ip msdp originator-id loopback 1 ip msdp originator-id loopback 1
MSDP
RP1 RP2
The downstream routers must be informed about the 10.0.0.1 RP address. In Figure 1-18, the
routers are configured statically with the ip pim rp-address 10.0.0.1 global configuration
command. You can also accomplish this configuration using the Auto-RP or bootstrap router
(BSR) features.
The RPs in Figure 1-18 must also share source information using MSDP. In this example,
the loopback 1 interface of the RPs (RP1 and RP2) is configured for MSDP peering. The
MSDP peering address must be different than the Anycast RP address.
Many routing protocols choose the highest IP address on loopback interfaces for the Router
ID. A problem can arise if the router selects the Anycast RP address for the Router ID. You
can avoid this problem by manually setting the Router ID on the RPs to the same address
as the MSDP peering address (for example, the loopback 1 address in Figure 1-18). In
OSPF, you configure the Router ID using the router-id router configuration command. In
BGP, you configure the Router ID using the bgp router-id router configuration command.
In many BGP topologies, the MSDP peering address and the BGP peering address must be
the same to pass the RPF check. You can set the BGP peering address using the neighbor
update-source router configuration command.
The Anycast RP example in the previous paragraphs used IP addresses from RFC 1918.
These IP addresses are normally blocked at interdomain borders and are not accessible to
other ISPs. You must use valid IP addresses if you want the RPs to be reachable from
other domains.
0838_01i.book Page 32 Thursday, May 23, 2002 1:31 PM
Summary
In this chapter, you reviewed general multicast topics such as the multicast group concept,
IP multicast addresses, and Layer 2 multicast addresses. You learned about intradomain
multicast protocols such as Internet Group Management Protocol (IGMP), Cisco Group
Management Protocol (CGMP), Protocol Independent Multicast (PIM), and Pragmatic
General Multicast (PGM). You also reviewed interdomain protocols such as Multiprotocol
Border Gateway Protocol (MBGP), Multicast Source Directory Protocol (MSDP), and
Source Specific Multicast (SSM).
0838_01i.book Page 33 Thursday, May 23, 2002 1:31 PM
Related Documents 33
Related Documents
• Williamson, Beau, Developing IP Multicast Networks, Indianapolis: Cisco Press, 2000
• Multicast Quick-Start Configuration Guide (No author—Cisco Documentation)
(www.cisco.com/warp/customer/105/48.html)
• Bi-directional Protocol Independent Multicast (BIDIR-PIM), IETF Internet-Draft,
M. Handley, I. Kouvelas, T. Speakman, L. Vicisano
• Internet Group Management Protocol, Version 3, IETF Internet-Draft, B. Cain, S.
Deering, B. Fenner, I. Kouvelas, A. Thyagarajan
• Protocol Independent Multicast - Sparse Mode (PIM-SM), Protocol Specification
(Revised), IETF Internet Draft, B. Fenner, M. Handley, H. Holbrook, I. Kouvelas
• IP Multicast Technology Overview, Cisco white paper
www.cisco.com/univercd/cc/td/doc/cisintwk/intsolns/mcst_sol/mcst_ovr.htm
• Interdomain Multicast Solutions Using MSDP, Cisco integration solutions document
www.cisco.com/univercd/cc/td/doc/cisintwk/intsolns/mcst_p1/mcstmsdp/index.htm
• How to Configure an RP for PIM Sparse Mode, Cisco configuration guide
www.cisco.com/warp/public/cc/pd/iosw/tech/rppim_rg.htm
• “Configuring Multicast Source Discovery Protocol,” Cisco IOS IP Configuration
Guide, Software Release 12.2
www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fipr_c/ipcpt3/
1cfmsdp.htm
• “Multicast Source Discovery Protocol Commands,” Cisco IOS IP Command
Reference, Volume 3 of 3: Multicast, Software Release 12.2
www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fiprmc_r/
1rfmsdp.htm
• RFC 1112, Host extensions for IP multicasting, S. Deering
• RFC 1918, Address Allocation for Private Internets, Y. Rekhter, B. Moskowitz, D.
Karrenberg, G.J. DeGroot, E. Lear
• RFC 2236, Internet Group Management Protocol, Version 2, W. Fenner
• RFC 2858, Multiprotocol Extensions for BGP-4, T. Bates, R. Chandra, D. Katz, Y
Rekhter
• RFC 2362, Protocol Independent Multicast-Sparse Mode (PIM-SM): Protocol
Specification, D. Estrin, D. Farinacci, A. Helmy, D. Thaler, S. Deering, M. Handley,
V. Jacobson, C. Liu, P. Sharma, L. Wei
• RFC 2365, Administratively Scoped IP Multicast, D. Meyer
• RFC 3180, GLOP Addressing in 233/8, D. Meyer, P.Lothberg
• RFC 3208, PGM Reliable Transport Protocol Specification. T. Speakman, J.
Crowcroft, J. Gemmell, D. Farinacci, S. Lin, D. Leshchiner, M. Luby, T. Montgomery,
L. Rizzo, A. Tweedly, N. Bhaskar, R. Edmonstone, R.Sumanasekera, L. Vicisano.
December 2001. (Status: EXPERIMENTAL)
0838_01i.book Page 34 Thursday, May 23, 2002 1:31 PM
0838_01i.book Page 35 Thursday, May 23, 2002 1:31 PM
PART
II
Interdomain Multicast with MSDP
Chapter 2 Implementing Interdomain Multicast Using MSDP
CHAPTER
2
Implementing Interdomain
Multicast Using MSDP
Demand is growing for IP multicast services to extend applications across Internet service
provider (ISP) network boundaries to a wider audience. To meet this need, sophisticated
protocols such as Protocol Independent Multicast sparse mode (PIM-SM), Multiprotocol
Border Gateway Protocol (MBGP), and Multicast Source Discovery Protocol (MSDP) are
available in Cisco IOS software that provide solutions for successfully implementing native
interdomain multicast service.
This chapter describes how four hypothetical ISPs implement interdomain multicast among
them using PIM-SM, MBGP, and MSDP. The solutions presented in this chapter have been
tested by customers in the field and verified in a lab environment. The four hypothetical
ISPs are representative of typical customer topologies. (The sections, “ISP1 Scenario,”
“ISP2 Scenario,” and “ISP3 and ISP4 Scenario” discuss the specifics of each topology.)
In this chapter, you will learn about various interdomain multicast implementation trade-
offs and see a preferred network design that outlines “best practices” for ISP deployment
of IP multicast. The actual configuration files that were verified in the lab are included in
Chapter 3, “ISP1 Device Characteristics and Configuration Files”, Chapter 4, “ISP2 Device
Characteristics and Configuration Files, and Chapter 5, “ISP3 Device Characteristics and
Configuration Files.
In this solution, implementing interdomain multicast requires the following:
• Establishing an overall interdomain multicast strategy
• Implementing intradomain multicast within each of the individual ISPs
• Implementing interdomain multicast between each of the ISPs
• Connecting customers to the ISP infrastructure
You learn more about each of these requirements in this chapter.
NOTE This chapter covers the basic design and deployment of an interdomain multicast network.
Although this chapter discusses PIM-SM, MBGP, and MSDP, it is not intended to be a
tutorial of the operations of these protocols. To find resources that discuss more about how
these protocols work, refer to the references listed at the end of this chapter.
0838_01i.book Page 38 Thursday, May 23, 2002 1:31 PM
NOTE The solutions presented in this chapter are based on a hypothetical interdomain ISP
environment. All the IP addresses and configuration in this chapter are provided for
illustrative purposes only.
iBGP
ISP1-POP
eBGP eBGP
eBGP eMBGP
ISP4 ISP3
AS 4
iBGP
BB4
BB6 BB7
ISP3 Core
iBGP
Physical Link
RR Route Reflector Server
RRc Route Reflector Client
Before implementing interdomain multicast among the 4 ISPs in Figure 2-1, the individual
ISPs must establish the following prerequisites:
• An IP address allocation plan
• BGP peering arrangements with the other ISPs
• Customer connections
0838_01i.book Page 39 Thursday, May 23, 2002 1:31 PM
The ISPs must also consider the benefits and ramifications of implementing interdomain
multicast. The benefits of using PIM-SM, MBGP, and MSDP to implement interdomain
multicast are as follows:
• Allows each ISP one or more RPs within its own network to reduce its reliance on
external RPs. This benefit gives each ISP greater control over its own customer service
levels and conserves network capacity.
• Enables an ISP to offer interdomain multicast services to its customers. Content
providers can efficiently deliver their products to consumers (for example, applications
such as interactive gaming, distance learning, and market data).
• Offers a service provider the ability to maintain its own RPs while also having
knowledge of active sources in other domains. A service provider can now set up control
measures that previously were not possible. For example, a service provider can filter
traffic from certain sources or domains. MSDP allows service providers to control the
filtering of incoming and outgoing multicast data streams from a central point. Because
the service provider is able to maintain its own RPs and have knowledge of remote
sources through MSDP messages, the RPs can exert control over which active source
messages it will process/receive. This allows you to filter incoming and outgoing
multicast data streams.
The ramifications for using PIM-SM, MBGP, and MSDP to implement interdomain multicast
are as follows:
• Multicast forwarding state must be maintained in the router. This situation uses
additional memory resources in the router.
• Routers that act as an RP or MSDP peer might experience an additional load on CPU
resources.
The strategy for implementing interdomain multicast among the four ISPs has the following
three phases:
• Establishing an Overall Intradomain Multicast Strategy
• Establishing an Overall Interdomain Multicast Strategy
• Establishing an Implementation Strategy for Connecting Customers into Infrastructure
The following sections discuss each of these phases.
NOTE The multicast solutions in this chapter were tested with valid IP addresses. Normally, when a
configuration file is published, the valid IP addresses are replaced with IP addresses as specified
in RFC 1918, “Address Allocation for Private Networks.” Because the range of available IP
addresses was insufficient to span the range of IP addresses used in this solution, the first octet
of the valid IP addresses was replaced with a variable. In the sample configurations provided in
the following sections, the first octet of these reserved IP addresses has been replaced with the
letter J or the letter K for privacy reasons. The letter J always represents one unique number, and
the letter K always represents a unique number that is different from J. The example
configurations are intended for illustrative purposes only. The letters J and K must be replaced
with valid numbers when these IP addresses are configured in an actual network.
0838_01i.book Page 40 Thursday, May 23, 2002 1:31 PM
NOTE You can find all RFCs online at www.isi.edu/in-notes/rfcxxx.txt, where xxxx is the number
of the RFC. If you do not know the number of the RFC, you can find it by doing a topic
search at www.rfc-editor.org/rfcsearch.html.
The following steps describe the general configuration steps each of the four hypothetical
ISPs complete to configure intradomain multicast:
Step 1 Configure multicast globally.
NOTE Cisco Systems recommends that you configure the ip route-cache distributed command
on all platforms that support it.
0838_01i.book Page 42 Thursday, May 23, 2002 1:31 PM
— For Cisco IOS Software Release 12.0 S, use the following BGP
router configuration commands:
neighbor ip-address remote-as number [n
nlri {u
unicast | multicast}]
You can use this command in conjunction with the neighbor ip-
address route-map map-name in command so that you can use one
route-map reference to describe filtering policies for different
NLRI types.
set nlri {unicast | multicast}
If the route-map match criteria are met, decide if the route should
be injected into the unicast or multicast RIB. If you specify both the
unicast and multicast keywords, the route is injected into both
RIBs and advertised as a separate NLRI in a BGP Update message.
If only the multicast keyword is specified, the route is only injected
into the multicast RIB. The default value is unicast only in all cases
except when the neighbor ip-address route-map map-name out
command references this route map. Use this route map
configuration command when referencing a route map by various
router configuration commands (that is, redistribute, aggregate-
address, and neighbor outbound route-map references).
You can use this command in conjunction with the neighbor ip-
address default-originate route-map map-name command. If the
route map referenced by the neighbor command supplies the set
nlri command, the multicast default route can be generated
independently of the unicast default route.
— For Cisco IOS Software Release 12.0 T or 12.1, use the following
MBGP address-family configuration commands:
address-family ipv4 multicast
NOTE Cisco Systems strongly recommends that you use the same IP address for BGP and MSDP
peering sessions. This is the simplest method for MSDP SA RPF message validation. This
address is typically a unique IP address with a 32-bit mask assigned on a loopback
interface.
show ip mbgp
To verify that MSDP peers are working properly, use the following
EXEC commands:
show ip msdp peer
ip pim bsr-border
iMBGP
ISP1-POP
eMBGP eMBGP
eMBGP eMBGP
ISP4 ISP3
AS 4
iMBGP
BB4
BB6 BB7
ISP3 Core
iMBGP
Physical Link
RR Route Reflector Server
RRc Route Reflector Client
0838_01i.book Page 48 Thursday, May 23, 2002 1:31 PM
ISP1-POP
ISP4 ISP3
BB4
BB6 BB7
ISP3 Core
Physical Link
External MSDP Peering
Internal MSDP Peering—Anycast
NOTE The example configurations provided in the following sections use highlighted text to
indicate pertinent configuration commands used for deploying the multicast solutions
described in this document.
ISP2 Scenario
This section discusses the following topics:
• ISP2—Implementing Intradomain Multicast
• ISP2—Implementing Interdomain Multicast
• ISP2—Connecting Customers into Infrastructure
BB7 BB5
Loopback 1: J.2.0.124
RP
BB6 BB4 BB3
BB1 BB2
Physical Link
Table 2-1 presents the benefits and ramifications of deploying the ISP2 multicast network.
Benefits Ramifications
The topology creates a deterministic network that is easy to No load sharing—All PIM joins must
troubleshoot. be serviced by a single RP. Under
extreme and unlikely circumstances,
this situation may have a performance
impact on the router acting as the RP.
The following is a summary of the tasks that were performed to configure the devices in
ISP2 for intradomain multicast:
Step 1 Configure multicast globally.
The following sample configuration, taken from the configuration file for
the ISP2BB4 router, shows how to configure multicast globally on a
router. Multicast is configured on all ISP2 routers.
ip multicast-routing distributed
interface POS0/0
ip pim sparse-mode
ip mroute-cache distributed
interface POS2/0
ip pim sparse-mode
ip mroute-cache distributed
interface POS3/0
ip pim sparse-mode
ip mroute-cache distributed
interface GigabitEthernet4/0
ip mroute-cache distributed
interface GigabitEthernet4/0.430
ip pim sparse-mode
interface GigabitEthernet4/0.440
ip pim sparse-mode
interface POS5/0
ip pim sparse-mode
ip mroute-cache distributed
interface POS6/0
ip pim sparse-mode
ip mroute-cache distributed
NOTE You must configure the ip mroute-cache distributed command on the main Gigabit
Ethernet interface. It is not allowed on sub interfaces.
ISP1
BB7 BB5
Loopback 1: J.2.0.124
RP
ISP4 ISP3
BB6 BB4 BB3
BB2 BB1
Physical Link
0838_01i.book Page 53 Thursday, May 23, 2002 1:31 PM
The following is a summary of the tasks to configure the devices in ISP2 for interdomain
multicast:
Step 1 Configure MBGP to exchange multicast routing information.
NOTE The SA filter used in this solution was taken from Cisco System’s recommended SA filter
list. This list is updated regularly and posted on the following web site:
ftp://ftpeng.cisco.com/ipmulticast.html
Please check the list on a periodic basis for the latest SA filter.
0838_01i.book Page 57 Thursday, May 23, 2002 1:31 PM
The following sample output shows how to verify that the MSDP peers
are working properly:
show ip msdp peer
Description:
Connection status:
State:Up, Resets:8, Connection source:Loopback0 (J.2.0.204)
Uptime(Downtime):08:12:05, Messages sent/received:1893/493
Output messages discarded:0
Connection and counters cleared 7w0d ago
SA Filtering:
Input (S,G) filter:124, route-map:none
Input RP filter:none, route-map:none
Output (S,G) filter:124, route-map:none
Output RP filter:none, route-map:none
SA-Requests:
Input filter:none
Sending SA-Requests to peer:enabled
Peer ttl threshold:0
Input queue size:0, Output queue size:0
Step 6 Configure multicast borders appropriately.
NOTE In the interdomain multicast scenario, ISP2 does not have customers connected to its
network. For an example of how a customer is connected through a point of presence
(POP), see the “ISP1—Connecting Customers into Infrastructure” section later in this
chapter.
0838_01i.book Page 59 Thursday, May 23, 2002 1:31 PM
ISP1 Scenario
This section covers the following topics:
• ISP1—Implementing Intradomain Multicast
• ISP1—Implementing Interdomain Multicast
• ISP1—Connecting Customers into Infrastructure
NOTE The Anycast RP example in the previous paragraph used IP addresses from RFC 1918.
These IP addresses are normally blocked at interdomain borders and are not accessible to
other ISPs. You must use valid IP addresses if you want the RPs to be reachable from other
domains.
Figure 2-6 shows the intradomain multicast network diagram for ISP1.
BB5 BB7
Anycast RP
Loopback0: J.1.0.203
Loopback1: J.1.0.100
BB2 BB1
Physical Link
Internal MSDP
Peering—Anycast
Table 2-2 presents the benefits and ramifications of deploying the ISP1 multicast network.
Benefits Ramifications
Deploying the ISP1 multicast network offers redundancy capability Difficult to implement compared to
due to Anycast RPs. If one RP were to fail, the other RP would take ISP2 network topology
over within the convergence time of the unicast routing protocol.
The deployment offers load-sharing capability due to Anycast RPs. Difficult to troubleshoot compared to
Devices will use the RP they are topologically closest to (based on ISP2 network topology
routing metric) in the network.
The following is a summary of the tasks that were performed to configure the devices in
ISP1 for intradomain multicast:
Step 1 Configure multicast globally.
The following sample configuration, taken from the configuration file for
the ISP1BB4 router, shows how to configure multicast globally on a
router. Multicast is configured on all ISP1 routers.
ip multicast-routing distributed
NOTE The configuration shown is applicable for intradomain multicast traffic, but creates a
problem if ISP1 is connected to other ISPs. RPF checks will fail if there is a direct MSDP
peer relationship between ISP1BB3 and ISP1BB7. The problem and the solution are
described in Step 2 of the “ISP1—Implementing Interdomain Multicast” section later in
this chapter.
SSM will use the 232.0.0.0 through 232.255.255.255 address range for
specific well-known sources. This address range does not require the use
of an RP. The following sample configuration shows how to restrict
sources in the 232/8 range from registering with the RP. These statements
need to be configured only on the RP.
ISP2
BB5 BB7
Anycast RP
RR RRc
Loopback0: J.1.0.203
Loopback1: J.1.0.100
ISP4 ISP3
BB3 BB4 BB6
RR RRc
BB1 BB2
Physical Link
Internal MSDP
Peering—Anycast
The following is a summary of the tasks that were performed to configure the devices in
ISP1 for interdomain multicast:
Step 1 Configure MBGP to exchange multicast routing information.
GiveUp 0 0 0x0
PmtuAger 0 0 0x0
DeadWait 0 0 0x0
The configuration of the BGP route reflector servers and route reflector
clients adds some complexity to the configuration of ISP1. For example,
the MSDP peers must perform an RPF check to verify from which AS the
SA messages originated, and the IP addresses must match the IP address
of the route reflector server. To ensure that RPF checks always succeeds
0838_01i.book Page 67 Thursday, May 23, 2002 1:31 PM
NOTE You have several ways to configure a network to ensure that RPF checks will always
succeed. These alternatives will not be discussed in this chapter.
Configure the following access list on both the ISP1BB3 and ISP1BB7
routers:
access-list 124 deny ip any host 224.0.2.2
access-list 124 deny ip any host 224.0.1.3
access-list 124 deny ip any host 224.0.1.24
access-list 124 deny ip any host 224.0.1.22
access-list 124 deny ip any host 224.0.1.2
access-list 124 deny ip any host 224.0.1.35
access-list 124 deny ip any host 224.0.1.60
access-list 124 deny ip any host 224.0.1.39
access-list 124 deny ip any host 224.0.1.40
access-list 124 deny ip any 239.0.0.0 0.255.255.255
access-list 124 deny ip 10.0.0.0 0.255.255.255 any
access-list 124 deny ip 127.0.0.0 0.255.255.255 any
access-list 124 deny ip 172.16.0.0 0.15.255.255 any
access-list 124 deny ip 192.168.0.0 0.0.255.255 any
access-list 124 deny ip any 232.0.0.0 0.255.255.255
The following sample output shows how to verify that MSDP peers are
working properly:
show ip msdp peer J.4.0.203
0838_01i.book Page 69 Thursday, May 23, 2002 1:31 PM
External RP Scenario
This section addresses the following issues related to using RP in ISP1 for multicast:
• Strategy
• Topology
• Benefits and ramifications
• Configuration summary
In this scenario, the customer uses the RP in ISP1 for multicasting. This customer requires
its internal content to be seen by others outside the company.
The network topology for ISP1-POP is the same topology as ISP1 with the addition of a
point of presence (POP). In Figure 2-8, ISP1AC2 represents the “external RP customer”
scenario.
ISP2
Anycast RP BB5 BB7
Loopback0: J.1.0.203
Loopback1: J.1.0.100
ISP4 ISP3
BB3 BB4 BB6
BB1 BB2
IPTV Server
Table 2-3 presents the benefits and ramifications of using RP in ISP1 when deploying a
multicast network.
Benefits Ramifications
Using RP allows controlled access to multicast content on the Internet. Possibility for a denial-of-service
attack by another customer of the ISP
Configuration is simple.
The following is a summary of the tasks that were performed to configure the ISP1AC2
router for multicasting using an RP in ISP1:
Step 1 Configure multicast globally.
interface eth5/2
ip pim sparse-mode
In this scenario, the customer uses its own internal RP for multicasting without MBGP. This
customer wants the flexibility to decide whether its internal multicast content can be seen
by others outside of the company. The internal RP allows the customer to filter private
multicast traffic.
Refer to figure 2-8 to review the network topology of ISP1-POP. ISP1AC1 represents the
“internal RP customer without MBGP” scenario. The customer is in the same AS as the
provider.
Table 2-4 presents the benefits and ramifications of deploying the ISP2 multicast network.
Table 2-4 Using RP Without MBGP in ISP1 for Multicasting: Benefits and Ramifications
Benefits Ramifications
Using RP without MBGP allows access to multicast content on the More complex to implement than the
Internet. external RP scenario
The customer can have its own multicast sessions that do not leave the
company.
The following is a summary of the tasks that were performed to configure the ISP1AC1
router for intradomain multicasting. In this example, the customer has only one router. If
the customer has multiple routers, the intradomain multicast tasks should be performed on
all of the routers.
Step 1 Configure multicast globally.
interface Ethernet5/2
ip pim sparse-mode
interface Ethernet5/3
ip pim sparse-mode
0838_01i.book Page 73 Thursday, May 23, 2002 1:31 PM
In this example, the customer has only one router (ISP1AC1). The
following sample configuration shows how a unique IP address with a
32-bit mask is configured on the loopback interface of the RP
(ISP1AC1).
interface Loopback0
ip address K.250.0.201 255.255.255.255
ip pim sparse-mode
ip mroute-cache distributed
no shut
The following is a summary of the tasks that were performed to configure the ISP1AC1
router for interdomain multicasting. In this example, the customer has only one router. If
the customer has multiple routers, the interdomain multicast tasks should be performed on
all of the routers.
Step 1 Configure MSDP peering session.
The following sample output shows how to verify that MSDP peers are
working properly:
show ip msdp peer
ip pim sparse-mode
ip multicast boundary 1
ISP1 ISP2
BB6 BB7
ISP3 Core
ISP4
BB3 BB4
Anycast RP Anycast RP
Loopback0: J.3.0.203 Loopback0: J.3.0.204
Loopback1: J.3.0.124 Loopback1: J.3.0.124
Physical Link
Internal MSDP
Peering—Anycast
0838_01i.book Page 76 Thursday, May 23, 2002 1:31 PM
The following is a summary of the tasks that were performed to configure the devices in
ISP3 for interdomain multicast:
Step 1 Configure MBGP to exchange multicast routing information.
The configuration of the BGP route reflector servers and route reflector
clients adds some complexity to the configuration of ISP3. For example,
the MSDP peers must perform an RPF check to verify from which AS the
SA messages originated, and the IP addresses must match the IP address
of the route reflector server. To ensure that RPF checks always succeed
in the ISP3 network, configure the router reflector server (ISP3BB4) to
have an MSDP peering session with the Anycast RPs (ISP3BB3 and
ISP3BB4).
(a) Select an IP address.
0838_01i.book Page 80 Thursday, May 23, 2002 1:31 PM
The following sample output shows how to verify that MSDP peers are
working properly:
ISP3BB3# show ip msdp peer J.3.0.250
The following sample configuration, taken from the configuration file for
the ISP3BB3 router, shows how to configure multicast borders:
interface POS12/0/0
description Connected to ISP4BB3, POS12/0/0
ip pim bsr-border
ip pim sparse-mode
ip multicast boundary 1
!
access-list 1 deny 224.0.1.39
access-list 1 deny 224.0.1.40
access-list 1 deny 239.0.0.0 0.255.255.255
access-list 1 permit any
For characteristics and complete configuration files of the significant devices in ISP3, see
Chapter 5, “ISP3 and ISP4 Device Characteristics and Configuration Files.”
Figure 2-10 shows the interdomain multicast network diagram for ISP4.
ISP1
BB4
ISP2
BB3
RP ISP3
ISP4 Core Loopback1: J.4.0.124
Physical Link
The following is a summary of the tasks that were performed to configure the devices in
ISP4 for interdomain multicast:
Step 1 Configure MBGP to exchange multicast routing information.
The following sample output shows how to verify that the MSDP peers
are working properly:
ISP4BB3#show ip msdp peer
interface POS12/0/0
description To ISP3BB3, POS 12/0/0
ip pim bsr-border
ip pim sparse-mode
ip multicast boundary 1
0838_01i.book Page 88 Thursday, May 23, 2002 1:31 PM
Summary
In this chapter, you saw how four hypothetical ISPs implemented interdomain multicast
among them using PIM-SM, MBGP, and MSDP. The solutions presented in this chapter
were based on actual customer deployments. These solutions were tested in the field and
verified in a lab environment. The ISPs are representative of typical customer topologies.
The solution itself was divided into four deployment phases:
• Establishing an overall interdomain multicast strategy
• Implementing intradomain multicast within each of the individual ISPs
• Implementing interdomain multicast between each of the ISPs
• Connecting customers to the ISP infrastructure
The overall interdomain multicast strategy was to deploy intradomain multicast within each
of the individual ISPs, to deploy interdomain multicast between each of the ISPs, and,
finally, to connect customers to the ISP infrastructure. PIM-SM was the multicast routing
protocol used in these intradomain multicast scenarios. MBGP was used for interdomain
routing and MSDP was employed for interdomain source discovery. MBGP and MSDP
connect PIM-SM domains. Two strategies were presented for connecting customers to the
ISP infrastructure: having the customer connect to an external RP in its ISP, and having the
customer maintain its own internal RP without MBGP.
Related Documents
• Changes in MBGP Commands Between 12.0S and 12.0T/12.1, Cisco Application Note
(www.cisco.com/warp/public/cc/pd/iosw/prodlit/mcb12_an.htm)
• Cisco IOS IP and IP Routing Command Reference, Release 12.1
(www.cisco.com/univercd/cc/td/doc/product/software/ios121/121cgcr/ip_r/index.htm)
• Cisco IOS IP and IP Routing Configuration Guide, Release 12.1
(www.cisco.com/univercd/cc/td/doc/product/software/ios121/121cgcr/ip_c/index.htm)
• Cisco IOS Software IP Multicast Groups External Homepage
(ftp://ftpeng.cisco.com/ipmulticast/index.html)
• Cisco IOS Software Multicast Services Web Page
(www.cisco.com/go/ipmulticast)
0838_01i.book Page 89 Thursday, May 23, 2002 1:31 PM
Related Documents 89
This chapter includes the device characteristics and configuration files for the following
host names in ISP1 and ISP1-POP, as described in Chapter 2, “Implementing Interdomain
Multicast Using MSDP”:
• ISP1BB1
• ISP1BB2
• ISP1BB3
• ISP1BB4
• ISP1BB5
• ISP1BB6
• ISP1BB7
• ISP1DA1
• ISP1DA2
• ISP1DA3
• ISP1AC1
0838_01i.book Page 91 Thursday, May 23, 2002 1:31 PM
CHAPTER
3
ISP1 Device Characteristics and
Configuration Files
This chapter provides the characteristics and configuration files for the devices associated
with ISP1 and ISP1-POP, as described in Chapter 2, “Implementing Interdomain Multicast
Using MSDP.” Figure 3-1 and Figure 3-2 show the overall interdomain topology to which
ISP1 and ISP1-POP belong. Figure 3-1 shows the MBGP peering sessions and Figure 3-2
shows the MSDP peering sessions established among the four Internet service providers
(ISPs) in which interdomain multicast is deployed.
ISP1 ISP2
RR RRc eMBGP
iMBGP
BB5 BB7 RRc BB7 BB5 RR
AS 1 AS 2
iMBGP
ISP1-POP
eMBGP eMBGP
eMBGP eMBGP
ISP4 ISP3
AS 4
iMBGP
BB4
BB6 BB7
ISP3 Core
iMBGP
AS 3
BB3 BB3 BB4
ISP4 Core eMBGP
Physical link
RR Route reflector server
RRc Route reflector client
0838_01i.book Page 92 Thursday, May 23, 2002 1:31 PM
ISP1 ISP2
ISP1-POP
ISP4 ISP3
BB4
BB6 BB7
ISP3 Core
Physical Link
External MSDP Peering
Internal MSDP Peering—Anycast
The multicast solutions in this chapter were tested with valid IP addresses. Normally, when
a configuration file is published, the valid IP addresses are replaced with IP addresses
specified in RFC 1918, “Address Allocation for Private Networks.” Because the range of
available IP addresses was insufficient to span the range of IP addresses used in this
solution, the first octet of the valid IP addresses was replaced with a variable. In the example
configurations provided in the following sections, the first octet of these reserved IP
addresses has been replaced with the letter J or the letter K for privacy reasons. The letter J
always represents one unique number and the letter K always represents a unique number
that is different from J.
The example configurations are intended for illustrative purposes only. The letters J and K
must be replaced with valid numbers when these IP addresses are configured in an actual
network.
NOTE The example configurations provided in the following sections use shaded text to indicate
pertinent configuration commands that are used to deploy the IP multicast solutions
described in this chapter.
0838_01i.book Page 93 Thursday, May 23, 2002 1:31 PM
ISP1BB1 93
ISP1BB1
ISP1BB1 is a backbone router in ISP1. Figure 3-3 shows the topology of ISP1 and
ISP1BB1's location in ISP1.
ISP1
Anycast RP
Loopback0: J.1.0.207
Loopback1: J.1.0.100
ISP2
BB5 BB7
Anycast RP
RR RRc
Loopback0: J.1.0.203
Loopback1: J.1.0.100
ISP4 ISP3
BB3 BB4 BB6
RR RRc
BB1 BB2
Physical Link
Internal MSDP
Peering—Anycast
continues
0838_01i.book Page 94 Thursday, May 23, 2002 1:31 PM
Table 3-1 Hardware and Software Device Characteristics for ISP1BB1 (Continued)
ISP1BB1 95
continues
0838_01i.book Page 96 Thursday, May 23, 2002 1:31 PM
ISP1BB2 97
ISP1BB2
ISP1BB2 is a backbone router in ISP1. Figure 3-4 shows the topology of ISP1 and
ISP1BB2’s location in ISP1.
0838_01i.book Page 98 Thursday, May 23, 2002 1:31 PM
ISP2
BB5 BB7
Anycast RP
RR RRc
Loopback0: J.1.0.203
Loopback1: J.1.0.100
ISP4 ISP3
BB3 BB4 BB6
RR RRc
BB1 BB2
Physical Link
Internal MSDP
Peering—Anycast
ISP1BB2 99
Table 3-2 Hardware and Software Device Characteristics for ISP1BB2 (Continued)
continues
0838_01i.book Page 100 Thursday, May 23, 2002 1:31 PM
ISP1BB2 101
continues
0838_01i.book Page 102 Thursday, May 23, 2002 1:31 PM
ISP1BB3
ISP1BB3 is a backbone router in ISP1. Figure 3-5 shows the topology of ISP1 and
ISP1BB3's location in ISP1.
0838_01i.book Page 103 Thursday, May 23, 2002 1:31 PM
ISP1BB3 103
ISP2
BB5 BB7
Anycast RP
RR RRc
Loopback0: J.1.0.203
Loopback1: J.1.0.100
ISP4 ISP3
BB3 BB4 BB6
RR RRc
BB1 BB2
Physical Link
Internal MSDP
Peering—Anycast
ISP1BB3 105
continues
0838_01i.book Page 106 Thursday, May 23, 2002 1:31 PM
ISP1BB3 107
ISP1BB4
ISP1BB4 is a backbone router in ISP1. Figure 3-6 shows the topology of ISP1 and
ISP1BB4's location in ISP1.
ISP2
BB5 BB7
Anycast RP
RR RRc
Loopback0: J.1.0.203
Loopback1: J.1.0.100
ISP4 ISP3
BB3 BB4 BB6
RR RRc
BB1 BB2
Physical Link
Internal MSDP
Peering—Anycast
ISP1BB4 109
Table 3-4 Hardware and Software Device Characteristics for ISP1BB4 (Continued)
ISP1BB4 111
continues
0838_01i.book Page 112 Thursday, May 23, 2002 1:31 PM
ISP1BB5 113
ISP1BB5
ISP1BB5 is a backbone router in ISP1. Figure 3-7 shows the topology of ISP1 and
ISP1BB5's location in ISP1.
ISP2
BB5 BB7
Anycast RP
RR RRc
Loopback0: J.1.0.203
Loopback1: J.1.0.100
ISP4 ISP3
BB3 BB4 BB6
RR RRc
BB1 BB2
Physical Link
Internal MSDP
Peering—Anycast
continues
0838_01i.book Page 114 Thursday, May 23, 2002 1:31 PM
Table 3-5 Hardware and Software Device Characteristics for ISP1BB5 (Continued)
ISP1BB5 115
continues
0838_01i.book Page 116 Thursday, May 23, 2002 1:31 PM
ISP1BB5 117
continues
0838_01i.book Page 118 Thursday, May 23, 2002 1:31 PM
ISP1BB6 119
ISP1BB6
ISP1BB6 is a backbone router in ISP1. Figure 3-8 shows the topology of ISP1 and
ISP1BB6’s location in ISP1.
ISP2
BB5 BB7
Anycast RP
RR RRc
Loopback0: J.1.0.203
Loopback1: J.1.0.100
ISP4 ISP3
BB3 BB4 BB6
RR RRc
BB1 BB2
Physical Link
Internal MSDP
Peering—Anycast
Table 3-6 Hardware and Software Device Characteristics for ISP1BB6 (Continued)
ISP1BB6 121
continues
0838_01i.book Page 122 Thursday, May 23, 2002 1:31 PM
ISP1BB7 123
ISP1BB7
ISP1BB7 is a backbone router in ISP1. Figure 3-9 shows the topology of ISP1 and
ISP1BB7's location in ISP1.
ISP2
BB5 BB7
Anycast RP
RR RRc
Loopback0: J.1.0.203
Loopback1: J.1.0.100
ISP4 ISP3
BB3 BB4 BB6
RR RRc
BB1 BB2
Physical Link
Internal MSDP
Peering—Anycast
0838_01i.book Page 124 Thursday, May 23, 2002 1:31 PM
ISP1BB7 125
continues
0838_01i.book Page 126 Thursday, May 23, 2002 1:31 PM
ISP1BB7 127
continues
0838_01i.book Page 128 Thursday, May 23, 2002 1:31 PM
ISP1DA1
ISP1DA1 is a distribution/aggregation (DA) router in ISP1-POP. Figure 3-10 shows the
topology of ISP1-POP and ISP1DA1's location in ISP1-POP.
ISP2
Anycast RP BB5 BB7
Loopback0: J.1.0.203
Loopback1: J.1.0.100
ISP4 ISP3
BB3 BB4 BB6
BB1 BB2
IPTV Server
ISP1DA1 129
continues
0838_01i.book Page 130 Thursday, May 23, 2002 1:31 PM
ISP1DA1 131
ISP1DA2 133
ISP1DA2
ISP1DA2 is a DA router in ISP1-POP. Figure 3-11 shows the topology of ISP1-POP and
ISP1DA2’s location in ISP1-POP.
ISP2
Anycast RP BB5 BB7
Loopback0: J.1.0.203
Loopback1: J.1.0.100
ISP4 ISP3
BB3 BB4 BB6
BB1 BB2
IPTV Server
fa3/0 fa3/0
ISP1-POP
Internal RP External RP
AC1 AC2
RP e5/3 Customer
e5/2 e5/2
Customer
Without
MBGP
Table 3-9 Hardware and Software Device Characteristics for ISP1DA2 (Continued)
ISP1DA2 135
ISP1DA2 137
ISP1DA3
ISP1DA3 is a DA router in ISP1-POP. Figure 3-12 shows the topology of ISP1-POP and
ISP1DA3's location in ISP1-POP.
ISP2
Anycast RP BB5 BB7
Loopback0: J.1.0.203
Loopback1: J.1.0.100
ISP4 ISP3
BB3 BB4 BB6
BB1 BB2
IPTV Server
fa3/0 fa3/0
ISP1-POP
Internal RP External RP
AC1 AC2
RP e5/3 Customer
e5/2 e5/2
Customer
Without
MBGP
ISP1DA3 139
Table 3-10 Hardware and Software Device Characteristics for ISP1DA3 (Continued)
continues
0838_01i.book Page 140 Thursday, May 23, 2002 1:31 PM
ISP1DA3 141
continues
0838_01i.book Page 142 Thursday, May 23, 2002 1:31 PM
ISP1AC1
ISP1AC1 is an AC router in ISP1-POP. Figure 3-13 shows the topology of ISP1-POP and
ISP1AC1's location in ISP1-POP.
0838_01i.book Page 143 Thursday, May 23, 2002 1:31 PM
ISP1AC1 143
Anycast RP
Loopback0: J.1.0.207
Loopback1: J.1.0.100
ISP2
Anycast RP BB5 BB7
Loopback0: J.1.0.203
Loopback1: J.1.0.100
ISP4 ISP3
BB3 BB4 BB6
BB1 BB2
IPTV Server
fa3/0 fa3/0
ISP1-POP
Internal RP External RP
AC1 AC2
RP e5/3 Customer
e5/2 e5/2
Customer
Without
MBGP
continues
0838_01i.book Page 144 Thursday, May 23, 2002 1:31 PM
Table 3-11 Hardware and Software Device Characteristics for ISP1AC1 (Continued)
ISP1AC1 145
continues
0838_01i.book Page 146 Thursday, May 23, 2002 1:31 PM
ISP1AC2
ISP1AC2 is an AC router in ISP1-POP. Figure 3-14 shows the topology of ISP1-POP and
ISP1AC2's location in ISP1-POP.
0838_01i.book Page 147 Thursday, May 23, 2002 1:31 PM
ISP1AC2 147
ISP2
Anycast RP BB5 BB7
Loopback0: J.1.0.203
Loopback1: J.1.0.100
ISP4 ISP3
BB3 BB4 BB6
BB1 BB2
IPTV Server
fa3/0 fa3/0
ISP1-POP
Internal RP External RP
AC1 AC2
RP e5/3 Customer
e5/2 e5/2
Customer
Without
MBGP
continues
0838_01i.book Page 148 Thursday, May 23, 2002 1:31 PM
Table 3-12 Hardware and Software Device Characteristics for ISP1AC2 (Continued)
ISP1AC2 149
This chapter includes the device characteristics and configuration files for the following
host names in ISP2, as described in Chapter 2, “Implementing Interdomain Multicast Using
MSDP”:
• ISP2BB1
• ISP2BB2
• ISP2BB3
• ISP2BB4
• ISP2BB5
• ISP2BB6
• ISP2BB7
0838_04i.fm Page 151 Friday, May 24, 2002 12:16 PM
CHAPTER
4
ISP2 Device Characteristics
and Configuration Files
This chapter provides the characteristics and configuration files for the devices associated
with ISP2, as described in Chapter 2. Figure 4-1 and Figure 4-2 show the overall
interdomain topology to which ISP2 belongs. Figure 4-1 shows the MBGP peering sessions
and Figure 4-2 shows the MSDP peering sessions established among the four ISPs in which
interdomain multicast is deployed.
iMBGP
ISP1-POP
eMBGP eMBGP
eMBGP eMBGP
ISP4 ISP3
AS 4
iMBGP
BB4
BB6 BB7
ISP3 Core
iMBGP
ISP1-POP
ISP4 ISP3
BB4
BB6 BB7
ISP3 Core
Physical Link
External MSDP Peering
Internal MSDP Peering—Anycast
The multicast solutions in this chapter were tested with valid IP addresses. Normally, when
a configuration file is published, the valid IP addresses are replaced with IP addresses, as
specified in RFC 1918, “Address Allocation for Private Networks.” Because the range of
available IP addresses was insufficient to span the range of IP addresses used in this
solution, the first octet of the valid IP addresses was replaced with a variable. In the example
configurations provided in the following sections, the first octet of reserved IP addresses
has been replaced with the letter J or the letter K for privacy reasons. The letter J always
represents one unique number and the letter K always represents a unique number that is
different from J.
The example configurations are intended for illustrative purposes only. The letters J and K
must be replaced with valid numbers when these IP addresses are configured in an actual
network.
NOTE The example configurations provided in the following sections use highlighted text to
indicate pertinent configuration commands used for deploying the IP multicast solutions
described in this chapter.
0838_04i.fm Page 153 Friday, May 24, 2002 12:16 PM
ISP2BB1 153
ISP2BB1
ISP2BB1 is a backbone router in ISP2. Figure 4-3 shows the topology of ISP2 and
ISP2BB1’s location in ISP2.
ISP1
BB7 BB5
RRc RR
Loopback: J.2.0.124
RP
ISP4 ISP3
BB6 BB4 BB3
RRc RR
BB2 BB1
Physical Link
continues
0838_04i.fm Page 154 Friday, May 24, 2002 12:16 PM
Table 4-1 Hardware and Software Device Characteristics for ISP2BB1 (Continued)
ISP2BB1 155
ISP2BB1 157
continues
0838_04i.fm Page 158 Friday, May 24, 2002 12:16 PM
ISP2BB1 159
ISP2BB2
ISP2BB2 is a backbone router in ISP2. Figure 4-4 shows the topology of ISP2 and
ISP2BB2's location in ISP2.
ISP1
BB7 BB5
RRc RR
Loopback: J.2.0.124
RP
ISP4 ISP3
BB6 BB4 BB3
RRc RR
BB2 BB1
Physical Link
ISP2BB2 161
Table 4-2 Hardware and Software Device Characteristics for ISP2BB2 (Continued)
ISP2BB2 163
continues
0838_04i.fm Page 164 Friday, May 24, 2002 12:16 PM
ISP2BB2 165
continues
0838_04i.fm Page 166 Friday, May 24, 2002 12:16 PM
ISP2BB3 167
ISP2BB3
ISP2BB3 is a backbone router in ISP2. Figure 4-5 shows the topology of ISP2 and
ISP2BB3's location in ISP2.
ISP1
BB7 BB5
RRc RR
Loopback: J.2.0.124
RP
ISP4 ISP3
BB6 BB4 BB3
RRc RR
BB2 BB1
Physical Link
0838_04i.fm Page 168 Friday, May 24, 2002 12:16 PM
ISP2BB3 169
Example 4-3 displays the show running-config privileged EXEC command output for
host ISP2BB3.
Example 4-3 ISP2BB3 Configuration
ISP2BB3#show running-config
version 12.0
no service pad
service timestamps debug datetime localtime show-timezone
service timestamps log datetime localtime show-timezone
no service password-encryption
service udp-small-servers
service tcp-small-servers
!
hostname ISP2BB3
!
enable password lab
!
clock timezone PDT -8
clock summer-time PDT recurring
!
!
ip subnet-zero
no ip domain-lookup
ip multicast-routing distributed
clns routing
!
!
interface Loopback0
ip address J.2.0.203 255.255.255.255
no ip directed-broadcast
ip pim sparse-mode
ip router isis
ip mroute-cache distributed
!
interface POS0/0
description TO ISP3BB7, POS12/0/0
ip address J.2.0.245 255.255.255.252
no ip directed-broadcast
ip pim bsr-border
ip pim sparse-mode
ip multicast boundary 1
ip router isis
ip mroute-cache distributed
crc 16
clock source internal
!
interface POS0/1
ip address J.2.182.17 255.255.255.240 secondary
ip address J.2.182.33 255.255.255.240 secondary
ip address J.2.182.49 255.255.255.240 secondary
ip address J.2.182.65 255.255.255.240 secondary
ip address J.2.182.81 255.255.255.240 secondary
ip address J.2.182.97 255.255.255.240 secondary
continues
0838_04i.fm Page 170 Friday, May 24, 2002 12:16 PM
ISP2BB3 171
ISP2BB3 173
ISP2BB4
ISP2BB4 is a backbone router in ISP2. Figure 4-6 shows the topology of ISP2 and
ISP2BB4's location in ISP2.
ISP1
BB7 BB5
RRc RR
Loopback: J.2.0.124
RP
ISP4 ISP3
BB6 BB4 BB3
RRc RR
BB2 BB1
Physical Link
0838_04i.fm Page 175 Friday, May 24, 2002 12:16 PM
ISP2BB4 175
Example 4-4 displays the show running-config privileged EXEC command output for
host ISP2BB4.
Example 4-4 ISP2BB4 Configuration
ISP2BB4#show running-config
version 12.0
no service pad
service timestamps debug datetime localtime show-timezone
service timestamps log datetime localtime show-timezone
no service password-encryption
service udp-small-servers
service tcp-small-servers
!
hostname ISP2BB4
!
enable password lab
!
clock timezone PDT -8
clock summer-time PDT recurring
!
!
ip subnet-zero
no ip domain-lookup
ip multicast-routing distributed
clns routing
!
!
interface Loopback0
ip address J.2.0.204 255.255.255.255
no ip directed-broadcast
ip pim sparse-mode
ip router isis
ip mroute-cache distributed
!
interface Loopback1
ip address J.2.0.124 255.255.255.255
no ip directed-broadcast
ip pim sparse-mode
ip router isis
ip mroute-cache distributed
!
interface POS0/0
description TO ISP2BB7, POS 4/0
ip address J.2.0.49 255.255.255.252
no ip directed-broadcast
ip pim sparse-mode
ip router isis
ip mroute-cache distributed
crc 32
clock source internal
!
interface POS2/0
description TO ISP2BB2, POS 4/0
0838_04i.fm Page 177 Friday, May 24, 2002 12:16 PM
ISP2BB4 177
continues
0838_04i.fm Page 178 Friday, May 24, 2002 12:16 PM
ISP1 BB5
BB7
Loopback: J.2.0.124
RP
ISP4 ISP3
BB6 BB4 BB3
BB2 BB1
Physical Link
0838_04i.fm Page 180 Friday, May 24, 2002 12:16 PM
ISP2BB6
ISP2BB6 is a backbone router in ISP2. Figure 4-8 shows the topology of ISP2 and
ISP2BB6's location in ISP2.
0838_04i.fm Page 185 Friday, May 24, 2002 12:16 PM
ISP2BB6 185
ISP1
BB7 BB5
Loopback: J.2.0.124
RP
ISP4 ISP3
BB6 BB4 BB3
BB2 BB1
Physical Link
ISP2BB6 187
continues
0838_04i.fm Page 188 Friday, May 24, 2002 12:16 PM
ISP1
BB7 BB5
Loopback: J.2.0.124
RP
ISP4 BB6
ISP3
BB4 BB3
BB2 BB1
Physical Link
continues
0838_04i.fm Page 190 Friday, May 24, 2002 12:16 PM
Table 4-7 Hardware and Software Device Characteristics for ISP2BB7 (Continued)
This chapter includes the device characteristics and configuration files for the following
host names in ISP3 and ISP4, as described in Chapter 2, “Implementing Interdomain
Multicast Using MSDP”:
• ISP3BB3
• ISP3BB4
• ISP3BB6
• ISP3BB7
• ISP4BB3
• ISP4BB4
0838_01i.book Page 195 Thursday, May 23, 2002 1:31 PM
CHAPTER
5
ISP3 and ISP4 Device
Characteristics and
Configuration Files
This chapter provides the device characteristics and configuration files for the devices
associated with ISP3 and ISP4 as described in Chapter 2. Figure 5-1 and Figure 5-2 show
the overall interdomain topology to which ISP3 and ISP4 belong. Figure 5-1 shows the
MBGP peering sessions and Figure 5-2 shows the MSDP peering sessions established
among the four ISPs in which interdomain multicast is being deployed.
ISP1 ISP2
RR RRc eMBGP
iMBGP
BB5 BB7 RRc BB7 BB5 RR
AS 1 AS 2
iMBGP
ISP1-POP
eMBGP eMBGP
eMBGP eMBGP
ISP4 ISP3
AS 4
iMBGP
BB4
BB6 BB7
ISP3 Core
iMBGP
Physical link
RR Route reflector server
RRc Route reflector client
0838_01i.book Page 196 Thursday, May 23, 2002 1:31 PM
196 Chapter 5: ISP3 and ISP4 Device Characteristics and Configuration Files
ISP1 ISP2
ISP1-POP
ISP4 ISP3
BB4
BB6 BB7
ISP3 Core
Physical Link
External MSDP Peering
Internal MSDP Peering—Anycast
The multicast solutions in this document were tested with valid IP addresses. Normally,
when a configuration file is published, the valid IP addresses are replaced with IP addresses,
as specified in RFC 1918, “Address Allocation for Private Networks.” Because the range of
available IP addresses was insufficient to span the range of IP addresses used in this
solution, the first octet of the valid IP addresses was replaced with a variable. In the example
configurations provided in the following sections, the first octet of reserved IP addresses
has been replaced with the letter J or the letter K for privacy reasons. The letter J always
represents one unique number, and the letter K always represents a unique number that is
different from J.
The example configurations are intended for illustrative purposes only. The letters J and K
must be replaced with valid numbers when these IP addresses are configured in an actual
network.
NOTE The example configurations provided in the following sections use highlighted text to
indicate pertinent configuration commands used for deploying the IP multicast solutions
described in this chapter.
0838_01i.book Page 197 Thursday, May 23, 2002 1:31 PM
ISP3BB3 197
ISP3BB3
ISP3BB3 is a backbone router in ISP3. Figure 5-3 shows the topology of ISP3 and
ISP3BB3's location in ISP3.
ISP3
ISP1 ISP2
BB7
BB6
ISP3 Core
ISP4
BB3 BB4
Anycast RP Anycast RP
Loopback0: J.3.0.203 Loopback0: J.3.0.204
Loopback1: J.3.0.124 Loopback1: J.3.0.124
Physical Link
Internal MSDP
Peering—Anycast
continues
0838_01i.book Page 198 Thursday, May 23, 2002 1:31 PM
198 Chapter 5: ISP3 and ISP4 Device Characteristics and Configuration Files
Table 5-1 Hardware and Software Device Characteristics for ISP3BB3 (Continued)
ISP3BB3 199
continues
0838_01i.book Page 200 Thursday, May 23, 2002 1:31 PM
200 Chapter 5: ISP3 and ISP4 Device Characteristics and Configuration Files
ISP3BB3 201
continues
0838_01i.book Page 202 Thursday, May 23, 2002 1:31 PM
202 Chapter 5: ISP3 and ISP4 Device Characteristics and Configuration Files
ISP3BB4 203
ISP3BB4
ISP3BB4 is a backbone router in ISP3. Figure 5-4 shows the topology of ISP3 and
ISP3BB4's location in ISP3.
ISP3
ISP1 ISP2
BB7
BB6
ISP3 Core
Physical Link
Internal MSDP
Peering—Anycast
continues
0838_01i.book Page 204 Thursday, May 23, 2002 1:31 PM
204 Chapter 5: ISP3 and ISP4 Device Characteristics and Configuration Files
Table 5-2 Hardware and Software Device Characteristics for ISP3BB4 (Continued)
ISP3BB4 205
206 Chapter 5: ISP3 and ISP4 Device Characteristics and Configuration Files
ISP3BB4 207
208 Chapter 5: ISP3 and ISP4 Device Characteristics and Configuration Files
ISP3BB6
ISP3BB6 is a backbone router in ISP3. Figure 5-5 shows the topology of ISP3 and
ISP3BB6's location in ISP3.
ISP1 ISP2
BB6 BB7
ISP3 Core
ISP4
BB3 BB4
Anycast RP Anycast RP
Loopback0: J.3.0.203 Loopback0: J.3.0.204
Loopback1: J.3.0.124 Loopback1: J.3.0.124
Physical Link
Internal MSDP
Peering—Anycast
0838_01i.book Page 209 Thursday, May 23, 2002 1:31 PM
ISP3BB6 209
210 Chapter 5: ISP3 and ISP4 Device Characteristics and Configuration Files
Example 5-3 displays the show running-config privileged EXEC command output for
host ISP3BB6.
Example 5-3 ISP3BB6 Configuration
ISP3BB6#show running-config
version 12.0
service timestamps debug datetime localtime show-timezone
service timestamps log datetime localtime show-timezone
no service password-encryption
service udp-small-servers
service tcp-small-servers
!
hostname ISP3BB6
!
logging buffered 1000000 debugging
no logging console
enable password lab
!
clock timezone PST -8
clock summer-time PST recurring
ip subnet-zero
ip cef distributed
no ip domain-lookup
ip multicast-routing distributed
!
!
clns routing
!
!
controller T1 8/1/0
clock source internal
cablelength short 133
channel-group 0 timeslots 1-24
!
controller T1 8/1/1
!
controller T1 8/1/2
!
controller T1 8/1/3
!
controller T1 8/1/4
!
controller T1 8/1/5
!
controller T1 8/1/6
!
controller T1 8/1/7
!
controller T1 9/0/0
channel-group 0 timeslots 1-24
!
controller T1 9/0/1
!
0838_01i.book Page 211 Thursday, May 23, 2002 1:31 PM
ISP3BB6 211
continues
0838_01i.book Page 212 Thursday, May 23, 2002 1:31 PM
212 Chapter 5: ISP3 and ISP4 Device Characteristics and Configuration Files
ISP3BB6 213
continues
0838_01i.book Page 214 Thursday, May 23, 2002 1:31 PM
214 Chapter 5: ISP3 and ISP4 Device Characteristics and Configuration Files
ISP3BB7 215
ISP3BB7
ISP3BB7 is a backbone router in ISP3. Figure 5-6 shows the topology of ISP3 and
ISP3BB7's location in ISP3.
ISP1 ISP2
BB6 BB7
ISP3 Core
ISP4
BB3 BB4
Anycast RP Anycast RP
Loopback0: J.3.0.203 Loopback0: J.3.0.204
Loopback1: J.3.0.124 Loopback1: J.3.0.124
Physical Link
Internal MSDP
Peering—Anycast
continues
0838_01i.book Page 216 Thursday, May 23, 2002 1:31 PM
216 Chapter 5: ISP3 and ISP4 Device Characteristics and Configuration Files
Table 5-4 Hardware and Software Device Characteristics for ISP3BB7 (Continued)
ISP3BB7 217
218 Chapter 5: ISP3 and ISP4 Device Characteristics and Configuration Files
ISP3BB7 219
220 Chapter 5: ISP3 and ISP4 Device Characteristics and Configuration Files
ISP4BB3 221
ISP4BB3
ISP4BB3 is a backbone router in ISP4. Figure 5-7 shows the topology of ISP4 and
ISP4BB3's location in ISP4.
ISP4
ISP1
BB4
ISP2
BB3
RP ISP3
ISP4 Core Loopback1: J.4.0.124
Physical Link
0838_01i.book Page 222 Thursday, May 23, 2002 1:31 PM
222 Chapter 5: ISP3 and ISP4 Device Characteristics and Configuration Files
ISP4BB3 223
Example 5-5 displays the show running-config privileged EXEC command output for
host ISP4BB3.
Example 5-5 ISP4BB3 Configuration
ISP4BB3#show running-config
version 12.0
service timestamps debug uptime
service timestamps log datetime localtime show-timezone
no service password-encryption
service udp-small-servers
service tcp-small-servers
!
hostname ISP4BB3
!
logging buffered 1000000 debugging
no logging console
enable password lab
!
clock timezone PDT -8
ip subnet-zero
ip cef distributed
no ip domain-lookup
ip multicast-routing distributed
!
!
interface Loopback0
description ISP4BB3 LOOPBACK 0
ip address J.4.0.203 255.255.255.255
no ip directed-broadcast
ip pim sparse-mode
!
interface Loopback1
description ISP4BB4 LOOPBACK1 FOR MULTICAST
ip address J.4.0.124 255.255.255.255
no ip directed-broadcast
ip pim sparse-mode
!
interface Ethernet0/0/2
description To ISP4BB3CL-1 & IPTV-SRVR 1
ip address J.4.6.1 255.255.255.248
no ip directed-broadcast
ip pim sparse-mode
ip route-cache distributed
ip ospf cost 19
ip mroute-cache distributed
no cdp enable
!
interface Ethernet0/0/3
description TO I4EBGP1
ip address J.4.7.129 255.255.255.128
no ip directed-broadcast
ip route-cache distributed
ip ospf cost 19
continues
0838_01i.book Page 224 Thursday, May 23, 2002 1:31 PM
224 Chapter 5: ISP3 and ISP4 Device Characteristics and Configuration Files
ISP4BB3 225
continues
0838_01i.book Page 226 Thursday, May 23, 2002 1:31 PM
226 Chapter 5: ISP3 and ISP4 Device Characteristics and Configuration Files
ISP4BB3 227
continues
0838_01i.book Page 228 Thursday, May 23, 2002 1:31 PM
228 Chapter 5: ISP3 and ISP4 Device Characteristics and Configuration Files
ISP4BB4 229
ISP4BB4
ISP4BB4 is a backbone router in ISP4. Figure 5-8 shows the topology of ISP4 and
ISP4BB4's location in ISP4.
ISP1
BB4
ISP2
BB3
RP ISP3
ISP4 Core Loopback1: J.4.0.124
Physical Link
continues
0838_01i.book Page 230 Thursday, May 23, 2002 1:31 PM
230 Chapter 5: ISP3 and ISP4 Device Characteristics and Configuration Files
Table 5-6 Hardware and Software Device Characteristics for ISP4BB4 (Continued)
ISP4BB4 231
continues
0838_01i.book Page 232 Thursday, May 23, 2002 1:31 PM
232 Chapter 5: ISP3 and ISP4 Device Characteristics and Configuration Files
ISP4BB4 233
PART
III
Interdomain Multicast with SSM
Chapter 6 Implementing Interdomain Multicast Using SSM
CHAPTER
6
Implementing Interdomain
Multicast Using SSM
The current IP multicast infrastructure in the Internet and many enterprise intranets is based
on the Protocol Independent Multicast sparse mode (PIM-SM) protocol and Multicast Source
Discovery Protocol (MSDP). These protocols are reliable, extensive, and efficient. However,
they are bound to the complexity and functionality limitations of the Internet Standard
Multicast (ISM) service model. For example, with ISM, the network must maintain
knowledge about which hosts in the network are actively sending multicast traffic. With
Source Specific Multicast (SSM), receivers provide this information through the source
addresses relayed to the last hop routers by Internet Group Management Protocol Version 3
(IGMPv3), IGMP Version 3 lite (IGMP v3lite), or URL Rendezvous Directory (URD).
SSM is an incremental response to the issues associated with ISM and is intended to coexist
in the network with the protocols developed for ISM. In general, SSM provides a more
advantageous IP multicast service.
This chapter describes how an Internet service provider (ISP) customer within an
interdomain multicast network implements SSM in its network using URD. This chapter
begins by introducing the initial interdomain ISP topology and describing basic SSM
operations (including SSM IP address range). There are three ways to implement SSM in
an interdomain environment: using IGMPv3 host signaling, using IGMP v3lite host
signaling, and using URD host signaling. Each of these possibilities is briefly described.
This chapter then presents and discusses the recommended implementation solution: SSM
using URD host signaling. This discussion includes benefits and ramifications of
implementing SSM using URD host signaling, necessary prerequisites, and
implementation process steps. This chapter concludes with a list of recommended and
related documents.
The SSM solution presented in this chapter is based on an actual customer situation. This
solution was tested and verified in a lab environment and has been deployed in the field.
Alternative ways to implement SSM, such as with IGMPv3 and IGMP v3lite host signaling,
are discussed but were not implemented in our lab environment.
The scope of this chapter is to describe basic design and deployment of SSM using URD.
It does not discuss in detail the general operation of the protocols associated with
developing interdomain multicast networks such as PIM-SM. For more information about
PIM-SM, refer to Chapter 1, “IP Multicast Technology Overview.”
0838_01i.book Page 238 Thursday, May 23, 2002 1:31 PM
Figure 6-1 Logical Connections of the Initial Interdomain Multicast Network Topology
ISP1 ISP2
AS 1 AS 2
ISP4 ISP3
AS 4 AS 3
Physical Link
NOTE The solution presented in this document is based on a hypothetical interdomain ISP
environment. All the IP addresses and configuration in this document are provided for
illustrative purposes only.
Understanding SSM
SSM is a datagram delivery model that best supports one-to-many applications, also known
as Internet broadcast applications. SSM is a core networking technology for the Cisco
implementation of IP multicast solutions targeted for applications such as audio and video
broadcasting.
0838_01i.book Page 239 Thursday, May 23, 2002 1:31 PM
To run SSM with IGMPv3, SSM must be supported in the Cisco IOS router, in the host
where the application is running, and in the application itself. IGMP v3lite and URD, two
Cisco-developed transition solutions, enable the immediate development and deployment
of SSM services, without the need to wait for the availability of full IGMPv3 support in host
operating systems and SSM receiver applications. IGMPv3, IGMP v3lite, and URD
interoperate with each other so that both IGMP v3lite and URD can easily be used as
transitional solutions toward full IGMPv3 support in hosts.
This section covers the following topics:
• Differences Between SSM and ISM
• SSM IP Address Range
• SSM Operations
when they try to use addresses in the SSM range unless the application is modified to use
explicit (S, G) channel subscription or is SSM-enabled through URD.
SSM Operations
An established network in which IP multicast service is based on PIM-SM can support
SSM services. You can also deploy SSM alone in a network without the full range of
protocols that are required for interdomain PIM-SM (for example, MSDP, Auto-RP, or
bootstrap router [BSR]) if only SSM service is needed. However, multiprotocol BGP might
be required (and Cisco recommends its use) to maintain IP multicast connectivity if
multiple autonomous systems are deployed in a network.
If SSM is deployed in a network already configured for PIM-SM (Cisco IOS Software
Release 12.0 or later is recommended), only the last hop routers must be upgraded to a
Cisco IOS Software Release 12.1(5)T or later that supports SSM. Routers that are not
directly connected to receivers can run Cisco IOS Software Release 12.0 or later releases.
In general, non-last hop routers must run only PIM-SM in the SSM range and might need
additional access control configuration to suppress MSDP signalling, registering, or PIM-
SM shared tree operations from occurring within the SSM range.
In Cisco IOS Software Release 12.1(3)T and later releases, you enable the SSM operation
mode by configuring the SSM range through the ip pim ssm global configuration
command. This configuration has the following effects:
• For groups within the SSM range, (S, G) channel subscriptions are accepted through
IGMPv3 INCLUDE mode membership reports, IGMP v3lite, or URD. Each of these
methods must be configured on a per-interface basis. IGMP v3lite and URD (S, G)
channel subscriptions are ignored for groups outside the SSM range.
• PIM operations within the SSM range of addresses change to PIM source-specific
mode (PIM-SSM). PIM-SSM, the routing protocol that supports the implementation
of SSM, is derived from PIM-SM. In PIM-SSM mode, only PIM (S, G) join and prune
messages are generated by the router, and no (S, G) rendezvous point tree (RPT) or
(*, G) RPT messages are generated. Incoming messages related to RPT operations are
ignored or rejected, and incoming PIM register messages are immediately answered
with register-stop messages. PIM-SSM is backward-compatible with PIM-SM, unless
the router is a last hop router. Routers that are not last hop routers can run PIM-SM
for SSM groups (for example, if they do not yet support SSM).
• No MSDP Source-Active (SA) messages within the SSM range will be accepted,
generated, or forwarded.
0838_01i.book Page 241 Thursday, May 23, 2002 1:31 PM
When using the IGMP v3lite mechanism, the library tells the operating system kernel to
join to the whole multicast group. Joining to the whole group is the only method for the
application to receive traffic for that multicast group (if the operating system kernel
supports only IGMPv1 or IGMPv2). In addition, the library signals the (S, G) channel
subscriptions to an IGMP v3lite server process, which is also part of the HSIL. A server
process is needed because multiple SSM applications might be on the same host. This
server process sends IGMP v3lite-specific (S, G) channel subscriptions to the last hop Cisco
IOS router, which must be enabled for IGMP v3lite. The Cisco IOS router sees both the
IGMPv1 or IGMPv2 group membership reports from the operating system kernel and the
(S, G) channel subscription from the HSIL server process. If the router sees both of these
messages, it will interpret them as an SSM (S, G) channel subscription and join to the
channel through PIM-SSM.
NOTE Refer to the documentation accompanying the HSIL software for more information about
how to use IGMP v3lite with your application.
Strategy
This proposed solution's strategy assumes that IP multicast using MSDP is already
deployed in the ISP's autonomous system and that IP multicast connectivity exists between
ISPs.
The following strategy deploys SSM with URD:
• Determine an IP multicast address range to run SSM. The suggested default range is
from 232.0.0.0 through 232.255.255.255.
• Disable rendezvous point (RP) and MSDP peers from processing this SSM address
range as ISM services.
• Configure edge devices to process URD host reports.
Network Topology
Figure 6-2 shows the logical connections of the SSM network topology. As demonstrated
in Figure 6-2, the IPTV server is the SSM source and is located within ISP2. (The URD
web server also happens to be located within ISP2, but the URD web server could have been
located in any of the ISPs. Because its location is not critical, the URD web server has been
omitted from the diagram.) The IPTV client is the SSM/URD client. The SSM/URD client
is located within the customer network ISP1AC1. The audio and video streams use the
group addresses 232.0.2.1 and 232.0.2.2. Within this topology, please note that any existing
RPs or MSDP peers have disabled processing of the SSM range.
AS 1 AS 2
BB3 RP BB3
IPTV Server
Customer
AC1
RP e5/3
ISP4 ISP3
IPTV Client
AS 4 AS 3
Physical Link
0838_01i.book Page 244 Thursday, May 23, 2002 1:31 PM
Benefits
Deploying SSM in a network provides the following benefits:
• IP multicast address management is not required
• Denial-of-service attacks from unwanted sources are inhibited
• Easy to install and manage
• Ideal for Internet broadcast applications
The sections that follow address these benefits at greater length.
service attack depletes bandwidth at the receiver side with unwanted traffic and disrupts the
reception of the Internet broadcast. In SSM, because traffic is transported across the
network only when it is requested, simply sending traffic to a multicast group does not
cause this type of denial-of-service attack.
Ramifications
Deploying SSM in a network has the following ramifications:
• Legacy applications within the SSM range restrictions
• IGMP v3lite and URD require a Cisco last hop router
• Address management restrictions
• State maintenance limitations
The sections that follow address these ramifications at greater length.
0838_01i.book Page 246 Thursday, May 23, 2002 1:31 PM
NOTE An application using the HSIL does not require a Cisco last hop router if the host has
kernel support for IGMPv3, because the HSIL will use the kernel IGMPv3 instead of
IGMP v3lite. IGMPv3 is standard in Windows XP and is also available for FreeBSD.
IGMP v3lite is currently available for all Windows operating systems (Windows 95, 98,
2000, NT, ME, and XP).
The webserver string is the name or IP address to which the URL is targeted. This target
need not be the IP address of an existing web server, except for situations where the web
server wants to recognize that the last hop router failed to support the URD mechanism. The
number 465 indicates the URD port. Port 465 is reserved for Cisco by the IANA for the
URD mechanism. No other applications can use this port.
When a host's browser encounters a URD intercept URL, it tries to open a TCP connection
to the web server on port 465. If the last hop router is enabled for URD on the interface
where the router receives the TCP packets from the host, it will intercept all packets for TCP
connections destined to port 465 independent of the actual destination address of the TCP
connection (that is, independent of the address of the web server). Once intercepted, the last
hop router will “speak” a simple subset of HTTP on this TCP connection, emulating a web
server.
0838_01i.book Page 248 Thursday, May 23, 2002 1:31 PM
The only HTTP request that the last hop router will understand and reply to is the following
GET request:
GET argument HTTP/1.0
argument = /path?group=group&source=source1&...source=sourceN&
When the router receives a GET request, it tries to parse the argument according to the
preceding syntax to derive one or more (S, G) channel memberships. The path string of the
argument is anything up to, but not including, the first question mark. The router ignores
this string. The group and source1 through sourceN strings are the IP addresses or fully
qualified domain names of the channels for which this argument is a subscription request.
If the argument matches the syntax shown, the router interprets the argument to be
subscriptions for the channels (source1, group) through (sourceN, group).
The router will accept the channel subscriptions if the following conditions are met:
• The multicast group's IP address is within the SSM range.
• The IP address of the host that originated the TCP connection is directly connected to
the router.
If the channel subscription is accepted, the router will respond to the TCP connection with
the following HTML page format:
HTTP/1.1 200 OK
Server:cisco IOS
Content-Type:text/html
<html>
<body>
Retrieved URL string successfully
</body>
</html>
If an error condition occurs, the <body> part of the returned HTML page will carry an
appropriate error message. The HTML page is a by-product of the URD mechanism.
Depending on how the web pages carrying a URD intercept URL are designed, this
returned text can be displayed to the user or be sized so that the actual returned HTML page
is invisible.
The primary effect of the URD mechanism is that the router “remembers” received channel
subscriptions and matches them against IGMP group membership reports received by the
host. The router will remember a URD (S, G) channel subscription for up to three minutes
without a matching IGMP group membership report. When the router sees that it has
received both an IGMP group membership report for a multicast group G and a URD (S,
G) channel subscription for the same group G, it will join the (S, G) channel through PIM-
SSM. The router then continues to join to the (S, G) channel based on only the presence of
a continuing IGMP membership from the host. One initial URD channel subscription is all
that needs to be added through a web page to enable SSM with URD.
If the last hop router from the receiver host is not enabled for URD, it will not intercept the
HTTP connection toward the web server on port 465. This situation results in a TCP
connection to port 465 on the web server. If no further provisions on the Web server are
taken, the user might see a notice (for example, “Connection refused”) in the area of the
web page reserved for displaying the URD intercept URL (if the web page was designed to
0838_01i.book Page 249 Thursday, May 23, 2002 1:31 PM
show this output). You can also let the web server “listen” to requests on port 465 and install
a Common Gateway Interface (CGI) script to allow the web server to know if a channel
subscription failed (for example, to subsequently return more complex error descriptions to
the user).
Because the router returns a Content-Type of text and HTML, the best way to include the
URD intercept URL into a web page is to use a frame. By defining the size of the frame,
you can also hide the URD intercept URL on the displayed page.
By default, URD is disabled on all interfaces. When URD is configured on an interface
using the ip urd interface configuration command, it is active only for IP multicast
addresses in the SSM range.
Prerequisite
The prerequisite for deploying SSM using URD is to configure interdomain multicast using
the following configuration tasks:
• Configure MBGP to exchange multicast routing information.
• Configure multicast borders appropriately.
For more information on how to perform these configuration tasks, refer to Chapter 2.
available IP addresses was insufficient to span the range of IP addresses used in this
solution, the first octet of the valid IP addresses was replaced with a variable. In the example
configurations provided in the following sections, the first octet of these reserved IP
addresses has been replaced with the letter J or the letter K for privacy reasons. The letter J
always represents one unique number, and the letter K always represents a unique number
that is different from J.
The example configurations are intended for illustrative purposes only. The letters J and K
must be replaced with valid numbers when these IP addresses are configured in an actual
network.
NOTE The example configurations provided in the following sections use highlighted text to
indicate pertinent configuration commands used for deploying the IP multicast solutions
described in this document.
Use the following steps to configure SSM using URD on the devices shown in Figure 6-2:
Step 1 Select and enable the SSM range in the ISP.
The following sample configuration shows how to select and enable the
SSM range in ISP1:
ip pim ssm
Step 2 Configure filters on the RP for PIM-SM and MSDP traffic in the SSM
address range.
The following sample configuration shows how to configure filters on the
RP (ISP1BB3 router) for PIM-SM and MSDP traffic in the SSM address
range:
ip msdp sa-filter in J.4.0.203 list 124
ip msdp sa-filter out J.4.0.203 list 124
Summary
This chapter described how an ISP customer within an interdomain multicast network implemented
SSM in its network using URD. The initial topology was introduced and SSM basics—including
SSM IP address range and SSM operation—were discussed. URD Host Signaling was identified
as being the best solution for implementing SSM. URD was described and implementation steps
were presented.
Related Documents
• Changes in MBGP Commands Between 12.0S and 12.0T/12.1, Cisco Application Note
(www.cisco.com/warp/public/cc/pd/iosw/prodlit/mcb12_an.htm)
• Cisco IOS IP and IP Routing Command Reference, Release 12.1
(www.cisco.com/univercd/cc/td/doc/product/software/ios121/121cgcr/ip_r/index.htm)
• Cisco IOS IP and IP Routing Configuration Guide, Release 12.1
(www.cisco.com/univercd/cc/td/doc/product/software/ios121/121cgcr/ip_c/index.htm)
• Cisco IOS Software IP Multicast Group External Homepage
(ftpeng.cisco.com/ipmulticast/index.html)
• Cisco IOS Software Multicast Services Web Page
(www.cisco.com/go/ipmulticast)
• Gaining New Efficiencies in Multicast Service Delivery , Cisco Beyond Basic IP Newsletter V1.36
(www.cisco.com/warp/public/779/servpro/promotions/bbip/volume_01_issue36.htm)
• Source Specific Multicast with IGMPv3, IGMP v3lite, and URD, Cisco IOS Software Release
12.1(5)T feature module
(www.cisco.com/univercd/cc/td/doc/product/software/ios121/121newft/121t/121t5/
dtssm5t.htm)
• IGMP Version 3, Cisco IOS Software Release 12.1(5)T feature module
(www.cisco.com/univercd/cc/td/doc/product/software/ios121/121newft/121t/121t5/
dtigmpv3.htm)
• IP Multicast Technology Overview, Cisco white paper
(www.cisco.com/univercd/cc/td/doc/cisintwk/intsolns/mcst_sol/mcst_ovr.htm)
• Multicast Source Discovery Protocol SA Filter Recommendations, Cisco Tech Note
(www.cisco.com/warp/public/105/49.html)
• Multiprotocol BGP Extensions for IP Multicast, Cisco IOS Software Release 12.0(7)T
feature module
(www.cisco.com/univercd/cc/td/doc/product/software/ios120/120newft/120t/120t7/
mbgp.htm)
• RFC 1112, Host extensions for IP multicasting, S. Deering
• RFC 2770, GLOP Addressing in 233/8, D. Meyer, P. Lothberg
0838_07i.fm Page 254 Friday, May 24, 2002 12:22 PM
This chapter includes the device characteristics and configuration files for the following
host names in ISP1 and ISP2 as described in Chapter 6, “Implementing Interdomain
Multicast Using SSM”:
• ISP1AC1
• ISP2BB3
• ISP1BB3
0838_07i.fm Page 255 Friday, May 24, 2002 12:22 PM
CHAPTER
7
Device Characteristics and
Configuration Files for
Implementing Interdomain
Multicast Using SSM
This chapter provides the characteristics and configuration files for the devices associated
with ISP1 and ISP2 as described in Chapter 6. Figure 7-1 shows the logical connections of
the SSM network topology. As shown in the figure, the IPTV server is the Source Specific
Multicast (SSM) source and is located within ISP2. (The URL Rendezvous Directory
(URD) Web server is also located within ISP2, but the URD Web server could have been
located in any of the ISPs. Because its location is not critical, it has been omitted from the
diagram.) The IPTV client is the SSM/URD client. The SSM/URD client is located within
the customer network ISP1AC1.
ISP1 ISP2
AS 1 AS 2
BB3 RP BB3
IPTV Server
Customer
AC1
RP e5/3
ISP4 ISP3
IPTV Client
AS 4 AS 3
Physical Link
0838_07i.fm Page 256 Friday, May 24, 2002 12:22 PM
256 Chapter 7: Device Characteristics and Configuration Files for Implementing Interdomain Multicast
The multicast solutions in this document were tested with valid IP addresses. Normally, when a
configuration file is published, the valid IP addresses are replaced with IP addresses as specified
in RFC 1918, “Address Allocation for Private Networks.” Because the range of available IP
addresses was insufficient to span the range of IP addresses used in this solution, the first octet
of the valid IP addresses was replaced with a variable. In the example configurations provided
in the following sections, the first octet of these reserved IP addresses has been replaced with the
letter J or the letter K for privacy reasons. The letter J always represents one unique number and
the letter K always represents a unique number that is different from J.
The example configurations are intended for illustrative purposes only. The letters J and K must
be replaced with valid numbers when these IP addresses are configured in an actual network.
NOTE The example configurations provided in the following sections use highlighted text to
indicate pertinent configuration commands that are used to deploy the IP multicast
solutions described in this chapter.
ISP1AC1
ISP1AC1 is an access/customer router (AC) for the POP in ISP1. Figure 7-2 shows the
topology of ISP1 and ISP1AC1's location in ISP1. Figure 7-3 shows ISP1AC1's relative
position within the SSM solution.
Figure 7-2 ISP1AC1 Location in ISP1
Anycast RP
Loopback0: J.1.0.207
Loopback1: J.1.0.100
Anycast RP BB7
ISP2
BB5
Loopback0: J.1.0.203
Loopback1: J.1.0.100
ISP4 ISP3
BB3 BB4 BB6
BB1 BB2
IPTV Server
ISP1AC1 257
ISP1 ISP2
AS 1 AS 2
BB3 RP BB3
IPTV Server
Customer
AC1
RP e5/3
ISP4 ISP3
IPTV Client
AS 4 AS 3
Physical Link
258 Chapter 7: Device Characteristics and Configuration Files for Implementing Interdomain Multicast
Table 7-1 Hardware and Software Device Characteristics for ISP1AC1 (Continued)
ISP1AC1 259
260 Chapter 7: Device Characteristics and Configuration Files for Implementing Interdomain Multicast
ISP2BB3
ISP2BB3 is a backbone router in ISP2. Figure 7-4 shows the topology of ISP2 and ISP2BB3’s
location in ISP2. Figure 7-5 shows ISP2BB3's relative position within the SSM solution.
ISP2
ISP1
BB7 BB5
RR
Loopback: J.2.0.124
RP
ISP4 BB6
ISP3
BB4 BB3
BB2 BB1
Physical Link
0838_07i.fm Page 261 Friday, May 24, 2002 12:22 PM
ISP2BB3 261
AS 1 AS 2
BB3 RP BB3
IPTV Server
Customer
AC1
AC1
RP e5/3
ISP4 ISP3
IPTV Client
AS 4 AS 3
Physical Link
continues
0838_07i.fm Page 262 Friday, May 24, 2002 12:22 PM
262 Chapter 7: Device Characteristics and Configuration Files for Implementing Interdomain Multicast
Table 7-2 Hardware and Software Device Characteristics for ISP2BB3 (Continued)
ISP2BB3 263
264 Chapter 7: Device Characteristics and Configuration Files for Implementing Interdomain Multicast
ISP2BB3 265
266 Chapter 7: Device Characteristics and Configuration Files for Implementing Interdomain Multicast
ISP1BB3
ISP1BB3 is a backbone router in ISP1. Figure 7-6 shows the topology of ISP1 and
ISP1BB3's location in ISP1. Figure 7-7 shows ISP1BB3's relative position within the
SSM solution.
ISP1
Anycast RP
Loopback0: J.1.0.207
Loopback1: J.1.0.100
ISP2
Anycast RP BB5 BB7
RR RRc
Loopback0: J.1.0.203
Loopback1: J.1.0.100
ISP4 ISP3
BB3 BB4 BB6
RR RRc
BB1 BB2
Physical Link
Internal MSDP
Peering—Anycast
AS 1 AS 2
BB3 RP BB3
IPTV Server
Customer
AC1
AC1
RP e5/3
ISP4 ISP3
IPTV Client
AS 4 AS 3
Physical Link
0838_07i.fm Page 267 Friday, May 24, 2002 12:22 PM
ISP1BB3 267
continues
0838_07i.fm Page 268 Friday, May 24, 2002 12:22 PM
268 Chapter 7: Device Characteristics and Configuration Files for Implementing Interdomain Multicast
ISP1BB3 269
270 Chapter 7: Device Characteristics and Configuration Files for Implementing Interdomain Multicast
ISP1BB3 271
APPENDIX
A
Syntax Description:
Parameter Description
multicast (Optional) Specifies IPv4 multicast address prefixes.
unicast (Optional) Specifies IPv4 unicast address prefixes.
vrf vrf-name (Optional) Specifies the name of the virtual routing and
forwarding (VRF) instance to associate with subsequent IPv4
address family configuration mode commands.
0838_01i.book Page 274 Thursday, May 23, 2002 1:31 PM
no debug ip igmp
Syntax Description:
This command has no arguments or keywords.
Syntax Description:
Parameter Description
group (Optional) Group name or address to monitor the packet activity
of a single group.
no debug ip urd
Syntax Description:
Parameter Description
hostname (Optional) The Domain Name System (DNS) name
ip-address (Optional) The IP address
0838_01i.book Page 275 Thursday, May 23, 2002 1:31 PM
ip cgmp Command
Purpose: To enable Cisco Group Management Protocol (CGMP) on an interface of a router
connected to a Catalyst 5000 switch, use the ip cgmp interface configuration command. To
disable CGMP routing, use the no form of this command.
ip cgmp [p
proxy]
no ip cgmp
Syntax Description:
Parameter Description
proxy (Optional) Enables CGMP and the CGMP proxy function.
no ip igmp v3lite
Syntax Description:
This command has no arguments or keywords.
no ip igmp version
Syntax Description:
Parameter Description
1 IGMP Version 1
2 IGMP Version 2
3 IGMP Version 3
0838_01i.book Page 276 Thursday, May 23, 2002 1:31 PM
ip mrm Command
Purpose: To configure an interface to operate as a Test Sender, Test Receiver, or both, for
Multicast Routing Monitor (MRM), use the ip mrm interface configuration command. To
remove the interface as a Test Sender or Test Receiver, use the no form of this command.
ip mrm {t
test-sender | test-receiver | test-sender-receiver}
no ip mrm {t
test-sender | test-receiver | test-sender-receiver}
Syntax Description:
Parameter Description
test-sender Configures the interface to be a Test Sender.
test-receiver Configures the interface to be a Test Receiver.
test-sender-receiver Configures the interface to be both a Test Sender and Test
Receiver (for different groups).
Syntax Description:
Parameter Description
test-name Name of the group of MRM test parameters that follow.
ip mroute-cache Command
Purpose: To configure IP multicast fast switching or multicast distributed switching
(MDS), use the ip mroute-cache command in interface configuration mode. To disable
either of these features, use the no form of this command.
ip mroute-cache [d
distributed]
no ip mroute-cache [d
distributed]
Syntax Description:
Parameter Description
distributed (Optional) Enables MDS on the interface. In the case of the Route/
Switch Processor (RSP), this keyword is optional; if omitted, fast
switching occurs. On the Gigabit Switch Router (GSR), this keyword
is required because the GSR does only distributed switching.
0838_01i.book Page 277 Thursday, May 23, 2002 1:31 PM
Syntax Description:
This command has no arguments or keywords.
Syntax Description:
Parameter Description
type number Interface type and number on the local router, whose IP address is
used as the RP address in SA messages.
Syntax Description:
Parameter Description
peer-name | peer-address Domain Name System (DNS) name or IP address of the router that
is to be the MSDP peer.
connect-source type number (Optional) Interface type and number whose primary address
becomes the source IP address for the TCP connection. This
interface is on the router being configured.
continues
0838_01i.book Page 278 Thursday, May 23, 2002 1:31 PM
Continued
remote-as as-number (Optional) Autonomous system number of the MSDP peer used
for display purposes only.
no ip msdp redistribute
Syntax Description:
Parameter Description
list access-list (Optional) Standard or extended IP access list number or name
that controls which local sources are advertised and to which
groups they send.
asn as-access-list (Optional) Standard or extended IP access list number in the range
from 1 to 199. This access list number must also be configured in
the ip as-path global configuration command.
route-map map-name (Optional) Defines the route map.
Syntax Description:
Parameter Description
peer-address | peer-name IP address or name of the MSDP peer from which the SA messages
are filtered.
list access-list (Optional) IP access list number or name. If no access list is
specified, all source/group pairs from the peer are filtered.
route-map map-name (Optional) Route map name. Only those SA messages that meet the
match criteria in the route map map-name argument pass from the
specified MSDP peer.
If all match criteria are true, a permit keyword from the route map
will pass routes through the filter. A deny keyword will filter routes.
Syntax Description:
Parameter Description
peer-address | peer-name IP address or Domain Name System (DNS) name of the MSDP
peer to which the SA messages are filtered.
list access-list (Optional) Extended IP access list number or name. If no access list
is specified, all source/group pairs are filtered. Only those SA
messages that pass the extended access list pass to the specified
MSDP peer.
If both the list and the route-map keywords are used, all conditions
must be true to pass any (S, G) pairs in outgoing SA messages.
route-map map-name (Optional) Route map name. Only those SA messages that meet
the match criteria in the route map map-name argument pass to the
specified MSDP peer.
If all match criteria are true, a permit keyword from the route map
will pass routes through the filter. A deny keyword will filter
routes.
0838_01i.book Page 280 Thursday, May 23, 2002 1:31 PM
no ip multicast boundary
Syntax Description:
Parameter Description
access-list Number or name identifying an access list that controls the range
of group addresses affected by the boundary.
no ip multicast multipath
Syntax Description:
This command has no arguments or keywords.
ip multicast-routing Command
Purpose: To enable IP multicast routing, use the ip multicast-routing command in global
configuration mode. To disable IP multicast routing, use the no form of this command.
ip multicast-routing [d
distributed]
no ip multicast-routing
Syntax Description:
Parameter Description
distributed (Optional) Enables multicast distributed switching (MDS).
0838_01i.book Page 281 Thursday, May 23, 2002 1:31 PM
ip pim Command
Purpose: To enable Protocol Independent Multicast (PIM) on an interface, use the ip pim
interface configuration command. To disable PIM on the interface, use the no form of this
command.
ip pim {sparse-mode | sparse-dense-mode | dense-mode [proxy-register {list access
list | route-map map-name}]}
no ip pim
Syntax Description:
Parameter Description
sparse-mode Enables sparse mode of operation.
sparse-dense-mode Treats interface in either sparse mode or dense mode of operation,
depending on which mode the multicast group operates in.
dense-mode Enables dense mode of operation.
proxy-register (Optional) Enables proxy registering on the interface of a
designated router (DR) (leading toward the bordering dense mode
region) for multicast traffic from sources not connected to the DR.
list access-list (Optional) Defines the extended access list number or name.
route-map map-name (Optional) Defines the route map.
Syntax Description:
Parameter Description
list access-list Defines the extended access list number or name.
route-map map-name Defines the route map.
0838_01i.book Page 282 Thursday, May 23, 2002 1:31 PM
Syntax Description:
Parameter Description
rp-address Address of the RP allowed to send join messages to groups in the
range specified by the group access list.
auto-rp Accepts join and register messages only for RPs in the Auto-RP
cache.
access-list (Optional) Access list number or name that defines which groups
are subject to the check.
no ip pim bsr-border
Syntax Description:
This command has no arguments or keywords.
no ip pim rp-address
0838_01i.book Page 283 Thursday, May 23, 2002 1:31 PM
Syntax Description:
Parameter Description
rp-address IP address of a router to be a PIM RP. This is a unicast IP address
in four-part, dotted notation.
access-list (Optional) Access list number or name that defines for which
multicast groups the RP should be used.
override (Optional) Indicates that, if there is a conflict, the RP configured
with this command prevails over the RP learned by Auto-RP.
bidir (Optional) Indicates that the multicast groups specified by the
access-list argument should operate in bidirectional mode. If the
command is configured without this option, the groups specified
will operate in PIM sparse mode (PIM-SM).
no ip pim send-rp-announce
Syntax Description:
Parameter Description
type number Interface type and number that identify the RP address.
scope ttl-value Time-to-live (TTL) value that limits the number of Auto-RP
announcements.
group-list access-list (Optional) Standard IP access list number or name that defines the
group prefixes advertised in association with the RP address. The
access list name cannot contain a space or quotation mark and
must begin with an alphabetic character to avoid confusion with
numbered access lists.
interval seconds (Optional) Specifies the interval between RP announcements (in
seconds). The total hold time of the RP announcements is
automatically set to three times the value of the interval. The
default interval is 60 seconds.
bidir (Optional) Indicates that the multicast groups specified by the
access-list argument should operate in bi-directional mode. If the
command is configured without this option, the groups specified
will operate in Protocol Independent Multicast sparse mode (PIM-
SM).
0838_01i.book Page 284 Thursday, May 23, 2002 1:31 PM
no ip pim send-rp-discovery
Syntax Description:
Parameter Description
scope ttl-value Time-to-live (TTL) value in the IP header that keeps the discovery
messages within this number of hops.
no ip pim spt-threshold
Syntax Description:
Parameter Description
kbps Traffic rate (in kbps)
infinity Causes all sources for the specified group to use the shared tree.
group-list access-list (Optional) Indicates which groups the threshold applies to. Must
be an IP standard access list number or name. If the value is 0 or is
omitted, the threshold applies to all groups.
no ip pim ssm
0838_01i.book Page 285 Thursday, May 23, 2002 1:31 PM
Syntax Description:
Parameter Description
default (Optional) Defines the SSM range access list to 232/8.
range access-list (Optional) Standard IP access list number or name defining the
SSM range.
ip urd Command
Purpose: To enable interception of TCP packets sent to the reserved URL Rendezvous
Directory (URD) port 659 on an interface and URD channel subscription report processing,
use the ip urd interface configuration command. To disable URD on an interface, use the
no form of this command.
ip urd
no ip urd
Syntax Description:
This command has no arguments or keywords.
manager Command
Purpose: To specify that an interface is the Manager for Multicast Routing Monitor
(MRM) and to specify the multicast group address to which the Test Receiver will listen,
use the manager manager configuration command. To remove the Manager or group
address, use the no form of this command.
manager type number group ip-address
Syntax Description:
Parameter Description
type number Interface type and number of the Manager. The IP address
associated with this interface is the Manager's source address.
group ip-address IP multicast group address to which the Test Receiver will listen.
Syntax Description:
Parameter Description
unicast Matches unicast Network Layer Reachability Information (NLRI)
from incoming update messages or an RIB for outgoing filters
being processed for a route map.
multicast Matches a multicast NLRI from incoming update messages or an
RIB for outgoing filters being processed for a route map.
unicast multicast This default setting matches either a unicast or multicast NLRI
from incoming update messages or an RIB for outgoing filters
being processed for a route map.
Syntax Description:
Parameter Description
ip-address IP address of the neighboring router.
peer-group-name Name of BGP peer group.
Syntax Description:
Parameter Description
ip-address IP address of the neighbor.
peer-group-name Name of a BGP peer group.
route-map map-name (Optional) Name of the route map. The route map allows route
0.0.0.0 to be injected conditionally.
Syntax Description:
Parameter Description
peer-group-name Name of the BGP peer group.
nlri unicast (Optional) Only unicast Network Layer Reachability Information
(NLRI) will be sent to the neighbor. This is the default value.
nlri multicast (Optional) Only multicast NLRI will be sent to the neighbor.
nlri unicast multicast (Optional) Both unicast and multicast NLRI will be sent to the
neighbor.
Syntax Description:
Parameter Description
ip-address IP address of the neighboring router.
peer-group-name Name of the BGP peer group.
number Autonomous system to which the neighbor belongs.
nlri unicast (Optional) Only unicast NLRI will be sent to the neighbor. Unicast
NLRI is sent in conventional BGP encoding. If no NLRI
designation is specified, nlri unicast is the default value.
nlri multicast (Optional) Only multicast NLRI will be sent to the neighbor.
nlri unicast multicast (Optional) Both unicast and multicast NLRI will be sent to the
neighbor.
Syntax Description:
Parameter Description
ip-address IP address of the neighbor.
peer-group-name Name of a BGP or multiprotocol BGP peer group.
map-name Name of a route map.
in Applies route map to incoming routes.
out Applies route map to outgoing routes.
Syntax Description:
Parameter Description
network-number Network that BGP will advertise.
mask (Optional) Network or subnetwork mask.
network-mask (Optional) Network mask address.
nlri unicast (Optional) The specified network is injected into the unicast RIB
only. NLRI unicast is the default value if no NLRI designation is
specified.
nlri multicast (Optional) The specified network is injected into the multicast RIB
only.
nlri unicast multicast (Optional) The specified network is injected into both the unicast
and multicast RIBs.
receivers Command
Purpose: To establish Test Receivers for MRM, use the receivers command in manager
configuration mode. To restore the default values, use the no form of this command.
receivers {access-list} [sender-list {access-list} [packet-delay]] [window seconds]
[report-delay seconds] [loss percentage] [no-join] [monitor | poll]
Syntax Description:
Parameter Description
access-list IP named or numbered access list that establishes the Test
Receivers. Only these Test Receivers are subject to the other
keywords and arguments specified in this command.
sender-list access-list (Optional) Specifies the sources that the Test Receiver should
monitor. If the named or numbered access list matches any access
list specified in the senders command, the associated packet-
delay milliseconds keyword and argument of that senders
command are used in this command. Otherwise, the packet-delay
argument is required in this receivers command.
packet-delay (Optional) Specifies the delay between test packets (in
milliseconds). If the sender-list access list matches any access list
specified in the senders command, the associated packet-delay
milliseconds keyword and argument of that senders command are
used in the receivers command. Otherwise, the packet-delay
argument is required in this receivers command.
continues
0838_01i.book Page 290 Thursday, May 23, 2002 1:31 PM
Continued
window seconds (Optional) Test period duration (in seconds). This is a sliding
window of time in which packet count is collected so the loss
percentage can be calculated. The default is 5 seconds.
report-delay seconds (Optional) Delay (in seconds) between staggered status reports
from multiple Test Receivers to the Manager. The delay prevents
multiple receivers from sending status reports to the Manager at
the same time for the same failure. Receiver 1 sends status,
seconds later Receiver 2 sends status, seconds later Receiver 3
sends status, and so on. This value is relevant only if multiple Test
Receivers exist. The default is 1 second.
loss percentage (Optional) Threshold percentage of packet loss required before a
status report is triggered. The default is 0 percent, which means
that a status report is sent for any packet loss. (This value is not
applied to packet duplication; a fault report is sent for any
duplicated packets.)
no-join (Optional) Specifies that the Test Receiver does not join the
monitored group. The default is that the Test Receiver joins the
monitored group.
monitor | poll (Optional) Specifies whether the Test Receiver monitors the test
group or polls for receiver statistics. The monitor keyword means
that the Test Receiver reports only if the test criteria are met. The
poll keyword means that the Test Receiver sends status reports
regularly, whether or not test criteria are met. The default is the
monitor keyword.
Syntax Description:
Parameter Description
protocol Source protocol from which routes are being redistributed. It can
be one of the following keywords: bgp, connected, egp, igrp, isis,
ospf, static [ip], or rip.
Use the static [ip] keyword to redistribute IP static routes. Use the
optional ip keyword when redistributing into the Intermediate
System-to-Intermediate System (IS-IS) protocol.
For the isis keyword, this is an optional tag value that defines a
meaningful name for a routing process. You can specify only one
IS-IS process per router. Creating a name for a routing process
means that you use names when configuring routing.
continues
0838_01i.book Page 292 Thursday, May 23, 2002 1:31 PM
Continued
metric-type type-value (Optional) For OSPF, the external link type associated with the
default route advertised into the OSPF routing domain. It can be
one of two values:
1—Type 1 external route
2—Type 2 external route
senders Command
Purpose: To configure Test Sender parameters used inMRM, use the senders manager
configuration command. To restore the default values, use the no form of this command.
senders {access-list} [packet-delay milliseconds] [rtp | udp] [target-only | all-
multicasts | all-test-senders] [proxy_src]
Syntax Description:
Parameter Description
access-list IP named or numbered access list that defines which Test Senders
are involved in the test and to which Test Senders these parameters
apply.
packet-delay milliseconds (Optional) Specifies the delay between test packets (in
milliseconds). The default is 200 milliseconds, which results in 5
packets per second.
rtp | udp (Optional) Encapsulation of test packets, either Real-Time
Transport Protocol (RTP)-encapsulated or User Datagram
Protocol (UDP)-encapsulated. The default is RTP-encapsulated.
target-only (Optional) Specifies that test packets be sent out on the targeted
interface only (that is, the interface with the IP address that is
specified in the Test Sender request target field). By default, test
packets are sent as described in the all-multicasts keyword.
all-multicasts (Optional) Specifies that the test packets be sent out on all
interfaces that are enabled with IP multicast. This is the default
way that test packets are sent.
all-test-senders (Optional) Specifies that test packets be sent out on all interfaces
that have test-sender mode enabled. By default, test packets are
sent as described in the all-multicasts keyword.
proxy_src (Optional) Source IP address for which the Test Sender will proxy
test packets. Use this if you want to test a specific source to
determine whether the multicast distribution tree is working.
Syntax Description:
Parameter Description
unicast Injects a route that passes the match criteria into the unicast RIB.
multicast Injects a route that passes the match criteria into the multicast RIB.
Syntax Description:
This command has no arguments or keywords.
Syntax Description:
Parameter Description
neighbor-address (Optional) Address of the neighbor whose routes have been
learned. If this argument is omitted, all neighbors are displayed.
received-routes (Optional) Displays all received routes (both accepted and
rejected) from the specified neighbor.
routes (Optional) Displays all routes that are received and accepted. This
is a subset of the output from the received-routes keyword.
advertised-routes (Optional) Displays all routes that the router has advertised to the
neighbor.
paths regexp (Optional) Regular expression that is used to match the paths
received.
dampened-routes (Optional) Displays the dampened routes to the neighbor at the IP
address specified.
0838_01i.book Page 295 Thursday, May 23, 2002 1:31 PM
Syntax Description:
Parameter Description
group-name (Optional) Name of the multicast group, as defined in the Domain
Name System (DNS) hosts table.
group-address (Optional) Address of the multicast group. This multicast IP
address appears in four-part, dotted notation.
type (Optional) Interface type
number (Optional) Interface number
detail (Optional) Provides a detailed description of the sources known
through IGMPv3, IGMP v3lite, or URD.
Syntax Description:
This command has no arguments or keywords.
Syntax Description:
Parameter Description
group-address | group-name (Optional) IP address or name multicast group, as defined in the
DNS hosts table.
continues
0838_01i.book Page 296 Thursday, May 23, 2002 1:31 PM
Continued
source-address | source- (Optional) IP address or name of a multicast source.
name
type number (Optional) Interface type and number
summary (Optional) Displays a one-line, abbreviated summary of each entry
in the IP multicast routing table.
count (Optional) Displays group and source statistics, including number
of packets, packets per second, average packet size, and bytes per
second.
active kbps (Optional) Displays the rate that active sources are sending to
multicast groups. Active sources are those sending at the kbps
value or higher. The kbps argument defaults to 4 kbps.
Syntax Description:
Parameter Description
peer-address | peer-name (Optional) Address or name of the MSDP peer for which
information is displayed.
Syntax Description:
Parameter Description
group-address | source-address | (Optional) Group address, source address, group name, or
group-name | source-name source name of the group or source about which (S, G)
information is displayed. If two addresses or names are
specified, an (S, G) entry corresponding to those addresses is
displayed. If only one group address is specified, all sources
for that group are displayed.
INDEX
300 commands
302 IP addresses
SA
8–9, 15 N–O
caching, 86
neighbor activate command, 286
filtering, 45–46, 85
neighbor default-originate command, 286–287
MSDP (Multicast Source Discovery Protocol), 28
neighbor peer-group command, 287
AC routers, example configuration, 142–149
neighbor remote-as command, 287–288
Anycast RP, 29–30
neighbor route-map command, 288
forcing Router ID, 31
network command, 288
backbone routers, example configuration, 93–127
network connections, icons for, xx
DA routers, example configuration, 128–142
operation of URD host signaling, 247–249
implementing interdomain multicast, backbone
router characteristics, 197–233
peering sessions, 28
configuring, 79–81, 85 P-Q
verifying, 46
multicast packets, IGMPv3 queries, 13
application-level, 5 peering sessions
borders MBGP, configuring, 42–44, 76–84
configuring, 46–47 MSDP, 28
interdomain multicast configuration, configuring, 79–81, 85
81–82, 87 verifying, 46, 86–87
distribution trees, 19 PGM (Pragmatic General Multicast), 27
shared trees, 20 PIM (Protocol Independent Multicast), 24
source trees, 19–20 See also Bidir-PIM
forwarding, 22 dense mode, 24
RPF, 22–23 sparse mode, 24–25
groups, 6 prerequisites for implementing URD host
host groups, 239 signaling, 249
interdomain preventing denial-of-service attacks with SSM, 244
backbone router characteristics, 153–154,
160–161, 168, 175, 180, 185, 189 query messages (IGMPv3), 13
backbone router configuration file, field definitions, 14
154–193
Bidir-PIM, 26–27
connecting customers to infrastructure, 48
implementing, 38–39, 42–47
implementing with SSM, 237–238
R
intradomain ramifications of deploying SSM, 245–247
global multicast configuration, 40 receivers command, 289
IGMP, 11–15 redistribute command, 290–292
implementing, 40 report messages (IGMPv3), field definitions, 8–9, 15
interface configuration, 41 requirements for SSM operation, 240
PGM, 27 reserved address range (SSM), 239
PIM, 24–25 reserved link local addresses, 7
RP configuration, 42
RP selection, 42
0838_01iIX.fm Page 304 Friday, May 24, 2002 11:38 AM
304 RFCs
from all our publishing partners, including Sams Publishing ■ Free, unabridged
books from the InformIT Free Library ■ “Expert Q&A”—our live, online chat
with IT experts ■ Faster, easier certification and training from our Web- or
Cisco Press
® Learn.
CCNA #640-607 Understand the
concepts
Knowledge needed.
Experience required.
1-57870-111-2
Experience.
Apply your
knowledge
through
hands-on labs
1-58720-046-5
Prepare.
Get into
exam mode
1-58720-055-4
Practice.
Confirm your
readiness—and
practice, practice,
practice!
1-58720-048-1
Cisco Press
Learning is serious business.
Invest wisely.
backmatter 5/24/02 12:54 PM Page 5
CCNA test time is rapidly approaching. You learned the concepts, you have
the experience to put them into practice, and now you want to practice,
practice, practice until exam time. Cisco CCNA Exam #640-607 Flash
Card Practice Kit is an essential final-stage study tool with more than 350
flash cards for memory retention, 550 practice exam questions to verify
your knowledge, and 54 study sheets for review of complex topics. Flash
cards come in print and electronic formats, including PC, Palm® OS, and
Pocket PC for optimal flexibility.
ciscopress.com
backmatter 5/24/02 12:54 PM Page 6
ciscopress.com
backmatter 5/24/02 12:54 PM Page 7
Cisco Press
Learning is serious business.
Invest wisely.
backmatter 5/24/02 12:54 PM Page 8
Cisco Press
For the latest on Cisco Press resources and Certification and Training guides,
or for information on publishing opportunities, visit www.ciscopress.com.
backmatter 5/24/02 12:54 PM Page 9