Enabling or disabling IGMP snooping

IGMP snooping is disabled by default. The default behavior is to flood multicast traffic in the VLAN. Use the following to enable IGMP snooping.


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

The VLAN has to be configured and up.

Enable IGMP snooping on a VLAN using the following command.

ip igmp snooping {enable | disable}

For example, the following command enables IGMP snooping on VLAN 2:
switch(config)# vlan 2
switch(config-vlan)# ip igmp snooping enable

Use the no command to disable IGMP snooping on a VLAN.