Specifying the IGMP snooping version

The IGMP snooping version can be either 2 (IGMPv2) or 3 (IGMPv3). The default is 3. IGMPv2 supports filtering based on groups. IGMPv3 is more advanced and includes filtering based on source and groups.

Prerequisites

You must be in the VLAN configuration context, as indicated by the switch(config-vlan)# prompt.

Procedure
Specify the IGMP snooping version for a VLAN using the following command.

ip igmp snooping version <VERSION>

For example, the following command sets the IGMP snooping version to 2 on VLAN 2:
switch# configure terminal
switch(config)# vlan 2
switch(config-vlan)# ip igmp snooping version 2