Hello friends! please kindly the process/meaing of PIM DM in details?
Recommended answerHi, @chantha!
https://support.huawei.com/hedex/hdx.do?docid=EDOC1100168821&id=EN-US_CONCEPT_0172354662&lang=en.
View more
|
|
|
Hello, PIM-DMFundamentalsPIM-DM forwards multicast packets in push mode and is used on small-scale networks with densely distributed multicast group members. PIM-DM assumes that each network segment has multicast group members. When a multicast source sends multicast packets, PIM-DM floods all PIM routers on the network with the multicast packets and prunes the branches that do not have multicast group members. Through periodic flooding and pruning, PIM-DM creates and maintains a unidirectional loop-free SPT that connects the multicast source and group members. If a new member joins a multicast group on the network segment connected to a leaf router on a pruned branch, the router can initiate the graft mechanism before starting new flooding and prune. The pruned branch turns into a forwarding branch. PIM-DM uses neighbor discovery, flood, prune, graft, assert, and state refresh mechanisms. The flood, prune, and graft mechanisms are used to establish an SPT. For details about all of these six mechanisms, see the sections below. Neighbor DiscoveryPIM routers send Hello messages through PIM-enabled interfaces. In a Hello message:
Hello messages are used to discover PIM neighbors, adjust PIM protocol parameters, and maintain neighbor relationships.
FloodingOn a PIM-DM network, multicast packets from a multicast source are flooded throughout the entire network. When a PIM router receives a multicast packet, it uses unicast routing information to perform an RPF check. If the packet passes the RPF check, the router creates an (S, G) entry, in which the downstream interface list contains all the interfaces connected to PIM neighbors, except the interface connected to the upstream router. The router then forwards subsequent multicast packets through each downstream interface. When the multicast packets reach a leaf router, the leaf router processes the packets as follows:
Multicast packets are sometimes flooded to a shared network segment with multiple PIM routers. If the packets pass the RPF check on these PIM routers, multiple copies of multicast packets are forwarded to this network segment. These PIM routers will need to initiate the assert mechanism. In Figure 5-2, RouterA, RouterB, and RouterC on the PIM-DM network establish PIM neighbor relationships by exchanging Hello messages. HostA joins multicast group G using Internet Group Management Protocol (IGMP) running between RouterA and HostA, but HostB does not join a multicast group. The flooding process is as follows:
PruningWhen a PIM router receives a multicast packet, it performs an RPF check on the packet. If the packet passes the RPF check but the downstream network segment does not need to receive the multicast packet, the PIM router sends a Prune message to the upstream router. After receiving the Prune message, the upstream router deletes the downstream interface from the downstream interface list of the created (S, G) entry and no longer forwards multicast packets to the downstream interface. A leaf router initiates the prune mechanism, and the Prune message is sent upstream by hop along the MDT to prune the network segment with no group members. The PIM router starts a prune timer for the pruned downstream interface. The interface resumes forwarding multicast packets after the timer expires. Subsequently, multicast packets are flooded throughout the entire network and new group members can receive multicast packets. If a leaf router connected to a network segment that has no group members receives the flooded multicast packets, the leaf router initiates the prune mechanism. PIM-DM updates the SPT periodically through the process of periodic flooding and pruning. After a downstream interface of a leaf router is pruned, the leaf router will initiate either the graft or state refresh mechanism:
In Figure 5-3, no group member connects to RouterB, so RouterB sends a Prune message to the upstream router. The prune process is as follows:
GraftPIM-DM uses the graft mechanism to enable new group members on a pruned network segment to rapidly obtain multicast data. IGMP helps a leaf router learn whether new group members have joined a multicast group on the connected network segment. If a leaf router learns that new group members have joined multicast group G, the leaf router sends a Graft message to the upstream router. The message requests the upstream router to resume multicast packet forwarding on the downstream interface and to add the downstream interface to the downstream interface list of the (S, G) entry. A graft process is initiated by a leaf router and ends at the upstream router that receives the multicast packets. In Figure 5-4, RouterC no longer sends multicast packets to RouterB after the prune process ends. When HostB joins multicast group G, RouterB initiates the graft mechanism. The graft process shown in this example is as follows:
State RefreshTo prevent a pruned interface from resuming multicast packet forwarding after the prune timer expires, the first-hop router nearest to the multicast source periodically sends a State-Refresh message throughout the entire PIM-DM network. PIM routers receiving the State-Refresh message refresh the prune timer state. If no group member joins a multicast group on the network segment connected to a leaf router in a pruned branch, the upstream interface connected to this router remains suppressed. In Figure 5-5, RouterC's interface connected to RouterB is pruned, and no hosts under RouterB join a group. Figure 5-5 State refresh mechanism The state refresh process shown in this example is as follows:
AssertWhen multicast packets pass the RPF check on multiple PIM routers connecting to a network segment, the assert mechanism is required to ensure that only one PIM router forwards the multicast packets to the network segment. When a PIM router receives a multicast packet that is the same as the multicast packet it sends to other neighbors, the PIM router sends an Assert message with the destination address 224.0.0.13 to all other PIM routers on the same network segment. The PIM routers carry out assert election by comparing their parameters to those carried in the received Assert message. The election rules are as follows:
A PIM router performs the following operations based on assert election results:
After an assert election is complete, only one downstream interface exists on the shared network segment and it transmits only one copy of multicast packets. All assert losers periodically resume multicast packet forwarding, causing an assert election each time. In Figure 5-6, RouterB and RouterC receive multicast packets from the multicast source. The multicast packets from RouterA pass RPF checks on RouterB and RouterC, so both routers create (S, G) entries. Downstream interfaces RouterB and RouterC are connected to the same network segment, so they both send multicast data to this network segment. The assert process shown in this example is as follows:
Detail https://support.huawei.com/enterprise/en/doc/EDOC1000178169/39923867/pim-dm Thanks
View more
|
|
|
Hello friend! hope below can help u:
Thanks!
View more
|
|
|
Hi, @chantha!
https://support.huawei.com/hedex/hdx.do?docid=EDOC1100168821&id=EN-US_CONCEPT_0172354662&lang=en.
View more
|
|
Contact Us: e_online@huawei.com Copyright © 2022 Huawei Technologies Co., Ltd. All rights reserved.