Procedure
Step 1 Configure the IP addresses of interfaces and the unicast routing protocol on each Switch.
Configure the IP address and mask of each interface according to Figure 4-1. Configure OSPF
to ensure the communication between SwitchA, SwitchB, and SwitchC on the network layer,
and to ensure the dynamic update through the unicast routing protocol.
For details on how to configure IP addresses of interfaces, see OSPF Configuration in the
Quidway S7700 Smart Routing Switch  Configuration Guide - IP Service. For details on how to
configure OSPF, see IP Addresses Configuration in the Quidway S7700 Smart Routing Switch
Configuration Guide - IP Routing.
Step 2 Enable multicast on all Switches and PIM-SM on all interfaces.
# Enable multicast on SwitchA and enable PIM-SM on all interfaces. The configurations of
SwitchB and SwitchC are similar to the configuration of SwitchA, and are not provided here.
[SwitchA] multicast routing-enable
[SwitchA] interface vlanif 10
[SwitchA-Vlanif10] pim sm
[SwitchA-Vlanif10] quit
[SwitchA] interface vlanif 11
[SwitchA-Vlanif11] pim sm
[SwitchA-Vlanif11] quit
Step 3 Enable IGMP on the interfaces connected to hosts.
# Enable IGMP on VLANIF 10 on SwitchA and configure the IGMP version as IGMPv2. The
configurations of SwitchB and SwitchC are similar to the configuration of SwitchA, and are not
provided here.
NOTE
By default, IGMPv2 is used and you do not need to set the IGMP version here. To use other IGMP versions,
run the igmp version command to set the version.
[SwitchA] interface vlanif 10
[SwitchA-Vlanif10] igmp enable
[SwitchA-Vlanif10] igmp version 2
[SwitchA-Vlanif10] quit
Step 4 Add VLANIF 10 on SwitchA to the multicast group 225.1.1.1 statically. In this manner, the
hosts connected to VLANIF 10 can steadily receive the multicast data sent to the multicast group
225.1.1.1.
[SwitchA] interface vlanif 10
[SwitchA-Vlanif10] igmp static-group 225.1.1.1
Step 5 Verify the configuration.
# Run the display igmp interface command. You can check the configuration and running status
of IGMP on each interface. For example, the information about IGMP on VLANIF 10 of
SwitchA is as follows:
<SwitchA> display igmp interface vlanif 10
Interface information of VPN-Instance: public net
Vlanif 10(10.110.1.1):
  IGMP is enabled
  Current IGMP version is 2
  IGMP state: up 
  IGMP group policy: none
  IGMP limit: - 
  Value of query interval for IGMP (negotiated): -
  Value of query interval for IGMP (configured): 60 s 
  Value of other querier timeout for IGMP: 0 s 
Quidway S7700 Smart Routing Switch
Configuration Guide - Multicast 4 IGMP Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
91