No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


CLI-based Configuration Guide - IP Multicast

AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R007

This document describes the principles and configurations of IP multicast, and provides configuration examples.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).


Graceful restart (GR) is a high availability (HA) technology that ensures nonstop forwarding during a protocol restart. PIM GR is a multicast protocol GR technology that ensures normal multicast forwarding during an active/standby switchover on a device with double control units.

Currently, PIM GR applies only to PIM-SM (ASM model) and PIM-SM (SSM model). PIM-DM does not support PIM GR.


Only the AR3200 series routers support PIM GR.


PIM GR depends on GR of a unicast routing protocol. During an active/standby switchover, the PIM protocol on the new active control unit needs to learn join states from downstream neighbors and learn group memberships from IGMP hosts. It completes the learning by performing the following operations:

  • Recalculates PIM multicast routing entries.

  • Maintains the join state of downstream neighbors.

  • Updates multicast routing entries of the forwarding plane.

PIM GR enables a device to quickly restore PIM routing entries on the new active main control unit and update multicast forwarding entries on interface cards quickly after an active/standby switchover. This function minimizes impact of the active/standby switchover on multicast traffic forwarding.

Working Process

Figure 4-16 shows the PIM GR process on RouterA.

Figure 4-16  PIM GR

PIM GR depends on GR of a unicast routing protocol. A PIM GR process goes three phases: GR_START, GR_SYNC, and GR_END.


  1. After an active/standby switchover occurs on RouterA, the PIM protocol starts the GR timer, and PIM GR enters the GR_START phase. Unicast GR begins at the same time.

  2. The PIM protocol sends Hello messages carrying new Generation IDs to all interfaces enabled with PIM-SM.

  3. When RouterB and RouterD, reverse path forwarding (RPF) neighbors of RouterA, discover that the Generation ID of RouterA has changed, they send new Join/Prune messages to RouterA.

  4. If dynamic RPs are used and the neighbors receive Hello messages with the changed Generation ID, the neighbors send a BSR message to RouterA to restore BSR information and RP information on RouterA.

  5. After RouterA receives a Join/Prune message from RouterD or RouterB, it creates a PIM routing entry in an empty inbound interface table to record the Join status of RouterD or RouterB.

    During this period, the entries in the forwarding module remain unchanged and forwarding of multicast traffic continues.


After unicast GR is complete, PIM GR enters the GR_SYNC phase. The PIM protocol builds a multicast distribution tree (MDT) based on unicast routing information, restores the inbound interface of the PIM routing entry, and updates the Join queue to the source or the Rendezvous Point (RP). The PIM protocol then instructs the multicast forwarding module to update the forwarding table.


After the GR timer expires, the PIM protocol enters the GR_END phase and notifies the multicast forwarding module. The multicast forwarding module then ages the forwarding entries that were not updated during GR.

Updated: 2019-06-12

Document ID: EDOC1000097181

Views: 21518

Downloads: 403

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next