GE 2/0/0 VLANIF 200 192.168.3.2/24
GE 3/0/0 VLANIF 101 10.110.5.1/24
SwitchC GE 1/0/0 VLANIF 100 192.168.1.2/24
GE 2/0/0 VLANIF 102 10.110.2.1/24
GE 3/0/0 VLANIF 300 192.168.2.2/24
 
Configuration Roadmap
The configuration roadmap is as follows:
1. Configure the IP addresses of interfaces and the unicast routing protocol.
2. Enable the multicast function on all Switches, enable PIM-SM on all interfaces, and enable
IGMP on the interfaces connected to hosts.
3. Configure the same static RP on each Switch.
4. Perform the SPT switchover on SwitchC.
Data Preparation
To complete the configuration, you need the following data:
l Address of multicast source S: 10.110.5.100/24
l Address of multicast group G: 225.1.1.1/24
l Version of IGMP running between SwitchC and the leaf network: 2
Procedure
Step 1 Configure the IP addresses of interfaces and the unicast routing protocol on each Switch.
# Based on Figure 6-3, configure the IP address and mask of each interface on Switches; connect
the Switches through OSPF to ensure that SwitchA, SwitchB, and SwitchC can connect to each
other at the network layer and can dynamically update routes through the unicast routing
protocol.
For details on how to configure IP addresses of interfaces, see IP Addresses Configuration in
the Quidway S7700 Smart Routing Switch  Configuration Guide - IP Service. For details on how
configure OSPF, see OSPF Configuration in the Quidway S7700 Smart Routing Switch
Configuration Guide - IP Routing.
Step 2 Enable multicast on all Switches, PIM-SM on all interfaces, and IGMP on the interfaces
connected to hosts.
# Enable multicast on all Switches, PIM-SM on all interfaces, and IGMP on the interface through
which SwitchC is connected to the leaf network. The configurations of SwitchA and SwitchB
are similar to the configuration of SwitchC, and are not provided here.
[SwitchC] multicast routing-enable
[SwitchC] interface vlanif 102
[SwitchC-Vlanif102] pim sm
[SwitchC-Vlanif102] igmp enable
[SwitchC-Vlanif102] igmp version 2
[SwitchC-Vlanif102] quit
[SwitchC] interface vlanif 300
[SwitchC-Vlanif300] pim sm
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.
207