Multicast: Difference between revisions
→Sparse-dense-mode
(→Ranges) |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 18:
* Host on LAN signal the router to join the multicast group.
* Two kind of request
(S,G) - want to join particular source sending the multicast group - IGMP version 3 support both (S, G and (*,G)
* IGMP get enabled when the IP PIM [Dense mode, Sparse mode, Sparse-DENSE-mode] is enabled.
Line 25 ⟶ 26:
* By default IGMP version 2 is enabled.
* IP
*
ip igmp static group
= PIM =
Line 58 ⟶ 60:
* Sparse mode uses both source based trees and shortest path trees
* RP needs to know the receivers and senders.
* DR on lan segment send (S,G) register mess age to and RP in turns reply register stop process and receivers on
* So pim join will traverse from receiver till RP every device will have (*,G) entry and from source till RP every device will have (S,G) entry.
* Once RP knows about sender and receiver it will send (S,G) join request back to source and source would start sending the multicast traffic to RP then to receiver.
* Then its up to the last hop router on receiver side for the optimation process weather it want to join directly to source using SPT bypassing RP.
* Note - When we do debug only process switched traffic is debug if we want to debug the data plane traffic then we need to disable cef (no ip route cache),if we change the unicast routing it will also change the multicasting routing, To change the unicast routing we can also use Ip mroute command
* Source based tree - tree is build based on shortest path from receiver till sender.
* Shared tree - tree from sender to RP and then RP till receiver.
* To check RP configured on each transient router
sh ip pim rp mapping
* RP can be assigned statically (ip pim rp address) or dynamically (auto RP and BSR)
Line 75 ⟶ 77:
* 224.0.1.40 - chooses the RP and advertised to rest of routers for RP information.
* To stay on shared tree rather than SPT
ip pm spt-threshold infinity
== Sparse-dense-mode ==
Line 84 ⟶ 87:
* Once the multicast routing table is populated router always prefer (S,G) over (*,G) and in multicast routing table we have incoming interfaces and OIL for outgoing interface list if the RPF check passes multicast traffic is send across all interfaces in OIL.
* On multicast router
sh ip igmp group
* To determine which router is IGMP queried router
sh ip igmp interface EO
* We can manually tune the query interval and query max response time
* IOS command to
ip igmp version 1/2
* Test commands for IGMP
|