Procedure
Step 1 Enable the multicast function and enable IGMP and PIM-SM on the user-side interfaces.
# Enable the multicast function on SwitchA, enable IGMP and PIM-SM on VLANIF 10, and
set the IGMP version to v2. The configurations of SwitchB and SwitchC are similar to the
configuration of SwitchA, and are not provided here.
[SwitchA] multicast routing-enable
[SwitchA] interface gigabitethernet 1/0/0
[SwitchA-GigabitEthernet1/0/0] port hybrid tagged vlan 10
[SwitchA-GigabitEthernet1/0/0] quit
[SwitchA] interface vlanif 10
[SwitchA-Vlanif10] pim sm
[SwitchA-Vlanif10] quit
Step 2 Add GE1/0/0 of SwitchA to the multicast group 225.1.1.1 to enable the user hosts connected to
GE1/0/0 to receive stable multicast data sent to the multicast group 225.1.1.1.
[SwitchA] interface vlanif 10
[SwitchA-Vlanif10] igmp static-group 225.1.1.1
[SwitchA-Vlanif10] quit
Step 3 Set the maximum number of member relationships in the IGMP group on the switch directly
connected to the user hosts.
# Set the maximum number of IGMP member relationships on SwitchA to 50.
[SwitchA] igmp global limit 50
# Set the maximum number of IGMP member relationships in the public network instance to
40.
[SwitchA] igmp
[SwitchA-igmp] limit 40
[SwitchA-igmp] quit
# Set the maximum number of IGMP member relationships on VLANIF 10 matching GE1/0/0
to 30.
[SwitchA] interface vlanif 10
[SwitchA-Vlanif10] igmp limit 30 
[SwitchA-Vlanif10] quit
# The configurations of SwitchB and SwitchC are similar to the configuration of SwitchA, and
are not provided here.
Step 4 Verify the configuration.
# Run the display igmp interface command to check the configuration and running status of
IGMP on each interface of the switch. The IGMP information on VLANIF 10 of switchA is as
follows:
<SwitchA> display igmp interface vlanif 10
Interface information of VPN-Instance: public net 
vlanif10(10.110.1.1):
   IGMP is enabled
   Current IGMP version is 2
   IGMP state: up
   IGMP group policy: none
   IGMP limit: 30
   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
   Value of maximum query response time for IGMP: 10 s
   Querier for IGMP: 10.110.1.1 (this router)
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.
101