186 CHAPTER 12: IGMP SNOOPING COMMANDS
specific VLAN. To disable IGMP snooping on a VLAN interface, use the no
form of this command.
Syntax
ip igmp snooping
no ip igmp snooping
Default Configuration
IGMP snooping is disabled .
Command Mode
Interface Configuration (VLAN) mode
User Guidelines
IGMP snooping can only be enabled on static VLANs. It must not be
enabled on Private VLANs or their community VLANs.
Example
The following example enables IGMP snooping on VLAN 2.
ip igmp snooping mrouter learn-pim-dvmrp
The ip igmp snooping mrouter learn-pim-dvmrp Interface
Configuration (VLAN) mode command enables automatic learning of
multicast device ports in the context of a specific VLAN. To remove
automatic learning of multicast device ports, use the no form of this
command.
Syntax
ip igmp snooping mrouter learn-pim-dvmrp
no ip igmp snooping mrouter learn-pim-dvmrp
Default Configuration
Automatic learning of multicast device ports is enabled.
Command Mode
Interface Configuration (VLAN) mode
Console(config)#
interface vlan
2
Console(config-if)#
ip igmp snooping