[SwitchC] multicast routing-enable
[SwitchC] interface vlanif 20
[SwitchC-Vlanif20] pim dm
[SwitchC-Vlanif20] quit
[SwitchC] interface vlanif 12
[SwitchC-Vlanif12] pim dm
[SwitchC-Vlanif12] igmp enable
[SwitchC-Vlanif12] quit
# Source 1 (10.1.3.2/24) and Source 2 (10.1.5.2/24) send multicast data to the multicast group
G (225.1.1.1). The receiver joins multicast group G. Therefore, the receiver can receive the
multicast data sent by Source1, but cannot receive the multicast data sent by Source2.
# Run the display multicast rpf-info 10.1.5.2 command on Switch B and Switch C. If no
information is displayed, it indicates that Switch B and Switch C have no RPF route to Source2.
Step 3 Configure the static multicast route.
# Configure a static multicast RPF route on Switch B, and configure Switch A as the RPF
neighbor.
[SwitchB] ip rpf-route-static 10.1.5.0 255.255.255.0 10.1.4.2
# Configure a static multicast RPF route on Switch C, and configure Switch B as the RPF
neighbor.
[SwitchC] ip rpf-route-static 10.1.5.0 255.255.255.0 10.1.2.2
Step 4 Verify the configuration.
# Run the display multicast rpf-info 10.1.5.2 command on Switch B and Switch C to view the
RPF information of Source2. The RPF information is as follows:
[SwitchB] display multicast rpf-info 10.1.5.2
VPN-Instance: public net
RPF information about: 10.1.5.2
     RPF interface: vlanif40, RPF neighbor: 10.1.4.2
     Referenced route/mask: 10.1.5.0/24
     Referenced route type: mstatic
     Route selecting rule: preference-preferred
     Load splitting rule: disable 
[SwitchC] display multicast rpf-info 10.1.5.2
VPN-Instance: public net
RPF information about source 10.1.5.2:
     RPF interface: vlanif20, RPF neighbor: 10.1.2.2
     Referenced route/mask: 10.1.5.0/24
     Referenced route type: mstatic
     Route selection rule: preference-preferred
     Load splitting rule: disable 
# Run the display pim routing-table command on Switch C to view the routing table. Switch
C has the multicast entries of Source2. The receiver can receive the multicast data from Source2.
[SwitchC] display pim routing-table
VPN-Instance: public net
 Total 1 (*, G) entry; 2 (S, G) entry
 
 (*, 225.1.1.1)
     Protocol: pim-dm, Flag: WC
     UpTime: 03:54:19
     Upstream interface: NULL
         Upstream neighbor: NULL
         RPF prime neighbor: NULL
     Downstream interface(s) information:
     Total number of downstreams: 1
Quidway S7700 Smart Routing Switch
Configuration Guide - Multicast 9 IPv4 Multicast Routing Management
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
345