The graceful-restart command enables PIM GR.
The undo graceful-restart command disables PIM GR.
By default, PIM GR is not enabled.
Usage Scenario
If a stack is used on the PIM-SM network, after an active/standby switchover occurs in the stack system, multicast data transmission is interrupted because the new master device does not have PIM forwarding entries.
PIM GR enables the system to back up join and prune information in PIM routing entries to the new master device when an active/standby switchover is performed in the system. This ensures normal multicast data forwarding during restoration of the multicast distribution tree. For details about stack configuration, see Stack Configuration in the S2720, S5700, and S6700 V200R019C10 Configuration Guide - Device Management.
Prerequisites
IP multicast routing has been enabled using the multicast routing-enable command.
Precautions
At least one switch interface must have PIM-SM enabled for the graceful-restart command to take effect.