Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
60 views
Lec-10 Multicast PIM Assert Explained
Uploaded by
Abhishek garg
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save lec-10 Multicast PIM Assert Explained For Later
Download
Save
Save lec-10 Multicast PIM Assert Explained For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
60 views
Lec-10 Multicast PIM Assert Explained
Uploaded by
Abhishek garg
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save lec-10 Multicast PIM Assert Explained For Later
Carousel Previous
Carousel Next
Save
Save lec-10 Multicast PIM Assert Explained For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 12
Search
Fullscreen
091052023, 22:45 Muticast PIM Assert Explaines Search Q © Multicast PIM Assert Explained Multicast PIM Assert is one of those important multicast topics that most people don't really think about. Let’s take a look at the following topology: hitpstnetworklessons.com/mulicastmulicast-pim-asser-explained neosiosi2023, 22:45 Muticast PIM Assert Explained 2 38 %, 192.168.234.0/24_.9) oe. Receiver Above, you see four routers that are configured to use multicast. R1 is the source, and Ré is our receiver. AS you can see, R2, R3, and R4 are connected to the same switch. Now when R1 starts streaming multicast traffic towards R2 and R3, they will both forward multicast packet ~ to R4, resulting in duplicate traffic. To stop this, PIM will elect one PIM forwarder for this segment. PIM. Q doesn't have any routing information itself but relies on other routing protocols that are configured, it will use this information to select the best forwarding path with the PIM assert mechanism. hnps:inetworklessons.commulicasLmulicast-pim-assert-explained ana091052023, 22:45 Muticast PIM Assert Explaines a things! When R2 and R3 both forward multicast packets to the 192.168.234.0 /24 segment, they will see each other's multicast traffic, this will trigger the PIM assert mechanism. We will elect a PIM forwarder based on the following rules: 1. The router with the lowest administrative distance to the source of the multicast stream will be the elected PIM forwarder. This only happens if you use two routing protocols or when you use a static route pointing to the source. 2, Ifthe AD is equal, we will compare the unicast routing metric toward the source, 3. If the AD and metric are both the same, we will elect the PIM forwarded based on the highest IP address. The elected PIM forwarder will keep forwarding traffic to the receiver, while the loser will prune its interface Now let's take a look at this in action! First, Ill configure a basic PIM Dense mode setup: Ri(config)#ip multicast-routing R1(config)#interface loopback @ R1(config-if)#ip address 1.1.1.1 255.255.255.255 Ri(config-if)#ip pim dense-mode Ri (config)#interface fastethernet 0/2 R1(config-if)#ip pim dense-mode R1(config)#interface fastEthernet 0/1 R1(config-if)#ip pim dense-mode | will use a loopback interface on R1 as the source for our multicast stream. ra(contieip mttteast-rvting © R2(config)#interface fastEthernet 0/2 R2(config-if)#ip pim dense-mode hitpstnetworklessons.com/mulicastmulicast-pim-asser-explained ana091052023, 22:45 Muticast PIM Assert Explaines a R2(config-if)#ip pim dense-mode R3(config)#ip multicast-routing R3(config)#interface fastEthernet 0/2 R3(config-if)#ip pim dense-mode R3(config)#interface fastEthernet 0/1 R3(config-if)#ip pim dense-mode R2 and R3 are simple, Just enable multicast routing and PIM Dense mode on the interfaces. Only R4 left: Ra(config)#ip multicast-routing R4(config)#interface fastEthernet 0/2 R4(config-if)#ip pim dense-mode R4(config-if)#ip igmp join-group 239.1.1.1 On R4, we will also enable PIM dense mode and make it listen to the 239.1.1.1 multicast group address. | applied OSPF to all routers, using the quick “shotgun approach” to advertise everything: router ospf 1 network @.0.0.0 255.255.255.255 area 0 Now let's start a multicast stream from R1: Ri#ping 239.1.1.1 source loopback @ repeat 9999 Type escape sequence to abort. © Sending 9999, 10@-byte ICMP Echos to 239.1.1.1, timeout is 2 seconds: Packet sent with a source address of 1.1.1.1 Reply to request @ from 192.168.234.4, 12 ms hitpstnetworklessons.com/mulicastmulicast-pim-asser-explained ana091052023, 22:45 Muticast PIM Assert Explaines a R2itshow ip mroute 1.1.1.1 239.1.1.1 IP Multicast Routing Table Flags: D - Dense, S = Sparse, 8 - Bidir Group, s - SSM Group, C = Connected, - Local, P - Pruned, R - RP-bit set, F - Register flag, - SPT-bit set, J - Join SPT, M - MSDP created entry, - Proxy Join Timer Running, A - Candidate for MSDP Advertisement, L 1 x U - URD, I - Received Source Specific Host Report, Z - Multicast Tunnel, z - MDT-data group sender, Y - Joined mpT-data group, y - Sending to MDT-data group eB Outgoing interface flags: H - Hardware switched, A - Assert winner Timers: Uptime/Expires Interface state: Interface, Next-Hop or VCD, State/Mode (1.1.1.1, 239,1.1.2), @ 6/06 Incoming interface: FastEthernet@/@, RPF nbr 192.168.12.1 outgoing interface list: Fastethernet@/1, Prune/Dense, 00: 7, flags: PT 156/00:00:03 R3#show ip mroute 1.1.1.1 239.1.1.2 IP Multicast Routing Table Flags: D - Dense, S = Sparse, B - Bidir Group, s - SSM Group, C = Connected, L- Local, P - Pruned, R - RP-bit set, F - Register flag, = SPT-bit set, J - Join SPT, M - MSDP created entry, - Proxy Join Timer Running, A - Candidate for MSDP Advertisement, = URD, I - Received Source Specific Host Report, - Joined MDT-data group, y - Sending to MDT-data group 1 x u Z - Multicast Tunnel, z - MDT-data group sender, Y eB Outgoing interface flags: H - Hardware switched, A - Assert winner Timers: Uptime/Expires Interface state: Interface, Next-Hop or VCD, State/Mode (4.1.1.1, 2391.11), 00:02:48/00:02:57, flags: T @ Incoming interface: FastEthernet@/@, RPF nbr 192.168.13.1 Outgoing interface list: FastEtherneto/1, Forward/Dense, @0:02:48/00:00:00, A hitpstnetworklessons.com/mulicastmulicast-pim-asser-explained siz091052023, 22:45 Muticast PIM Assert Explaines a highest IP address. Let's change the AD on R2 to see if it becomes the new assert winner: R2(config)#router ospf 1 R2(config-router)#distance 100 0.0.0.0 255.255.255.255 1 R2(config)#access-list 1 permit host 1.1.1.1 We will change the AD on R2 to 100 for all prefixes matching access-list 1. Access-list 1 matches 1.1.1.1, which is the source of our multicast stream, Keep in mind that when we work with multicast, we are concerned about the source IP addresses, not destination IP addresses like with unicast routing Let’s verify our work: R2Hshow ip route | include 1.1.2.1 ° 1.1.1.1 [100/11] via 192.168.12.1, 00:01:32, FastEtherneto/a R3#show ip route | include 1.1.1.1 ° 1.1.1.1 [110/11] via 192.168.13.1, 00:01:28, Fastetherneto/e R2 now has a better administrative distance, so it should win the PIM assert election; let's see if this is true: R2#show ip mroute 1.1.1.1 239.1.1.2 IP Multicast Routing Table Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected, Le T. x u z- Y a Local, P - Pruned, R - RP-bit set, F - Register flag, SPT-bit set, J - Join SPT, M = MSDP created entry, Proxy Join Timer Running, A - Candidate for MSDP Advertisenent, © URD, I - Received Source Specific Host Report, Multicast Tunnel, z - MDT-data group sender, Joined MDT-data group, y - Sending to MOT-data group utgoing interface flags: H - Hardware switched, A - Assert winner hitpstnetworklessons.com/mulicastmulicast-pim-asser-explained ena091052023, 22:45 Muticast PIM Assert Explaines a (1.1.1.1, 239.1.1.1), 0 1/06 3, flags: T Incoming interface: FastEthernet@/@, RPF nbr 192.168.12.1 Outgoing interface list: FastEthernet@/1, Forward/Dense, 0:00:11/00:00:00, A There we have it. The “A” tells us that R2 is now the PIM assert winner. Let's remove the lowered AD to play with the metric: R2(config)#router ospf 1 R2(config-router)#no distance 100 0.0.0.0 255.255.255.255 1 This will make R3 the forwarder again. We will now increase the cost on the FastEthernet0/0 link of R3 so that its metric to the source is worse than R2: R2#show ip ospf interface #a0/@ | include Cost Process ID 1, Router ID 192.168.234.2, Network Type BROADCAST, Cost: 1@ R3itshow ip ospf interface fa0/@ | include Cost Process ID 1, Router ID 192.168.234.3, Network Type BROADCAST, Cost: 10 The default cost of the Fastéthernet links is 10 on R2 and R3. Let's increase it on R3: R3(config)#interface fastEthernet 0/0 R3(config-if)#ip ospf cost 11 This is now the metric for R2 and R3 to reach the loopback0 interface of R1: R2#show ip route ospf | include 1.1.1.1 0.4.4.1 [120/21] via 192.268.12.1, 00:06:58, Fastethemeto/e © R3ishow ip route ospf | include 1.1.1.1 hitpstnetworklessons.com/mulicastmulicast-pim-asser-explained me091052023, 22:45 Muticast PIM Assert Explaines a R2 has a lower metric to reach the source of the multicast stream so it will be the PIM assert winner: R2#show ip mroute 1.1.1.1 239.1.1.1 | begin FastEtherneto/1 FastEtherneto/1, Forward/Dense, 60:01:41/00:00:00, A ‘And you can see this in the output above. If you want to see what it looks like behind the scenes, you can also enable a debug R2idebug ip pim PIM debugging is on You will see something like this: Send v2 Assert on FastEthernet@/1 for 239.1.1.1, source 1.1.1.1, metric [110/11] PIM(@): Assert metric to source 1.1.1.1 is [110/11] PIM(@): We win, our metric [110/11] PIM(®): (1.1.1.1/32, 239.1.1.1) oif FastEthernet@/1 in Forward state PIM(@): Received v2 Assert on FastEthernet@/1 from 192.168.234.3 PIM(@): Assert metric to source 1.1.1.1 is [110/12] PIM(@): We win, our metric [110/11] PIM(@): (1.1.1.1/32, 239.1.1.1) oif FastEthernet@/1 in Forward state Want to take a look for yourself? Here you wil find the final configuration of each device. R1 ~ hostname R1. ! a cef e ip multicast-routing ! hitpstnetworklessons.com/mulicastmulicast-pim-asser-explained ana091052023, 22:45 Muticast PIM Assert Explaines a ip pim dense-node interface Fastethernet@/@ ip address 192.168.12.1 255.255.255.0 ip pim dense-node interface FastEthernet@/1 ip address 192.168.13.1 255.255.255.0 ip pim dense-node router ospf 1 network 0.0.0.0 255.255.255.255 area @ ! end R2 hostname R2 ' ip cef ' ip multicast-routing ' interface Fastéthernet@/e ip address 192.168.12.2 255.255.255.0 ip pim dense-node ' interface Fastetherneto/1 ip address 192.168.234.2 255.255.255.0 ip pim dense-node ' router ospf 1 network 0.0.0.8 255.255.255.255 area @ access-list 1 permit 1.1.1.1 end hitpstnetworklessons.com/mulicastmulicast-pim-asser-explained one091052023, 22:45 hostname R3 ! ip cef ! ip multicast-routing ! interface Fastethernet@/e ip address 192.168.13.3 255.255.255.0 ip pim dense-node ip ospf cost 11 interface Fastethernet@/1 ip address 192.168.234.3 255.255.255.0 ip pim dense-node router ospf 1 network 0.0.0.8 255.255.255.255 area @ ! end R4 hostname Ra ip cef ip multicast-routing 1 interface FastEtherneto/a ip address 192.168.234.4 255.255.2550 ip pim dense-node ip ignp join-group 239.1.1.1 ! router ospf 2 network 0.0.0.0 255.255.255.255 area 0 hitpstnetworklessons.com/mulicastmulicast-pim-asser-explained Muticast PIM Assert Explaines soneosiosi2023, 22:45 Muticast PIM Assert Explained a hope this explanation and walkthrough help you understand PIM assert. If you have any questions feel free to leave a comment! K Previous Lesson Next Lesson) PIM Designated Router Multicast PIM Prune Override © Tags: PIM Forum Replies stem i did to change AD, it work when i try to change metri and make debugging which tell me is the winner, itis still give outbound prune why? my scenario is the same as your scenario & sem thisis the result of the debug FULL, Loading Done ‘*Mar 1 00:53:23,595: PIM(0): Received v2 Assert on Serial1/0 from 155.1.24.4 ‘*Mar 1 00:53:23,595: PIM(O): Assert metric to source 3.3.3.3 is (110/75) “*Mar 1 00:53:23,599: PIM(0): We win, our metric [110/6] ‘*Mar 1 00:53:23,603: PIM(Q): Prune Serial1/0/235.1.1.1 from (3.3.3.3/32, 235.1.1.1) Mar + 00:59:23 603 PIN(O}Prning mediately Seria 0 (526) © the serial 1/0 is the outbound interface which goes ta receiver hnps:inetworklessons.commulicasLmulicast-pim-assert-explained wineosiosi2023, 22:45 Muticast PIM Assert Explained a Do you also have the debug for the other router? & oxen Nice Article! Thanks Rene. QR Fovematenaar Thanks Tim! {% 47 more replies! Ask a question or join the discussion by visiting our Community Forum Disclaimer Privacy Policy Support About © 2013 - 2023 NetworkLessons.com 52189 rane hnps:inetworklessons.commulicasLmulicast-pim-assert-explained
You might also like
Building Pathology..Principles and Practice-David Watt
PDF
100% (11)
Building Pathology..Principles and Practice-David Watt
287 pages
Multicast PIM Assert PDF
PDF
No ratings yet
Multicast PIM Assert PDF
16 pages
Multicast Traffic in Vxlan Using Underlay: Example
PDF
No ratings yet
Multicast Traffic in Vxlan Using Underlay: Example
10 pages
Lec-8 Multicast PIM Designated Router
PDF
No ratings yet
Lec-8 Multicast PIM Designated Router
10 pages
Lec-6 Multicast RPF (Reverse Path Forwarding)
PDF
No ratings yet
Lec-6 Multicast RPF (Reverse Path Forwarding)
14 pages
Routing and Switching Lab - 2019
PDF
No ratings yet
Routing and Switching Lab - 2019
8 pages
Ip Multicast Troubleshooting Guide
PDF
No ratings yet
Ip Multicast Troubleshooting Guide
28 pages
PIM_SSM-and-RPF
PDF
No ratings yet
PIM_SSM-and-RPF
11 pages
IPv4 Multicast Fundamentals
PDF
No ratings yet
IPv4 Multicast Fundamentals
11 pages
Multicast
PDF
No ratings yet
Multicast
98 pages
Lab 4-1 Multicast, IGMP, And PIM DM Protocols
PDF
No ratings yet
Lab 4-1 Multicast, IGMP, And PIM DM Protocols
34 pages
Multicast Pim Sparse Mode
PDF
No ratings yet
Multicast Pim Sparse Mode
14 pages
Intro To Multicast
PDF
No ratings yet
Intro To Multicast
133 pages
Intro Multicast
PDF
No ratings yet
Intro Multicast
45 pages
24 Multicast+Basics+-+PIM+Principles
PDF
No ratings yet
24 Multicast+Basics+-+PIM+Principles
43 pages
Lec-12 Multicast PIM Register Message
PDF
No ratings yet
Lec-12 Multicast PIM Register Message
8 pages
Basic Multicast Troubleshooting Tools 57
PDF
No ratings yet
Basic Multicast Troubleshooting Tools 57
15 pages
Mcast Tutorial
PDF
No ratings yet
Mcast Tutorial
70 pages
PIM Multicast Routing
PDF
No ratings yet
PIM Multicast Routing
71 pages
Tema 7. Multicast-I
PDF
No ratings yet
Tema 7. Multicast-I
54 pages
35 MultiCast
PDF
No ratings yet
35 MultiCast
14 pages
IP Multicast Training - Cisco
PDF
100% (1)
IP Multicast Training - Cisco
72 pages
Cisco Pim DM SM
PDF
No ratings yet
Cisco Pim DM SM
134 pages
Wiki Internet Protocol Multicast
PDF
No ratings yet
Wiki Internet Protocol Multicast
19 pages
Multicast PIM Auto RP
PDF
No ratings yet
Multicast PIM Auto RP
7 pages
Understanding Basics of Multicast RPF
PDF
No ratings yet
Understanding Basics of Multicast RPF
6 pages
Clase 7. Multticast-IPv4
PDF
No ratings yet
Clase 7. Multticast-IPv4
76 pages
Informacast Paging Over MPLS
PDF
No ratings yet
Informacast Paging Over MPLS
3 pages
Add06 IP - NAST3004 - E01 - 1-Multicast Basis-26p
PDF
No ratings yet
Add06 IP - NAST3004 - E01 - 1-Multicast Basis-26p
26 pages
(Document Title) : DECEMBER 31, 2021 Submitted To Dr. Sosina Mengistu
PDF
No ratings yet
(Document Title) : DECEMBER 31, 2021 Submitted To Dr. Sosina Mengistu
9 pages
IP Multicast: Advanced PIM Concepts
PDF
No ratings yet
IP Multicast: Advanced PIM Concepts
115 pages
Multicast Routing Protocols: TCP/IP Protocol Suite 1
PDF
No ratings yet
Multicast Routing Protocols: TCP/IP Protocol Suite 1
114 pages
Multicast Quick Start Configuration Guide: Document ID: 9356
PDF
No ratings yet
Multicast Quick Start Configuration Guide: Document ID: 9356
16 pages
Multicast Solutions
PDF
No ratings yet
Multicast Solutions
10 pages
Multicasting: Unicast
PDF
No ratings yet
Multicasting: Unicast
18 pages
Inter-Domain ASM Multicast Networking: Michael P. O'Connor
PDF
No ratings yet
Inter-Domain ASM Multicast Networking: Michael P. O'Connor
39 pages
Internet Protocol Multicast
PDF
No ratings yet
Internet Protocol Multicast
17 pages
Multi Casting
PDF
No ratings yet
Multi Casting
24 pages
CT3e 06 Multicast Routing 16x9
PDF
No ratings yet
CT3e 06 Multicast Routing 16x9
17 pages
Brkipm 1261 PDF
PDF
No ratings yet
Brkipm 1261 PDF
128 pages
End System Multicast: Hui Zhang
PDF
No ratings yet
End System Multicast: Hui Zhang
67 pages
Multicast Routing Short
PDF
No ratings yet
Multicast Routing Short
43 pages
Ipv4 Multicast
PDF
No ratings yet
Ipv4 Multicast
1 page
Chapter 3 - Multicasting
PDF
No ratings yet
Chapter 3 - Multicasting
22 pages
Lab 4-2 PIM SM and Static RP
PDF
No ratings yet
Lab 4-2 PIM SM and Static RP
33 pages
Best Practice
PDF
No ratings yet
Best Practice
15 pages
How Multicast Stream Is Forwarded in A Routing Domain????
PDF
No ratings yet
How Multicast Stream Is Forwarded in A Routing Domain????
13 pages
Lec-11 Multicast PIM Prune Override
PDF
No ratings yet
Lec-11 Multicast PIM Prune Override
16 pages
Introduction To IP Multicast PDF
PDF
No ratings yet
Introduction To IP Multicast PDF
121 pages
Multicast - Routing Protocol
PDF
No ratings yet
Multicast - Routing Protocol
16 pages
72-Application Control
PDF
No ratings yet
72-Application Control
2 pages
11-Upload Other Images in EVE
PDF
No ratings yet
11-Upload Other Images in EVE
6 pages
08 Installing+EVE NG
PDF
No ratings yet
08 Installing+EVE NG
10 pages
68-Web Filter Lab
PDF
No ratings yet
68-Web Filter Lab
12 pages
71-DNS Filter
PDF
No ratings yet
71-DNS Filter
8 pages
S6700 Series Switches Hardware Description
PDF
No ratings yet
S6700 Series Switches Hardware Description
579 pages
62-Introduction AAA
PDF
No ratings yet
62-Introduction AAA
4 pages
14-Cisco ISE Lab
PDF
No ratings yet
14-Cisco ISE Lab
4 pages
MA5600T (N63E-22) Quick Installation Guide 07
PDF
No ratings yet
MA5600T (N63E-22) Quick Installation Guide 07
31 pages
IS-IS Redistribution
PDF
No ratings yet
IS-IS Redistribution
12 pages
IS-IS Route Leaking
PDF
No ratings yet
IS-IS Route Leaking
20 pages
IS-IS Filtering
PDF
No ratings yet
IS-IS Filtering
12 pages
Rest Api
PDF
No ratings yet
Rest Api
13 pages
IS-IS Metric
PDF
No ratings yet
IS-IS Metric
9 pages
Cisco NetFlow
PDF
No ratings yet
Cisco NetFlow
10 pages
IS-IS Summarization
PDF
No ratings yet
IS-IS Summarization
12 pages
Lec-8 Why Do We Need QoS On LAN Switches
PDF
No ratings yet
Lec-8 Why Do We Need QoS On LAN Switches
4 pages
SNMPV 2
PDF
No ratings yet
SNMPV 2
4 pages
SNMP
PDF
No ratings yet
SNMP
12 pages
IPv6 Redistribution Between RIPNG and OSPFv3
PDF
No ratings yet
IPv6 Redistribution Between RIPNG and OSPFv3
7 pages
Stateless Autoconfiguration For IPv6
PDF
No ratings yet
Stateless Autoconfiguration For IPv6
5 pages
IPv6 Address Types
PDF
No ratings yet
IPv6 Address Types
6 pages
Ipv6 Summarization Example
PDF
No ratings yet
Ipv6 Summarization Example
4 pages
IPv6 Solicited Node Multicast Address
PDF
No ratings yet
IPv6 Solicited Node Multicast Address
5 pages
Shortening of Ipv6
PDF
No ratings yet
Shortening of Ipv6
4 pages
Cisco Press - IS-IS Network Design Solutions
PDF
No ratings yet
Cisco Press - IS-IS Network Design Solutions
352 pages