Procedure
Step 1 Enable multicast on all Switches and enable PIM-DM on all interfaces.
# Enable multicast on SwitchA and enable PIM-DM on each interface. The configurations of
SwitchB, SwitchC, and SwitchD are similar to the configuration of SwitchA, and are not
provided here.
[SwitchA] multicast routing-enable
[SwitchA] interface vlanif 100
[SwitchA-Vlanif100] pim dm
[SwitchA-Vlanif100] quit
[SwitchA] interface vlanif 101
[SwitchA-Vlanif101] pim dm
[SwitchA-Vlanif101] quit
Step 2 Configure the interfaces connected to hosts to be PIM silent and configure IGMP on the interface.
# On SwitchA, configure the vlanif interfaces connected to hosts to be PIM silent, and configure
IGMP on the interface. The configurations of SwitchB, SwitchC, and SwitchD are similar to
configuration of SwitchA, and are not provided here.
[SwitchA] interface vlanif 101
[SwitchA-Vlanif101] pim silent
[SwitchA-Vlanif101] igmp enable
[SwitchA-Vlanif101] quit
Step 3 Verify the configuration.
# Run the display pim interface command to view the configuration and operating of PIM on
the router interface. The display of the PIM configuration on SwitchD is as follows:
<SwitchD> display pim interface
 VPN-Instance: public net                                                       
 Interface           State NbrCnt HelloInt   DR-Pri     DR-Address              
 Vlanif103           up    0      30         1          10.110.5.1  (local)
 Vlanif100           up    0      30         1          192.168.1.2  (local)
 Vlanif200           up    0      30         1          192.168.2.2  (local)
 Vlanif300           up    0      30         1          192.168.3.2  (local)
# Run the display pim neighbor command to check the PIM neighbor relationship between the
Switches. The display of the PIM neighbor relationship on SwitchD is as follows:
<SwitchD> display pim neighbor
 VPN-Instance: public net
 Total Number of Neighbors = 3 
 
 Neighbor        Interface         Uptime       Expires      Dr-Priority   BFD-
Session
 192.168.1.1     Vlanif100          00:02:22    00:01:27      1               
N         
 192.168.2.1     Vlanif200          00:00:22    00:01:29      1               
N         
 192.168.3.1     Vlanif300          00:00:23    00:01:31      1               N          
# Run the display pim routing-table command to view the PIM multicast routing table on the
Switch. Assume that HostA needs to receive the information about multicast group G
225.1.1.1/24. When sending multicast packets to multicast group G, multicast source S
10.110.5.100/24 generates an SPT through flooding and the (S, G) entries exist on SwitchA and
SwitchD that are in the SPT. When HostA joins multicast group G, an (*, G) entry is generated
on SwitchA. The information displayed on SwitchB and SwitchC is similar to the information
displayed on SwitchA. The displayed information is as follows:
<SwitchA> display pim routing-table
VPN-Instance: public net
Quidway S7700 Smart Routing Switch
Configuration Guide - Multicast 5 PIM-DM (IPv4) Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
139