module12 - pim protocol extensions

94
 1 Module7.ppt Copyright ? ? 1998-2001, Cisco Systems, Inc. 1 Module12.ppt  ©1998 – 2001, C isco Sy stems, In c. All rights reserved. 8/21/2001 3:39 PM PIM Protocol Extensions Module 12

Upload: pohseng

Post on 29-Feb-2016

22 views

Category:

Documents


0 download

DESCRIPTION

Module12 - PIM Protocol Extensions

TRANSCRIPT

Page 1: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 1/94

1Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

1Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 8/21/2001 3:39 PM

PIM Protocol Extensions

Module 12

Page 2: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 2/94

2Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 2228/21/2001 3:39 PM

Objectives

• Upon completion of this module, you willbe able to perform the following tasks:

 –Describe the principles of Source-SpecificMulticast and configure it.

 –Describe the principles of Bidir-PIM andconfigure it.

Page 3: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 3/94

3Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 3338/21/2001 3:39 PM

Agenda

• Source Specific Multicast

• Bidirectional (Bidir) PIM

Page 4: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 4/94

4Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 4448/21/2001 3:39 PM

Barriers to Inter-domainMulticast Deployment

• Multicast Address Allocation – Dynamic Address Allocation

• No adequate dynamic address allocation methods exist• SDR – Doesn’t scale

• MASC – Long ways off!

 – Static Address Allocation (GLOP)• Based on AS number.

• Insufficient address space for large Content Providers.

• Multicast Content “Jammers”

 – Undesirable sources on a multicast group.

• “Capt. Midnight” sources bogus data/noise to group.• Can cause DoS attack by congesting low speed links.

Page 5: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 5/94

5Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 5558/21/2001 3:39 PM

Source Specific Multicast (SSM)

• Simple solution for well-known sources

 –Particularly in cases where there is a singlesource sending to a given group.

 –Allows immediate use of SPT to a specificsource without creating shared tree.

 –Eliminate dependence on MSDP for findingsources.

 –Simplifies global group address allocation.

• Source Specific Multicast

 – Another variant of a PIM Sparse mode supports Source Specific Multicast(SSM) applications. The PIM SS (Source Specific) utilizes all the benefits ofsparse mode protocols but eliminates shared trees at all and only builds source

specific shortest path trees. These trees are built directly on receiving groupmembership reports that request a given source. The PIM SS is a draft proposal(draft-bhaskar-pim-ss-00.txt).

 – The SSM is suitable for well known sources within a domain or in anotherdomain. The Multicast Source Discovery Protocol (MSDP) which is needed for interdomain multicast routing when regular PIM Sparse Mode is used within adomain is no longer needed for SSM.

 – A dedicated multicast group address range 232/8 is used exclusively for

shortest-path trees for SSM. Routers are prevented to build a shared tree forany of the groups from this address range. The address range 232/8 is assignedfor global well-known sources.

 – Source specific multicast (SSM) is a datagram delivery model that best supportsone-to-many applications, also known as broadcast applications.

Page 6: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 6/94

6Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 6668/21/2001 3:39 PM

SSM Overview

• Hosts initiate join requests for a specificsource(s) within a group.

• Last-hop router sends (S,G) join toward sourcewithout joining/creating shared tree.

• Content identified by both source and groupaddress instead of group address alone.

• Eliminates shared tree, simplifying addressallocation.

 – Dissimilar content sources can use same group withoutfear of interfering with each other.

• SSM: For Well-know Sources

 – The Source Specific Multicast allows last-hop router to immediately send (S,G)Join towards the source. Thus the PIM Sparse Mode (*,G) Join towards the RPis eliminated at all and first-hop routers start forwarding the multicast traffic donw

the shortest-path tree (SPT) from the very beginning - as soon as the SPT isbuilt by receiving first (S,G) Join.

 – The assigned address range 232/8 also simplifies the address allocationproblems since the range is a global range for sorces that have to be well-known. Implementations in routers must not build any shared tree for thosegroups.

 – Source specific groups can coexist with other groups in PIM Sparse modedomains.

Page 7: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 7/94

7Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 7778/21/2001 3:39 PM

Source Specific Multicast Example

Receiver 1

Source

Out-of-bandsource directory,

example: web server 

BA C D

FEIGMPv3 (S, G) Join

PIM (S, G) Join

Host learns of source, group/portFirst-hop learns of source, group/port

First-hop send PIM (S,G) Join

• SSM – Example

 – The prerequisite for SSM deployment is a mechanism that allows hosts not onlyto report the group they want to join but also the source for the group. Thismechanism is built into emerging IGMP version3 standard. With IGMP v3 last-

hop routers learn from the report for the multicast source and the group. It thensimply creates (S,G) Join and forwards it directyl to the source.

 – The ways how hosts learn about existence of sources can be different –normally via some directory services (session announcements directly fromsources or some out-of-band mechanisms, e.g. web pages). Most of thosemechanisms distribute the information via multicast.

Page 8: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 8/94

8Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 8888/21/2001 3:39 PM

Source Specific Multicast Example

Result: Shortest path tree rootedat the source, with no shared tree.

BA D

Source

Out-of-bandsource directory,

example: web server 

Receiver 1

C

FE

• SSM – Example

 – The result of building source-rooted tree (shortest-path tree) right from beginningis that RP mechanisms for source-specific groups are completely eliminated.The RPs for those groups are not needed any more and routers must not build

shared trees for groups in the range 232/8.

 – The benefits of building shortest-path trees directly (and not via PIM Sparse

mode switchover mechanism) are evident – the latency of multicast traffic isdecreased and less multicast state is kept in multicast forwarding tables.

 – Another major benefit of SSM in in address management. Traditionally multicastapplications had to acquire a unique IP multicast group address because trafficdistribution was based only on the group address used. When two applicationswith different sources and receivers used the same IP multicast group address,

the receivers received the traffic from both sources.

 – In SSM, traffic from each source is forwarded between routers in the networkindependent of traffic from other sources. Thus different sources can reusemulticast group addresses in the SSM range

Page 9: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 9/94

9Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 9998/21/2001 3:39 PM

Effect of shared trees on SSM

• SSM will work with shared trees but...

 –Can’t control who transmits on shared tree.

 –Can’t avoid address collisions.

• IANA has allocated 232/8 for SSM.

 –Shared trees are prohibited in this range.

 –Requires special filter configuration for legacynetwork support.

• Effect of Shared Trees on SSM

 – Source specific multicast can coexist with shared trees but there are somecaveats that affect the deployment. The assigned address range 232/2 for SSMis not recognized by older multicast implementations and if a source creates a

session to any of the groups in this range legacy multicast routers could buildshared trees for those groups.

 – The assignment of 232/8 address range was done under assumption thatimplementations will prohibit building shared trees for the range at all. With oldermulticast router implementations this is certainly not true which can result atleast in in address collisions if not in multicast forwarding loops.

Page 10: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 10/94

10Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 1010108/21/2001 3:39 PM

Eliminating shared trees in 232/8

• Filtering Register Messages

 –Use ‘ip pim accept-register’ at RP.• Prevents sources from registering in 232/8 range.

• Filtering SA Messages

 –Use ‘ip msdp sa-redistribute’ at RP.• Stops SA message origination in the 232/8 range.

 –Use ‘ip msdp sa-filter’ on MSDP peers.• Prevents forwarding of SA messages in the 232/8

range.

• Eliminating Shared Trees in 232/8

 – If some multicast routers in the network do not support Source Specific Multicast232/8 address range an additional filtering is needed to prevent building sharedtrees for the address range assigned for SSM. The following 232/8 filtering

mechanisms have to be in place:

• Prevent first-hop routers to register to the RP – filter on the RP (e.g. send

Register-Stop immediately)• Prevent last-hop routers to originate (*,G) Joins – filter on last-hop routers

• Prevent intermediate routers to originate any (S,G) Prune with RP-bit set –filter on intermediate routers

 – In inter-domain multicast routing using MSDP prevent origination and/orforwarding information on sources that are active for groups in SSM range –filteron the RP or on a border router 

Page 11: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 11/94

11Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 1111118/21/2001 3:39 PM

SSM — Host Signalling Overview

• IETF proposed signalling: IGMPv3

 –draft-ietf-idmr-igmp-v3-04.txt

 –Proposed for IP SSM• Also for filtering in RFC1112 style IP Multicastservice.

 – IGMPv3 will only be active ...IF supported in last-hop routers

AND IF supported in host operatingsystems

AND IF supported in receiver applications

Page 12: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 12/94

12Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 1212128/21/2001 3:39 PM

IGMPv3 — Host Signalling

• (Too?) Complex protocol !

 – No report suppression by hosts.

 – Complex Set-theory Rules for Include/Excludeprocessing.

• Host membership reports sent to 224.0.0.22.

 – Allows for implementation of IGMPv3 snooping in lessexpensive switches.

• Possible memberships for hosts:

 – INCLUDE({S1,…,Sn}, G) - traffic from {S1,…,Sn} to G

 – EXCLUDE({S1,…,Sn}, G) - traffic from all sources

to G,except for traffic from

{S1,…,Sn}

Page 13: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 13/94

13Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 1313138/21/2001 3:39 PM

IGMPv3 — Host Signalling

• IGMPv3 interaction inside of SSM-Range: – Routers ignore IGMPv1/v2 membership reports.

 – Routers ignore IGMPv3 EXCLUDE type membershipreports.

 – Uses only IGMPv3 INCLUDE({S1,…,Sn},G)memberships!

 – No way to request “all sources traffic”:

• IGMPv3 interaction outside of SSM-Range: – Filters traffic on local wire according to Include/Exclude

membership reports received from hosts.

 – Permits PIM to filter traffic back to source.

• PIM-DM: Simple, only (S,G) state anyhow.• PIM-SM: More complex but doable. (SPT vs. RPT filtering)• Bidir-PIM: No way, there is only (*,G) state !

Page 14: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 14/94

14Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 1414148/21/2001 3:39 PM

SSM — Host SignallingHow to bootstrap deployment ?

• IGMPv3:

 – Should eventually become industry standard.

 – Cisco IGMPv3 implementation in IOS 12.1(3)T and12.0(15)S.

• Questions:

 – When will host Operating Systems get IGMPv3 support?

 – When will applications be written to use IGMPv3support?

 – Do we want to wait for all this to happen?

• Answer: No! No ! 

 – We need the benefits of IP SSM today to:• Resolve certain multicast Security issues

• Avoid address collisions

Page 15: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 15/94

15Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 1515158/21/2001 3:39 PM

SSM — Host SignallingBootstrap Solutions

• Cisco IOS value added IP SSM bootstrap

solutions – URD: (URL Rendezvous Directory)

• Enable existing receiver applications for IP SSM via theweb.

 – IGMP v3lite:

• Provide for a partial IGMPv3 API on IGMPv1/v2 hosts.

• Enables us to write and run IP SSM applications NOW

• Common idea of URD and IGMP v3lite:

 – Generate a (S,G) channel subscription (somehow) in

addition to the IGMPv1/v2 membership that MUSTalready come from the kernel of the applications host.… and let the router figure out the right th ing to d o ...

Page 16: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 16/94

16Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 1616168/21/2001 3:39 PM

SSM — Host SignallingBootstrap Solutions

• URD and IGMP v3lite Concepts : – IGMPv1/v2 report alone has no meaning in SSM!

• IGMPv1/v2 report indicates host wants to receive traffic.

• (S,G) subscription tells routers from which sources!

 – Router begins forwarding (S,G) traffic IFF:

• IGMPv1/v2 Report received AND

• URD or v3lite (S,G) channel subscription received.

 – Router continues forwarding (S,G) traffic:

• Based on IGMPv1/v2 Group membership.

• No need for refreshing of (S,G) subscriptions.•• Implication:Implication: (S,G) traffic flow s unt i l last hos t leaves gro up! (S,G) traffic flow s unt i l last hos t leaves gro up! 

Page 17: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 17/94

17Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 1717178/21/2001 3:39 PM

SSM — Host SignallingBootstrap Solutions

• URD and IGMP v3lite Concepts:

 – IGMP (v1/v2) Snooping and CGMP still work!• Group based traffic restriction due to IGMPv1/v2 reports.• IGMP Snooping will not work with full IGMPv3 reports

unless supported explicitly !

 – Solutions don’t work outside of IP SSM range.• IGMPv1/v2 reports still interpreted as (*,G) Joins!• Causes router to join the Shared Tree.

 – Implies “forward ALL sources in the group” !

Page 18: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 18/94

18Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 1818188/21/2001 3:39 PM

URD Overview

• A content provider builds a web page thatcontains URD links.

 – List of sources willing to provide multicast content

• The user (receiver) clicks on one of the links

• A cgi script runs that provides the host an HTTPredirect to TCP port 659

• When the host sends the redirect, it isintercepted by the last-hop router (directly

connected to the host)

• URD Overview

 – The idea of URD as an interim solution for transition to IGMP v3 is that thecontent provider builds a web page that contains URD links. Those links containinformation on sources that are willing to provide the multicast content for certain

groups.

 – When a user clicks on such a link the browser of a host will try to open a TCP

connection to the web server on port 659. If the last hop router is enabled forURD on the interface where the router receives the TCP packets from the host,it will intercept all packets for TCP connections destined to port 659 independentof the actual destination address of the TCP connection. From the information inURD the router learns about sources and groups.

 – Because normal IGMPv1/v2 group membership reports are still sent by the

application, URD is compatible with IGMPv1/v2 snooping and CGMP inswitches.

Page 19: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 19/94

19Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 1919198/21/2001 3:39 PM

URD – Host Signalling

Users DesktopUsers favourite Browser 

Please select you TV program:

Click here for the Movie

Click for the Sports

Click here for the News

Http:/www.broadcast.com/sports.htm 

here

Click 

here

Page 20: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 20/94

20Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 2020208/21/2001 3:39 PM

URD – Host Signalling

Users DesktopUsers favourite Browser 

Thank you for choosing

this Sports channel

Currently showing

Euro 2000 Soccer live from Brussels

England : Germany

3 : 1

Min 89:00

Page 21: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 21/94

21Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 2121218/21/2001 3:39 PM

URD – Host Signalling

Users DesktopUsers favourite Browser 

Thank you for choosing

this Sports channel

Old streaming video receiver application. Does IP Multicast,

but not IP SSM

Works fine if we don’t try to run

it in the SSM -Range 

Currently showing

Euro 2000 Soccer live from Brussels

England : Germany

3 : 1

Min 89:00

Page 22: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 22/94

22Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 2222228/21/2001 3:39 PM

URD – Host Signalling

Users DesktopUsers favourite Browser 

Thank you for choosing

this Sports channel

Old streaming video receiver application. Does IP Multicast,

but not IP SSM

That is..

Unless some unwanted traffic

disturbs the reception, maybe

some DoS attack...

Currently showing

Euro 2000 Soccer live from Brussels

England : Germany

3 : 1

Min 89:00

Page 23: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 23/94

23Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 2323238/21/2001 3:39 PM

URD – Host Signalling

Users DesktopUsers favourite Browser 

Thank you for choosing

this Sports channel

Running the applicat ion o n an

SSM-Range alone does not

help: The application w ill

receive nothing ! 

Currently showing

Euro 2000 Soccer live from Brussels

England : Germany

3 : 1

Min 89:00

Old streaming video receiver application. Does IP Multicast,

but not IP SSM

Page 24: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 24/94

24Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 2424248/21/2001 3:39 PM

URD – Host Signalling

Users DesktopUsers favourite Browser 

Thank you for choosing

this Sports channel

Old streaming video receiver application. Does IP Multicast,

but not IP SSM

But thanks to URD, the old

application can run on anaddress in the SSM -Range and

will on ly receive traffic from th e

right source! 

Currently showing

Euro 2000 Soccer live from Brussels

England : Germany

3 : 1

Min 89:00

Retrieved URL String successfully

Page 25: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 25/94

25Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 2525258/21/2001 3:39 PM

URD – Host Signalling

Users DesktopUsers favourite Browser 

Please select you TV program:

Click here for the Movie

Click here for the Sports

Click here for the News

Let’s repeat this inSlow Motion...

Page 26: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 26/94

26Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 2626268/21/2001 3:39 PM

URD – Host Signalling

Users DesktopUsers favourite Browser 

Please select you TV program:

Click here for the Movie

Click here for the Sports

Click here for the News

Click 

0. The user sees some HTML

page in his browser 

1. The user clicks on a hotlink.A Hotlink is a URL that the

browser will then start toretrieve (via HTTP).

2. The browser learns that thecontent of the URL is

another HTML page.

Http:/www.broadcast.com/sports.htm 

Page 27: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 27/94

27Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 2727278/21/2001 3:39 PM

URD – Host Signalling

Users DesktopUsers favourite Browser 

3. The browser will clear the

display to start “paint ing ”this new HTML page.

The browser then starts

reading and interpretingthat HTML page.

Thank you for choosing

this Sports channel

Page 28: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 28/94

28Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 2828288/21/2001 3:39 PM

URD – Host Signalling

Users DesktopUsers favourite Browser 

3. While interpreting, thebrowser stumbles across a

reference to another URL

Thank you for choosing

this Sports channel

...

<FRAME

SRC="http://sessions.broadcast.com/sports.sdp"

NAME=”Frame to start receiver app"

>

...

View source: http:/www.broadcast.com/sports.htm

Page 29: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 29/94

29Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 2929298/21/2001 3:39 PM

URD – Host Signalling

Users DesktopUsers favourite Browser 3... It will retrieve this URL and

see from the content-type(NOT HTML!), that this isinput for an application that

it has to start (or run as aplugin)

Thank you for choosing

this Sports channel

Transferring from sessions.broadcast.com 

GET /sports.sdp HTTP/1.0

...

Content-type: application/x-sdp

Content-length: …

i=Sports Channel

c=232.3.4.5 ……...

HTTP connection to sessions.broadcast.com for /sports.sdp

Actual URL content

Page 30: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 30/94

30Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 3030308/21/2001 3:39 PM

URD – Host Signalling

Users DesktopUsers favourite Browser 

4. The browser will look into

his application mappingsfor this content-type x-sdp,

and start the appropriateapplication - our old player.

Thank you for choosing

this Sports channel

Transferring from sessions.broadcast.com 

Page 31: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 31/94

31Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 3131318/21/2001 3:39 PM

URD – Host Signalling

Users DesktopUsers favourite Browser 

4… While doing so, the

browser will also hand overthe Actual URL content to

that application (typically ina file as a command line

argument for the application).

Thank you for choosing

this Sports channel

Transferring from sessions.broadcast.com 

i=Sports Channel

c=232.3.4.5 ……...

Page 32: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 32/94

32Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 3232328/21/2001 3:39 PM

URD – Host Signalling

Users DesktopUsers favourite Browser 

5. From this URL,the application

knows themulticast groupto use, and it will

 join to that group.

Thank you for choosing

this Sports channel

Transferring from sessions.broadcast.com 

IGMPv1/v2Join Group

232.3.4.5

Page 33: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 33/94

33Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 3333338/21/2001 3:39 PM

URD – Host Signalling

Users DesktopUsers favourite Browser 

6. But the application will not

yet receive traffic, becauseit is an IP SSM group, and

this old applications groupmembership report is not

good enough alone !

Thank you for choosing

this Sports channel

Transferring from sessions.broadcast.com 

Page 34: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 34/94

34Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 3434348/21/2001 3:39 PM

URD – Host Signalling

Users DesktopUsers favourite Browser 

7. Back to the browser whocontinues to interpret and

display his original HTMLpage...

Thank you for choosing

this Sports channel

Transferring from sessions.broadcast.com 

Currently showing

Euro 2000 Soccer live from Brussels

Page 35: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 35/94

35Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 3535358/21/2001 3:39 PM

URD – Host Signalling

Users DesktopUsers favourite Browser 

8. … and stumbles acrossanother embedded URL

that it needs to retrieve.

Thank you for choosing

this Sports channel

Transferring from sessions.broadcast.com 

Currently showing

Euro 2000 Soccer live from Brussels

England : Germany

3 : 1

Min 89:00

...

<FRAME

SRC="http://www.broadcast.com:659/urd-helper?

group=232.3.4.5&source=192.44.81.5"NAME=”URD command URL"

>

...

View source: http:/www.broadcast.com/sports.htm

Page 36: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 36/94

36Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 3636368/21/2001 3:39 PM

URD – Host Signalling

Let’s zoom out a bit...

Users DesktopUsers favourite Browser 

Thank you for choosing

this Sports channel

Transferring from sessions.broadcast.com 

Currently showingEuro 2000 Soccer live from Brussels

England : Germany3 : 1

Min 89:00

The web server 

www.broadcast.com

The

Internet

The last hop router 

running 12.1(3)T or later and

enabled for 

ip urd 

on the interface to the host

The Host

Page 37: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 37/94

37Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 3737378/21/2001 3:39 PM

URD – Host Signalling

If the browser tries to retrieve the URLhttp://www.broadcast.com:659/urd-

helper?group=232.3.4.5&source=192.44.81.5

Users DesktopUsers favourite Browser 

Thank you for choosing

this Sports channel

Transferring from sessions.broadcast.com 

Currently showingEuro 2000 Soccer live from Brussels

England : Germany3 : 1

Min 89:00

The web server 

www.broadcast.com

The

Internet

The last hop router 

running 12.1(3)T or later and

enabled for 

ip urd 

on the interface to the host

The Host

Page 38: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 38/94

38Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 3838388/21/2001 3:39 PM

URD – Host Signalling

If the browser tries to retrieve the URLhttp://www.broadcast.com:659/urd-

helper?group=232.3.4.5&source=192.44.81.5

Users DesktopUsers favourite Browser 

Thank you for choosing

this Sports channel

Transferring from sessions.broadcast.com 

Currently showingEuro 2000 Soccer live from Brussels

England : Germany3 : 1

Min 89:00

The web server 

www.broadcast.com

The

Internet

The last hop router 

running 12.1(3)T or later and

enabled for 

ip urd 

on the interface to the host

The Host

Then it wants to open a TCP connection to www.broadercast.com, port 659

Page 39: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 39/94

39Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 3939398/21/2001 3:39 PM

URD – Host Signalling

If the browser tries to retrieve the URLhttp://www.broadcast.com:659/urd-

helper?group=232.3.4.5&source=192.44.81.5

Users DesktopUsers favourite Browser 

Thank you for choosing

this Sports channel

Transferring from sessions.broadcast.com 

Currently showingEuro 2000 Soccer live from Brussels

England : Germany3 : 1

Min 89:00

The web server 

www.broadcast.com

The

Internet

The last hop router 

running 12.1(3)T or later and

enabled for 

ip urd 

on the interface to the host

The Host

Then it wants to open a TCP connection to www.broadercast.com, port 659But it only gets up to the first-hop router, who intercepts all TCPconnections to port 659, whatever destination address they are for !

Page 40: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 40/94

40Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 4040408/21/2001 3:39 PM

URD – Host Signalling

The router disguises itself as a web server and listens to what the host want to have.

Users DesktopUsers favourite Browser 

Thank you for choosing

this Sports channel

Transferring from sessions.broadcast.com 

Currently showingEuro 2000 Soccer live from Brussels

England : Germany3 : 1

Min 89:00

The web server 

www.broadcast.com

The

Internet

The last hop router 

running 12.1(3)T or later and

enabled for 

ip urd 

on the interface to the host

The Host

GET /urd-helper?

group=232.3.4.5&source=192.44.81.5

HTTP/1.0

Watch TCP connection

Page 41: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 41/94

41Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 4141418/21/2001 3:39 PM

URD – Host Signalling

And the router thinks:

Users DesktopUsers favourite Browser 

Thank you for choosing

this Sports channel

Transferring from sessions.broadcast.com 

Currently showingEuro 2000 Soccer live from Brussels

England : Germany3 : 1

Min 89:00

The web server 

www.broadcast.com

The

Internet

The last hop router 

running 12.1(3)T or later and

enabled for 

ip urd 

on the interface to the host

The Host

GET /urd-helper?

group=232.3.4.5&source=192.44.81.5

HTTP/1.0

Watch TCP connection

I understand this URL request,let’s remember to PIM-SS join

to

group 232.3.4.5 for source192.44.81.5,

if, or as soon as I also have an

IGMPv1/v2 group membershipreport for 232.3.4.5 from this

interface

I understand this URL request,let’s remember to PIM-SS join

to

group 232.3.4.5 for source192.44.81.5,

if, or as soon as I also have anIGMPv1/v2 group membership

report for 232.3.4.5 from this

interface

I understand this URL request,let’s remember to PIM-SSM join

to group 232.3.4.5 for source

192.44.81.5,if, or as soon as I also have an

IGMPv1/v2 group membership

report for 232.3.4.5 fromthis interface

Page 42: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 42/94

42Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 4242428/21/2001 3:39 PM

URD – Host Signalling

And so the router answers:

Users DesktopUsers favourite Browser 

Thank you for choosing

this Sports channel

Transferring from sessions.broadcast.com 

Currently showingEuro 2000 Soccer live from Brussels

England : Germany3 : 1

Min 89:00

The web server 

www.broadcast.com

The

Internet

The last hop router 

running 12.1(3)T or later and

enabled for 

ip urd 

on the interface to the host

The Host

GET /urd-helper?

group=232.3.4.5&

source=192.44.81.5

HTTP/1.0

HTTP/1.1 200 OK

Server: cisco IOS

Content-Type: text/html

<html>

<body>

Retrieved URL string

successfully

</body>

</html>

Watch TCP connection

And closes the TCP connection.

Page 43: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 43/94

43Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 4343438/21/2001 3:39 PM

URD – Host Signalling

And once it sees the first IGMPv1/v2 report for the group (from the

application), the router will join to the source via PIM-SS and continueas long as the IGMPv1/v2 group reports come in.

Note: The URL request from th e brows er and the first IGMPv1/2 reportfrom th e application m ay arrive in any order within ~ 1 minute

The video source

192.44.81.5

The

Internet

PIM join

(192.44.81.5,232.3.4.5)

IGMPv1/v2

membership reports

for 232.3.4.5

Users DesktopUsers favourite Browser 

Thank you for choosing

this Sports channel

Transferring from sessions.broadcast.com 

Currently showingEuro 2000 Soccer live from Brussels

England : Germany3 : 1

Min 89:00

Page 44: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 44/94

44Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 4444448/21/2001 3:39 PM

URD – Host Signalling

And finally the picture arrives and is being forwarded as long

as the application runs and sends the IGMPv1/v2 membershipreports

Users DesktopUsers favourite Browser 

Thank you for choosing

this Sports channel

Transferring from sessions.broadcast.com 

Currently showingEuro 2000 Soccer live from Brussels

England : Germany3 : 1

Min 89:00

The video source

192.44.81.5

The

Internet

PIM join

(192.44.81.5,232.3.4.5)

IGMPv1/v2

membership reports

for 232.3.4.5

Page 45: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 45/94

45Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 4545458/21/2001 3:39 PM

URD – Host Signalling

Users DesktopUsers favourite Browser 

Thank you for choosing

this Sports channel

Old streaming video receiver application. Does IP Multicast,

but not IP SSM

And all the user could no tice,is the str ing returned by the

router (may be hidden)! 

Currently showing

Euro 2000 Soccer live from Brussels

England : Germany

3 : 1

Min 89:00

Retrieved URL String successfully

Page 46: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 46/94

46Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 4646468/21/2001 3:39 PM

URD – Configuration

• Enable IP SSM for existing applications

 – Works with every browser that supports frames (or oneclick more for those without)

• No plugin’s required

 – Complete host platform independence

• Nothing to configure on the host

• URL easily added to WWW server HTML pages

 – No additional CGI scripts required.

Page 47: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 47/94

47Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 4747478/21/2001 3:39 PM

URD – Cisco’s Implementation

• Supported in IOS 12.1(3)T, 12.0(15)S and later.• Supported in the process, fast and CEF paths

• Intercepting solely based on TCP port 659 – If first hop router is not URD enabled, www-server may

want to reply to HTTP on that port too (error discovery)

• Port 659 assigned by IANA for Cisco URD.

• URD - URL Rendezvous Directory

 – Name still carries the idea that it is also quite simple towrite a CGI-Script to completely emulate an RP, i.e.: addweb pages, where you would click onto if you are a

source, and the script would then create the URDcommand URLs for the receivers.

Page 48: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 48/94

48Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 4848488/21/2001 3:39 PM

IGMP v3lite Overview

• Source side:

 – – No application changes required!No application changes required!

• Receiver side IGMPv3 API:

 – draft-ietf-idmr-msf-api-00.txt

• Socket Interface Extensions for Multicast Source Filter 

• Supports all memberships possible with IGMPv3:Group membership with INCLUDE or EXCLUDE list ofsources.

• Different subsets of the API defined (one for IP SSM)

• Kernel implementation of this will also filter out any

unwanted received traffic still forwarded to host.• Layer2 of hosts is not IP SSM aware, input filtering on

group only.

Page 49: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 49/94

49Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 4949498/21/2001 3:39 PM

IGMP v3lite Overview

• IGMP v3lite HSIL (Host Side IGMP Library)

 –Provides for the IP SSM subset of IGMPv3 API

 –Applications must still filter out unwanted traffic.

 –Forward compatible with OS supported IGMPv3:

• Recompile of application without HSIL

• HSIL may also be able to detect and support hostnative IGMPv3 if available.

Page 50: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 50/94

50Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 5050508/21/2001 3:39 PM

IGMP v3lite – Host Signalling

Cisco IOS 12.1(3)T

or later router with

ipip igmpigmp v3litev3lite

enabled

Host

Operating System

IGMP

v3lite

Daemon

IP SSM

Application

HSIL

IP SSM API

IP SSMApplication

(s)

HSIL

IP SSM API

Page 51: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 51/94

51Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 5151518/21/2001 3:39 PM

IGMP v3lite – Host Signalling

Cisco IOS 12.1(3)T

or later router with

ipip igmpigmp v3litev3lite

enabled

Host

Operating System

IGMP

v3lite

Daemon

IP SSM

Application

HSIL

IP SSM API

IP SSMApplication

(s)

HSIL

IP SSM API

Join (S,G)

Page 52: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 52/94

52Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 5252528/21/2001 3:39 PM

IGMP v3lite – Host Signalling

Cisco IOS 12.1(3)T

or later router with

ipip igmpigmp v3litev3lite

enabled

Host

Operating System

IGMP

v3lite

Daemon

IP SSM

Application

HSIL

IP SSM API

IP SSMApplication

(s)

HSIL

IP SSM API

Join (S,G)

Join (G)

Page 53: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 53/94

53Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 5353538/21/2001 3:39 PM

IGMP v3lite – Host Signalling

Cisco IOS 12.1(3)T

or later router with

ipip igmpigmp v3litev3lite

enabled

Host

Operating System

IGMP

v3lite

Daemon

IP SSM

Application

HSIL

IP SSM API

IP SSMApplication

(s)

HSIL

IP SSM API

Join (S,G)

Join (G)

IGMPv1/v2membership report for G

UDP Port:659Membership

report

INCLUDE(S,G)

Page 54: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 54/94

54Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 5454548/21/2001 3:39 PM

IGMP v3lite – Cisco’s Implementation

• Solution to start developing and

deploying IP SSM applications with anIGMPv3 API subset.

 –Router side supported in IOS 12.1(3)T and later

 –Host side written by Whitebarn for Cisco

 –Supported for typical OS’s (Windows, Unix,Linux)

 –Host side binaries will be freely downloadablefrom www.whitebarn.com 

 – Supported ONLY at the IP SSM API in the host

• i.e.: Do not try to write your own HSIL or Daemonand expect IOS to do the right thing.

Page 55: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 55/94

55Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 5555558/21/2001 3:39 PM

SSM – Summary

• Solves multicast address allocation problems.

 – Flows differentiated by both source and group.• Not just by group.

 – Content providers can use same group ranges.• Since each (S,G) flow is unique.

• Helps prevent certain DoS attacks

 – “Bogus” source traffic:• Can’t consume network bandwidth.• Not received by host application.

Page 56: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 56/94

56Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 5656568/21/2001 3:39 PM

Agenda

• Source Specific Multicast

• Bidirectional (Bidir) PIM

Page 57: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 57/94

57Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 5757578/21/2001 3:39 PM

Multicast Application Categories

• One-to-Many Applications

 –Video, TV, Radio, Concerts, Stock Ticker, etc.

• Few-to-Few Applications

 –Small (<10 member) Video/Audio Conferences

• Few-to-Many Applications

 –TIBCO RV Servers (Publishing)

• Many-to-Many Applications

 –Stock Trading Floors, Gaming

• Many-to-Few Applications –TIBCO RV Clients (Subscriptions)

Page 58: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 58/94

58Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 5858588/21/2001 3:39 PM

Multicast Application CategoriesPIM-SM (S, G) State

• One-to-Many Applications

 –Single (S,G) entry

• Few-to-Few Applications

 –Few (<10 typical) (S,G) entries

• Few-to-Many Applications

 –Few (<10 typical) (S,G) entries

• Many-to-Many Applications

 – –Unlim ited (S,G) entr ies Unlim ited (S,G) entr ies 

• Many-to-Few Applications – –Unlim ited (S,G) entr ies Unlim ited (S,G) entr ies 

Page 59: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 59/94

59Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 5959598/21/2001 3:39 PM

Many-to-Any State Problem

• Creates huge amounts of (S,G) state –State maintenance workloads skyrocket

• High OIL fanouts make the problem worse

 –Router performance begins to suffer 

• Using Shared-Trees only.

 –Provides some (S,G) state reduction

• Results in (S,G) state only along SPT to RP

• Frequently still too much (S,G) state• Need a solution that only uses (*,G) state

Page 60: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 60/94

60Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 6060608/21/2001 3:39 PM

Eliminating (S,G) StateSolution 1

• Register-Encapsulate all data to RP

 –Easy to implement

• RP never bothers to send a Register-Stop

 –Effectively IP-IP tunneling traffic to RP

 –Still results in (S,G) state in:

• The RP

• The first-hop routers

 –Each packet must be de-encapsulated

• Process-switched• Only feasible if data rates are very low.

Page 61: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 61/94

61Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 6161618/21/2001 3:39 PM

Eliminating (S,G) StateSolution 2

• Bidirectional Shared-Trees –Allows data to flow upup the Shared Tree

• Source traffic follows Shared Tree to get to theRP and all other receivers on the Shared Tree

 –Cannot use current (*,G) RPF rules

• Care must be taken to avoid multicast loops

 –Requires a Designated Forwarder (DF)

• Responsible for forwarding traffic up Shared Tree

 – DF’s will accept data on the interfaces in their OIL. – Then send it out all other interfaces. (Including the IIF.)

Page 62: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 62/94

62Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 6262628/21/2001 3:39 PM

Bidirectional (Bidir) PIM

• Idea:

 –Use the same tree for traffic from sourcestowards RP and from RP to receivers

• Benefits:

 –Less state in routers

• Only (*, G) state is used

• Source traffic follows the Shared Tree

 – Flows up the Shared Tree to reach the RP.

 – Flows down the Shared Tree to reach all other receivers.

• Bidir PIM

 – PIM Sparse Mode in its native form is unidirectional – the traffic from sources tothe RP initially flows encapsulated in Register messages wich presents asignificant burden due to encapsulation / decapsulation mechanisms.

 Additionally, shortest path tree is built between the RP and the source (initiatedby the RP) which results in (*,G) and (S,G) entries at least on the way betweenthe RP and the source.

 – Several multicast applications use many-to-many model where each participantis receiver and sender as well. In such an environment (*,G) and (S,G) entriesappear everywhere along the path from participants and the associated RP in aPIM Sparse Mode domain resulting in increased memory and protocol

overhead. It is also possible that the path from the source to the RP and theopposite path (from the RP to the source which is a receiver as well) areincongruent.

 – Bi-directional PIM dispenses with both encapsulation and source state byallowing packets to be natively forwarded from a source to the RP using sharedtree state only. This ensures that only (*,G) entries will appear in multicastforwarding tables and that the path taken by packets flowing from the participant

(source and/or receiver) to the RP and vice versa will be the same.

Page 63: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 63/94

63Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 6363638/21/2001 3:39 PM

Bidirectional PIM – Overview

Receiver 

RP

Shared Tree

Sender/Receiver Receiver 

Page 64: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 64/94

64Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 6464648/21/2001 3:39 PM

Bidirectional PIM – Overview

Receiver 

RP

Shared TreeSource Traffic

Source Traffic forwarded

bidirectionally using (*,G) state.

Sender/Receiver Receiver 

Page 65: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 65/94

65Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 6565658/21/2001 3:39 PM

Bidirectional PIM – Overview

Receiver 

RP

Shared Tree

(*, G) State created only

along the Shared Tree.

Source TrafficSource Traffic forwardedbidirectionally using (*,G) state.

Sender/Receiver Receiver 

Page 66: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 66/94

66Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 6666668/21/2001 3:39 PM

PIM Modifications for Bidir Operation

• Designated Forwarders (DF)

 –On each link the router with the best path tothe RP is elected to be the DF.

• Note: Designated Routers (DR) are not used forbidir groups.

 –The DF is responsible for forwarding trafficupstream towards the RP.

 –No special treatment is required for local

sources.

• PIM Modifications for Bidir Operation

 – The major modification of PIM Sparse Mode to support bidirection al mode is anaddition of a Designated Forwarder, which takes over the role of a DesignatedRouter (DR) and has the following responsibilities:

• It is the only router that forwards packets travelling downstream (towards

receiver segments) onto the link

• It is the only router that picks-up upstream traveling packets (away from thesource) off the link and forwards them towards the RP

 – There is one DF per RP for bidirectional group(s) on each link. One and onlyone election is performed at RP discovery time. There is no constant controltraffic and control messages appear only on changes. The election is robust andenforces consistent view on all routers on link. The router with the best unicastroute to the RP is elected as a DF.

 – There is no effect of this election on local sources – their traffic reaches locally

attached receivers directly and special treatment is no longer required when thesources are directly connected to a router. Data from those sources willautomatically be picked up by the DF and forwarded towards the RP.

Page 67: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 67/94

67Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 6767678/21/2001 3:39 PM

Join to DF

Forwarding / Tree Building

• Downstream routers withreceivers Join towards theDF.

DFN2N2

RPRP

R2R2R1R1

Join to DF

Shared Tree

N3N3 N4N4

N1N1

• Forwarding / Tree Building

 – The DF also forwards / initiates all (*,G) Joins towards the RP for the activegroup. Downstream routers forward their (*,G) Joins via upstream DFs. Theyindicate that in the Upstream Router field of a PIM Join message.

Page 68: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 68/94

68Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 6868688/21/2001 3:39 PM

R2R2R1R1

DFN2N2

Join

Forwarding / Tree Building

• DF adds link to (*,G) olist andJoins towards the RP.

Shared Tree

N3N3 N4N4

RPRP

N1N1

• Downstream routers withreceivers Join towards theDF.

• Forwarding / Tree Building

 – When (*,G) Join is received by the DF on the link it adds the link to the outgoinginterface list (OIL) for the group. If the entry already exists the interface timer isrefreshed. The (*,G) Join is then forwarded by the DF towards the RP for the

group.

Page 69: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 69/94

69Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 6969698/21/2001 3:39 PM

R2R2R1R1

DFN2N2

Forwarding / Tree Building

Shared Tree

N3N3 N4N4

RPRP

N1N1

• Downstream routers withreceivers Join towards theDF.

• Shared Tree is now built.

• DF adds link to (*,G) olist andJoins towards the RP.

• Forwarding / Tree Building

 – When (*,G) Join is received by the DF on the link it adds the link to the outgoinginterface list (OIL) for the group. If the entry already exists the interface timer isrefreshed. The (*,G) Join is then forwarded by the DF towards the RP for the

group.

Page 70: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 70/94

70Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 7070708/21/2001 3:39 PM

Forwarding / Tree Building

• The DF forwards all trafficfrom the link upstreamtowards the RP. At the sametime, traffic flows down thetree.

S1S1

R2R2R1R1

DFN2N2

N3N3 N4N4

RPRP

N1N1

• Downstream routers withreceivers Join towards theDF.

• Shared Tree is now built.

• DF adds link to (*,G) olist andJoins towards the RP.

• Forwarding/Tree Building

 – The Designated Forwarder (DF) has all the responsibilities for forwardingmulticast traffic in bidirectional PIM. It has to forward multicast traffic received ona link for which it is a DF via RPF-interface towards the RP (in addition to

forward the traffic via interfaces in OIL excluding the inteface on which the trafficwas received).

Page 71: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 71/94

71Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 7171718/21/2001 3:39 PM

• Downstream traffic isforwarded through the DF.

S2S2

Forwarding / Tree Building

R2R2R1R1

DFN2N2

RPRP

S1S1

N3N3 N4N4

N1N1

• Downstream routers withreceivers Join towards theDF.

• Shared Tree is now built.

• DF adds link to (*,G) olist andJoins towards the RP.

• The DF forwards all trafficfrom the link upstreamtowards the RP. At the sametime, traffic flows down thetree.

• Forwarding / Tree Building

 – The branch of the tree built via (*,G) Joins is bidirectional which means that:

• the traffic from upstream sources follows the same (downstream) path thatwas built with (*,G) Joins and is forwarded to the link by the same DF

• a single path through the DF is enforced for traffic travelling upstream to theRP

Page 72: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 72/94

72Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 7272728/21/2001 3:39 PM

Designated Forwarder Election

• Performed as soon as a bidir RP is learnedvia Auto-RP or BSR.

• Elects the router on the link with the best

path to the RP.

• Ensures all routers on link have aconsistent view of the winner identity and

metrics.

• Uses assert-like metric comparison rulesto pick best path.

• DF Election

 – The election of a Designated Forwarder on each link follows similar principlesknown from the Assert process in PIM Dense Mode. The mechanism ensuresthat all the routers on the link have consistent view of the same RP. To perform

the election of the DF for a particular RP, routers on a link need to exchangetheir unicast routing metric information for reaching the RP.

Note: The election of a DF is per RP and not per individual group. – The election process happens once only - when information on a new RP

becomes available. There are however some conditions where an update to theelection is needed:

• A change in unicast metric to reach the RP for any of the routers on the link

• The interface on which the RP is reachable changes to an interface forwhich the router was previously the DF

• A new PIM neighbor on a link

• The elected DF dies

Page 73: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 73/94

73Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 7373738/21/2001 3:39 PM

DF Election Messages

•• Offer:Offer: Used to advertise local metrics toreach the RP.

•• Winner:Winner: Used by a DF announcing orre-asserting its status.

•• Backoff Backoff :: Used by a DF to acknowledge

receipt of a better Offer.

•• Pass:Pass: Used by an acting DF to pass the DF

responsibility to a better candidate.

• DF Election Messages

 – The DF election mechanism is based on four control messages exchangedbetween the routers on the link.

• The Offer message is used to advertise router`s unicast metric to reach theRP and is used for comparison with other routers participating in DF

election.

• The Winner message allows the winning router to declare to every otherrouter on the link the identity of the winner and the metrics it is using. Themessage is used by the DF to reassert its status as well.

• The Backoff message is used by the DF on receipt of an offer that is better than its own metric. The DF records the received information and respondswith a Backoff message. This instructs the offering router to hold off for ashort period of time while the unicast routing stabilizes.

• The Pass message is used by the acting DF to pass its role to another

router offering better metric. The old DF stops its tasks as soon as thetransmission is made.

Page 74: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 74/94

74Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 7474748/21/2001 3:39 PM

Initial Election

N1N1 N2N2

N3N3 N4N4

Offer 10

• On RP discoverysend Offer withmetric to RP.

RPRP

• Initial Election

 – When a router finds out a new RP and the DF does not exist yet it sends anOffer message. The message contains the router`s metric to reach the RP andthe router`s identity. The Offer message is periodically (Offer-Interval)

retransmitted.

 – If the router learns about a better metric from a neighbor it stops sending Offer

messages for a period of three times the Offer-Interval. If after this period nowinner is elected, the election is restarted by the router. The same happens if anOffer with a worse metric is received.

 – A router takes the role of the DF after sending three Offers without receiving anyoffer from any other neighbor.

Page 75: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 75/94

75Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 7575758/21/2001 3:39 PM

N1N1 N2N2

N3N3 N4N4

Offer 10

We are

better 

Initial Election

• On RP discoverysend Offer withmetric to RP.

RPRP

• Neighbors comparewith own metric andsend Offer only ifbetter.

Offer 8

• Initial Election

 – When neighbors hear the Offer message they compare the offered metric withtheir own one. If their metric is worse they back off (remain silent for three timesthe Offer-Interval) and thus allow the offering router to win. A timer is still running

to restart offering in case election fails.

 – If the neighbor that heard the Offer has better metric it active ly starts

participating in the election by sending its own Offer messages including itsmetric to the RP and its identity.

Page 76: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 76/94

76Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 7676768/21/2001 3:39 PM

N1N1 N2N2

N3N3 N4N4

We loseWe are

better RPRP

Offer 10Offer 8

• On RP discoverysend Offer withmetric to RP.

• Neighbors comparewith own metric andsend Offer only ifbetter.

Initial Election

• Initial Election

 – If the offering router hears an Offer with a better metric it assumes it lost andstops sending Offer messages for the period of three times the Offer-Interval. Ifafter that interval the situation is not yet resolved, the election process will

restart.

Page 77: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 77/94

77Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 7777778/21/2001 3:39 PM

We Win!

• After repeating 3uncontested Offers,

send a Winner andassume DF role.

N1N1 N2N2

N3N3 N4N4

Winner 8

RPRP

• On RP discoverysend Offer withmetric to RP.

• Neighbors comparewith own metric andsend Offer only ifbetter.

Initial Election

• Initial Election

 – The router that sent the better Offer three times (and hasn`t heard of better Offeror no Offer at all) assumes the DF role and transmits a Winner message whichdeclares to every router on the link the identity of the winner and the metric it is

using.

 – Routers hearing a Winner message stop participating in the election and record

the identity and metrics of the winner.

Page 78: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 78/94

78Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 7878788/21/2001 3:39 PM

We Win!

• Winner messageinforms the otherrouters who is DF.

N1N1 N2N2

N3N3 N4N4

Winner 8

DF is N1

DF is N1DF is N1

RPRP

Initial Election

• Initial Election

 – The router that sent the better Offer three times (and hasn`t heard of better Offeror no Offer at all) assumes the DF role and transmits a Winner message whichdeclares to every router on the link the identity of the winner and the metric it is

using.

 – Routers hearing a Winner message stop participating in the election and record

the identity and metrics of the winner.

Page 79: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 79/94

79Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 7979798/21/2001 3:39 PM

N3N3 N4N4

DF Offer 6

DF Preemption

N1N1 N2N2

RPRP

• New candidate sendsimproved Offer.

Candidate

• DF Preemption

 – Once the DF is elected the process does not restart if there are no changes inmetrics, PIM neigbors, DF reachability or interfaces towards the RP. If theunicast metric to a RP changes for a non-DF router to a value that is better than

that previously advertised by the DF the router sends a new Offer. A new Offerincludes an improved metric and the candidate`s identity.

Page 80: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 80/94

80Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 8080808/21/2001 3:39 PM

N2N2

N3N3 N4N4

DF Backoff 6

DF Preemption

RPRP

N1N1

• DF responds with Backoff instructing candidate towait.

• New candidate sendsimproved Offer.

Candidate

• DF Preemption

 – Upon receipt of an Offer that is better than its current metric, the DF records theidentity and metrics of the offering router and responds with a Backoff message(including the metric of the candidate that just sent the Offer).

 – The offering router will hold off for a period of time (defined in the Backoff 

message) while the unicast routing stabilises. All routers on the link who have

pending offers with metrics equal or worse than those in the backoff message(including the original offering router) will hold further offers for the definedperiod.

 – If during the period someone else sends a new better Offer, the Backoff message is repeated for the new Offer and the backoff period restarted.

Page 81: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 81/94

81Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 8181818/21/2001 3:39 PM

• Before backoff periodexpires, old DF stopsforwarding and sends Pass.

N3N3 N4N4

Pass N2

DF Preemption

N1N1 N2N2

RPRP• DF responds with Backoff 

instructing candidate towait.

• New candidate sendsimproved Offer.

Candidate

• DF Preemption

 – Just before the backoff period expires, the current DF declares the candidaterouter with the best Offer as the new DF. This is done via a Pass messagewhich includes the IDs and metrics of both the old and new DFs.

 – The current DF stops acting as a DF soon after the Pass is transmitted. The new

DF assumes the role of the DF as soon as it receives the Pass message. All

other routers on the link record the identity and the metric of the newly electedDF.

Page 82: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 82/94

82Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 8282828/21/2001 3:39 PM

• Before backoff periodexpires, old DF stopsforwarding and sends Pass.

N3N3 N4N4

Pass N2

DF Preemption

N1N1 N2N2

RPRP• DF responds with Backoff 

instructing candidate towait.

• New candidate sendsimproved Offer.

• On receipt candidatebecomes DF.

Candidate

DF

• DF Preemption

 – Just before the backoff period expires, the current DF declares the candidaterouter with the best Offer as the new DF. This is done via a Pass messagewhich includes the IDs and metrics of both the old and new DFs.

 – The current DF stops acting as a DF soon after the Pass is transmitted. The new

DF assumes the role of the DF as soon as it receives the Pass message. All

other routers on the link record the identity and the metric of the newly electedDF.

Page 83: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 83/94

83Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 8383838/21/2001 3:39 PM

• Before backoff periodexpires, old DF stopsforwarding and sends Pass.

N3N3 N4N4

Pass N2

DF is N2DF is N2

DF Preemption

N1N1 N2N2

RPRP• DF responds with Backoff 

instructing candidate towait.

• New candidate sendsimproved Offer.

• On receipt candidatebecomes DF.

• Other routers hear Pass,learn N2 is now DF.

DF

• DF Preemption

 – Just before the backoff period expires, the current DF declares the candidaterouter with the best Offer as the new DF. This is done via a Pass messagewhich includes the IDs and metrics of both the old and new DFs.

 – The current DF stops acting as a DF soon after the Pass is transmitted. The new

DF assumes the role of the DF as soon as it receives the Pass message. All

other routers on the link record the identity and the metric of the newly electedDF.

Page 84: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 84/94

84Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 8484848/21/2001 3:39 PM

N3N3 N4N4

Offer 8

Restarted

DF

PIM Neighbor Startup

N1N1 N2N2

RPRP

• Router N1 restarts andhas no knowledge of DF.

• On RP discovery it sendsan Offer.

• PIM Neighbor Startup

 – A router that started after the DF election outcome or a router that restarted inthe meantime will have no knowledge of a previously elected DF. It will startadvertising its metric in Offer messages on RP discovery time.

Page 85: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 85/94

85Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 8585858/21/2001 3:39 PM

• Router N1 restarts andhas no knowledge of DF.

N3N3 N4N4

Winner 6 DF

PIM Neighbor Startup

• On RP discovery it sendsan Offer.

• Acting DF responds with

Winner or Backoff depending on metriccomparison.

N1N1 N2N2

RPRP

• PIM Neighbor Startup

 – As soon as the current DF hears the Offer from the PIM neighbor that just(re)started it will respond either with a Winner or with a Backoff messagedepending on the metric in the Offer message. The rest of the procedure is the

same as in every reelection.

Page 86: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 86/94

86Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 8686868/21/2001 3:39 PM

DF

N3N3 N4N4

Offer ?

DF Loses Path to the RP

N1N1 N2N2

RPRP

• Stops acting as the DF

• Sends Offer with infinitemetric to trigger new DFelection.

• Current DF loses only path

to the RP.

• DF Loses Path to the RP

 – When the path to the RP currently used by the DF switches to be through thelink for which it is the DF, then it can no longer provide forwarding services.Recall that the DF forwards the traffic (from a source) received on an interface

towards the RP, but never via the interface on which the traffic was received.

 – Thus in this case the DF immediately stops being the DF and restarts the

election by sending an Offer with an infinite metric. If no better Offer is receivedan infinite Offer is repeated periodically.

Page 87: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 87/94

87Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 8787878/21/2001 3:39 PM

N3N3 N4N4

DF Winner 8

DF Loses Path to the RP

• Other candidates respondwith real Offers andeventually best candidatetakes over with a Winnermessage.

• Stops acting as the DF

• Sends Offer with infinitemetric to trigger new DFelection.

N1N1 N2N2

RPRP

• Current DF loses only path

to the RP.

• DF Loses Path to the RP

 – The procedure after the router acting as a DF loses the path to the RP and itsRPF-interface becomes the same as the interface for which it is the DF is similarto standard DF election procedure. Routers that hear an infinite Offer respond

with their Offers and the one with the best Offer takes over the role of a new DFwith the Winner message.

Page 88: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 88/94

88Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 8888888/21/2001 3:39 PM

DF Failures

• Detecting DF Failures

 –Downstream Routers• RP RPF info no longer points to DF.

 –Non-Downstream Routers• PIM Neighbor timeout of DF.

• Router response to a DF Failure

 –Routers resend their Offer messages

• Triggers new DF election

• DF Fails

 – The speed at which a new DF is elected after the original DF dies depends onwhether there are any downstream routers on the link.

 – For downstream routers the RPF neighbor (who is the DF at the same time) willchange and they will initiate the reelection by sending Offer messages. If the RP

is reachable through the link via another upstream router they will use an infinite

metric. – If no downstream routers are available the only way for other upstream routers

to detect a DF failure is by the timeout of the PIM neighbor information, whichwill take longer.

Page 89: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 89/94

89Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 8989898/21/2001 3:39 PM

Other Metric Changes

• DF metric changes: – Better metric:

•• May May send Winner message with new metric.

• Updates other routers.

 – Worse metric:• Sends 3 Winner messages with new metric.

• Other routers can respond with a better Offer.

• Non-DF metric changes:

 – Better metric than DF:• Send new Offer to trigger DF re -election.

 – Worse metric than DF:• No action is taken.

• Other Metric Changes

 – There are some other situations where the metric to the RP changes. When themetric of the non-DF router chenges to a value still wors than that of the currentDF, no action is taken.

 – There can be changes to the metric of the current DF. If the met ric becomes

worse than before (assuming the DF still has a path to the RP) the DF sends a

set of 3 randomly spaced Offer messages with the new metric. Routers whoreceive this message and have a better metric may respond with an Offermessage which triggers the same procedure as follows when non-DF metricbecomes better than the current DF metric. All routers assume the DF has notchanged until they see a Pass or Winner message indicating the change.

 – If the routing metric at the DF changes to a better value, a single Winner

message is sent advertising the new metric.

Page 90: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 90/94

90Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 9090908/21/2001 3:39 PM

Additional Robustness

• DF re-announces sending Winner messagewhen new PIM neighbors are discovered.

• Periodic Winner messages can be sent for

RPs with active groups.

• Additional Robustness

 – In order to ensure an additional robustness in DF election whenever a new PIMneighbor is discovered by the current DF a Winner message is reannounced.

 – The proposal allows the DF to send periodic Winner messages for RPs servingcurrently active groups as well.

Page 91: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 91/94

91Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 9191918/21/2001 3:39 PM

DF Advantages

• DF election enforces a single forwarder for

traffic in both directions between a linkand the RP.

• DF is responsible for originating Joins for

local receivers thus eliminating loops thatwere previously possible due to DRplacement.

• Customized unicast routes in downstreamrouters do not affect the choice of the

forwarding router. This eliminates loopsdue to misconfiguration.

• DF Advantages

 – The implementation of PIM bidirectional mode where all the forwarding on a l inkis centered around the Designated Forwarder ensures highly robust PIM SMmulticast networks and eliminates possible loops. All the multicast traffic from

the link towards the RP and in the opposite direction passes the DF.

 – Since the role of a Designated Router (DR) is handed to a Designated

Forwarder (DF) the placement of a DR is no more an issue. All (*,G) Joins areoriginated (forwarded) via DF which again eliminates the possibilities forforwarding loops.

 – Even if downstream routers on the link use customized unicast routes theelection of a DF ensures that all those routers know who the DF is and use it forforwarding (*,G) Joins via it. This again eliminates multicast forwarding loops

that were possible in regular PIM SM due to misconfigurations.

Page 92: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 92/94

92Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 9292928/21/2001 3:39 PM

ip pim rp-candidate Loopback0 group-list 45 bidir

ip pim rp-candidate Loopback1 group-list 46

! Two loopbacks needed due to a nature of ACLs (permit, deny)

ip pim bsr-candidate Loopback2 4

access-list 45 permit 224.0.0.0 0.255.255.255

access-list 45 permit 227.0.0.0 0.255.255.255

! Those two groups will be PIM SM bidirectional

access-list 45 deny 225.0.0.0 0.255.255.255

! This group will be PIM DM

access-list 46 permit 226.0.0.0 0.255.255.255! This group will be PIM SM

Configuring Bidir PIM(BSR Example)

• Define Candidate RP and groups / modes it iswilling to serve

• Configuring Bidir PIM (BSR Example)

 – A bidirectional PIM capable router can run in bidirectional mode, sparse mode,dense mode or any combination of them. If a router is configured forbidirectional mode but does not learn of a bidirectional capable RP it will operate

in sparse mode. If a bidirectional capable router learns of a bidirectional RP thenthe group range advertised by the RP will operate in bidirectional mode. If theRP advertises any groups with a negative prefix they will operate in dense

mode.

 – By default a bidirectional RP advertises all groups as bidirectional. An accessgroup on the RP can be used to specify a list of groups to be advertised asbidirectional. Groups with the "deny" clause will operate in dense mode.

 – A different (non bidirectional) RP address needs to be specified for groups that

need to operate in sparse mode. This is because a single access-list allows only"permit" or a "deny" clause.

 – The example shows how to configure a bidirectional RP to run all 3 modes.224/8 and 227/8 are bidirectional groups, 225/8 is dense mode and 226/8 issparse mode. Both the bidirectional RP and the sparse mode RP are configuredon one router using two different loopback interfaces.

Page 93: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 93/94

93Module7.pptCopyright ? ?1998-2001, Cisco Systems, Inc.

Module12.ppt  ©1998 – 2001, Cisco Systems, Inc. All rights reserved. 9393938/21/2001 3:39 PM

Bidir PIM – Summary

• Drastically reduces network mroute state.

 –Eliminates ALL (S,G) state in the network.• SPT’s between sources to RP eliminated.• Source traffic flows both up and down SharedTree.

 –Allows Many-to-Any applications to scale.• Permits virtually an unlimited number of sources.

Page 94: Module12 - PIM Protocol Extensions

7/18/2019 Module12 - PIM Protocol Extensions

http://slidepdf.com/reader/full/module12-pim-protocol-extensions 94/94

Module12.ppt  ©1998 – 2001, Cisco System s, Inc. All rights reserv ed. 94