To globally enable IGMP (Internet Group Management Protocol) snooping on the switch enter Global Configuration mode and use the set igmp command, for example:
console(config) #set igmp
To enable IGMP snooping on an interface, enter Interface Configuration mode and use the set igmp command, for example:
console(config) #interface 1/0/1console(config-if-1/0/1) #set igmp
To enable IGMP snooping on a VLAN, enter VLAN Config mode and use the set igmp vlan_id command. The following example enables IGMP snooping on VLAN 10:
console #vlan databaseconsole(config-vlan) #ip igmp 10