# Configure the static RP on all the switches. The configurations of SwitchB and SwitchC are
similar to the configuration of SwitchA, and are not provided here.
[SwitchA] pim
[SwitchA-pim] static-rp 1.1.1.1
[SwitchA-pim] quit
Step 5 Enable PIM GR and set the PIM GR period.
# Enable the PIM GR function on SwitchC and set the PIM GR period to 300 seconds.
[SwitchC] pim
[SwitchC-pim] graceful-restart
[SwitchC-pim] graceful-restart period 300
[SwitchC-pim] quit
Step 6 Verify the configuration.
# Multicast source 10.110.1.100 sends data to multicast group 225.1.1.1. Host A sends an IGMP
Report message to join the multicast group and it can receive multicast data from the multicast
source. Before SwitchC performs an active/standby switchover, run the display pim routing-
table command on SwitchB and SwitchC to view the multicast routing tables. The command
output is as follows:
<SwitchB> display pim routing-table
 VPN-Instance: public net
 Total 1 (*, G) entry; 1 (S, G) entry
 (*, 225.1.1.1)
     RP: 1.1.1.1
     Protocol: pim-sm, Flag: WC
     UpTime: 01:52:38
     Upstream interface: Vlanif30
 Upstream neighbor: 192.168.2.1
         RPF prime neighbor: 192.168.2.1
     Downstream interface(s) information:
     Total number of downstreams: 1
         1: Vlanif40
            Protocol: pim-sm, UpTime: 01:52:38, Expires: 00:02:53
 (10.110.1.100, 225.1.1.1)
     RP: 1.1.1.1
     Protocol: pim-sm, Flag: SPT ACT
     UpTime: 01:52:38
     Upstream interface: Vlanif30
upstream neighbor: 192.168.2.1
         RPF prime neighbor: 192.168.2.1
     Downstream interface(s) information:
     Total number of downstreams: 1
         1: Vlanif40
             Protocol: pim-sm, UpTime: 01:52:38, Expires: 00:03:03  
<SwitchC> display pim routing-table
 VPN-Instance: public net
 Total 1 (*, G) entry; 1 (S, G) entry
 (*, 225.1.1.1)
     RP: 1.1.1.1
     Protocol: pim-sm, Flag: WC
     UpTime: 01:51:24
     Upstream interface: Vlanif50
         Upstream neighbor: 192.168.4.1
         RPF prime neighbor: 192.168.4.1
     Downstream interface(s) information:
     Total number of downstreams: 1
         1: Vlanif60
             Protocol: igmp, UpTime: 01:51:24, Expires: -
 (10.110.1.100, 225.1.1.1)
Quidway S7700 Smart Routing Switch
Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
217