Configuring Basic Functions of IGMP Snooping 559
Configuring Basic 
Functions of IGMP 
Snooping
Configuration
Prerequisites
Before configuring the basic functions of IGMP Snooping, complete the following 
task:
■ Configure the corresponding VLANs.
Before configuring the basic functions of IGMP Snooping, prepare the following 
data:
■ Version of IGMP Snooping.
Enabling IGMP Snooping Follow these steps to enable IGMP Snooping:
n
■ IGMP Snooping must be enabled globally before it can be enabled in a VLAN.
■ After enabling IGMP Snooping in a VLAN, you cannot enable IGMP and/or PIM 
on the corresponding VLAN interface, and vice versa.
■ When you enable IGMP Snooping in a specified VLAN, this function takes 
effect for Ethernet ports in this VLAN only.
Configuring the Version
of IGMP Snooping
By configuring an IGMP Snooping version, you actually configure the version of 
IGMP messages that IGMP Snooping can process.
■ IGMP Snooping version 2 can process IGMPv1 and IGMPv2 messages, but not 
IGMPv3 messages, which will be flooded in the VLAN.
■ IGMP Snooping version 3 can process IGMPv1, IGMPv2 and IGMPv3 messages.
Follow these steps to configure the version of IGMP Snooping:
c
CAUTION: If you switch IGMP Snooping from version 3 to version 2, the system 
will clear all IGMP Snooping forwarding entries from dynamic joins, and will
To do…  Use the command…  Remarks 
Enter system view  system-view - 
Enable IGMP Snooping 
globally and enter 
IGMP-Snooping view 
igmp-snooping Required
Disabled by default 
Return to system view  quit - 
Enter VLAN view  vlan vlan-id - 
Enable IGMP Snooping in the 
VLAN 
igmp-snooping enable Required
Disabled by default
To do…  Use the command…  Remarks 
Enter system view  system-view - 
Enter VLAN view  vlan vlan-id - 
Configure the version of IGMP 
Snooping 
igmp-snooping version 
version-number 
Optional
Version 2 by default